-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
meta.yaml
117 lines (108 loc) · 3.31 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{% set name = "impactx" %}
{% set version = "24.10" %}
{% set build = 0 %}
{% set sha256 = "3ace3fc779c71cbb95b00a93e5040591689ac7466daa464f61d2df014ecb18d1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/ECP-WarpX/impactx/archive/{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: {{ build }}
skip: true # [python_impl == 'pypy']
run_exports:
# releases are not (yet) compatible
- impactx {{ version }}
requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- pybind11 # [build_platform != target_platform]
- {{ compiler('c') }}
- {{ stdlib("c") }}
- {{ compiler('cxx') }}
- clang # [win]
- cmake
- lld # [win]
- libgomp # [linux]
- llvm-openmp # [osx or win]
- make # [unix]
- ninja # [win]
- pkg-config
host:
- amrex ={{ version }}
- fftw
# https://github.com/conda-forge/scipy-feedstock/issues/257#issuecomment-1792217861
- libblas =*=*blis # [win]
- numpy
- openpmd-api
- pip
- pyamrex ={{ version }}
- pybind11
- pybind11-abi
- python
- setuptools
- wheel
run:
# see requirements.txt
# https://github.com/conda-forge/scipy-feedstock/issues/257#issuecomment-1792217861
- libblas =*=*blis # [win]
- python
- pyamrex ={{ version }}
- quantiphy
# see src/python/impactx/dashboard/requirements.txt
- pandas
- plotly
- trame
- trame-matplotlib
- trame-plotly
- trame-router
- trame-vuetify
- trame-xterm
test:
requires:
- python
- pytest
# ctest, see examples/requirements.txt
- matplotlib # [build_platform == target_platform]
- openpmd-api # [build_platform == target_platform]
- pandas # [build_platform == target_platform]
- pytest # [build_platform == target_platform]
- scipy # [build_platform == target_platform]
# https://github.com/conda-forge/scipy-feedstock/issues/257#issuecomment-1792217861
- libblas =*=*blis # [build_platform == target_platform and win]
source_files:
- examples/fodo/input_fodo.in
- examples/fodo/run_fodo.py
- tests/python/
- examples/chicane/input_chicane_csr.in
files:
- test.sh # [unix]
- test.bat # [win]
imports:
- impactx
commands:
- test -f ${PREFIX}/bin/impactx.NOMPI.OMP.DP.OPMD # [unix]
- if not exist %LIBRARY_PREFIX%\bin\impactx.NOMPI.OMP.DP.OPMD.exe exit 1 # [win]
# smoke tests: execute
- ./test.sh # [unix and build_platform == target_platform]
- call test.bat # [win]
about:
home: https://impactx.readthedocs.io
license: BSD-3-Clause-LBNL
license_family: BSD
license_file: LICENSE.txt
summary: ImpactX is an s-based beam dynamics code for particle accelerator research & design.
description: |
ImpactX is an s-based beam dynamics code for particle accelerator research & design.
It's the next generation of the IMPACT-Z code.
doc_url: https://impactx.readthedocs.io
dev_url: https://github.com/ECP-WarpX/impactx
extra:
recipe-maintainers:
- ax3l
- cemitch99
- EZoni
- n01r
- RemiLehe