forked from smdogroup/tacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeta.yaml
113 lines (98 loc) · 2.42 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
{% set name = "tacs" %}
{% set version = environ.get('GIT_DESCRIBE_TAG', '') %}
{% if version.startswith('v') %}
{% set version = version[1:] %}
{% endif %}
{% set build = 0 %}
{% set mpi = mpi or 'openmpi' %}
{% if scalar == "real" %}
{% set build = build + 100 %}
{% endif %}
package:
name: "tacs"
version: "{{ version }}"
source:
git_url: https://github.com/smdogroup/tacs.git
build:
number: {{ build }}
skip: true # [py<=37]
string: py{{ CONDA_PY }}_{{ scalar }}_h{{ PKG_HASH }}_{{ build }}
track_features:
- tacs_complex # [scalar == "complex"]
requirements:
build:
- python {{ python }}
- numpy 1.18 # [py==38]
- numpy 1.19 # [py==39]
- numpy 1.22 # [py==310]
- numpy 1.23 # [py==311]
- {{ mpi }}
- openmpi-mpicxx # [mpi == "openmpi"]
- mpich-mpicxx # [mpi == "mpich"]
- {{ compiler('cxx') }}
- make
- mpi4py
- cython >=0.29,<3.0
- setuptools
host:
- python {{ python }}
- pip
- numpy 1.18 # [py==38]
- numpy 1.19 # [py==39]
- numpy 1.22 # [py==310]
- numpy 1.23 # [py==311]
- {{ mpi }}
- openmpi-mpicxx # [mpi == "openmpi"]
- mpich-mpicxx # [mpi == "mpich"]
- libopenblas
- lapack
- metis >=5.1
- tecio
- mpi4py
- cython >=0.29,<3.0
- setuptools
run:
- python
- numpy >=1.18.5,<2.0.a0 # [py==38]
- numpy >=1.19.5,<2.0.a0 # [py==39]
- numpy >=1.22.0,<2.0.a0 # [py==310]
- numpy >=1.23.0,<2.0.a0 # [py==311]
- scipy
- {{ mpi }}
- openmpi-mpicxx # [mpi == "openmpi"]
- mpich-mpicxx # [mpi == "mpich"]
- libopenblas
- lapack
- metis >=5.1
- mpi4py
- pynastran
- numba
test:
requires:
- testflo
source_files:
- tests
imports:
- tacs
- tacs.pytacs
- tacs.problems
- tacs.constraints
- tacs.TACS
- tacs.elements
- tacs.functions
- tacs.constitutive
#- tacs.mphys # Needs OpenMDAO/MPHYS conda packages
commands:
- |
- test -f $PREFIX/bin/f5tovtk
- test -f $PREFIX/bin/f5totec
- export OMPI_MCA_btl=self,tcp
- export OMPI_MCA_rmaps_base_oversubscribe=1
- rm tests/integration_tests/test_mphys*
- testflo --pre_announce --timeout 120 tests/ # [linux64]
about:
home: https://github.com/smdogroup/tacs
license: Apache
license_family: APACHE
summary: Parallel finite-element analysis package
doc_url: https://smdogroup.github.io/tacs/