-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmeta.yaml
89 lines (80 loc) · 2.25 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
{% set name = "abinit" %}
{% set version = "9.6.2" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/abinit/abinit/archive/refs/tags/{{ version }}.tar.gz
sha256: 5fba537bac99f53ae02781f1f374247503241b80ce329dc51fe2e986b13198f0
patches:
- optim.patch
build:
number: 0
skip: true # [not linux]
{% if mpi != 'nompi' %}
{% set mpi_prefix = "mpi_" + mpi %}
{% else %}
{% set mpi_prefix = "nompi" %}
{% endif %}
requirements:
build:
- m4
- autoconf
- automake
- make
- libtool
- openmpi-mpifort # [mpi == 'openmpi']
- {{ compiler('fortran') }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- {{ mpi }}
- libblas
- liblapack
- libxc <5.0
- zlib
- _openmp_mutex
# need to list libnetcdf and netcdf-fortran twice to get version
# pinning from conda_build_config and build pinning from {{ mpi_prefix }}
- fftw
- fftw * {{ mpi_prefix }}_* # [mpi != 'nompi']
- hdf5
- hdf5 * {{ mpi_prefix }}_* # [mpi != 'nompi']
- libnetcdf
- libnetcdf * {{ mpi_prefix }}_* # [mpi != 'nompi']
- netcdf-fortran
- netcdf-fortran * {{ mpi_prefix }}_* # [mpi != 'nompi']
run:
- {{ mpi }}
- libxc <5.0
- fftw * {{ mpi_prefix }}_* # [mpi != 'nompi']
- hdf5 * {{ mpi_prefix }}_* # [mpi != 'nompi']
- libnetcdf * {{ mpi_prefix }}_* # [mpi != 'nompi']
- netcdf-fortran * {{ mpi_prefix }}_* # [mpi != 'nompi']
test:
files:
- 01h.pspgth
- tbase1_1.files
- tbase1_1.in
commands:
- abinit -b
- abinit tbase1_1.in
about:
home: https://www.abinit.org
license: GPL-3.0-only
license_family: GPL
license_file: COPYING
summary: ABINIT is an atomic-scale simulation software suite.
description: |
ABINIT is a software suite to calculate the optical, mechanical,
vibrational, and other observable properties of materials. Starting
from the quantum equations of density functional theory, you can
build up to advanced applications with perturbation theories based on
DFT, and many-body Green's functions (GW and DMFT) ...
doc_url: https://wiki.abinit.org/doku.php
dev_url: https://github.com/abinit/abinit/
extra:
recipe-maintainers:
- jan-janssen
- gmatteo
- jmbeuken