Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{2023.06}[foss/2021a] Yambo V5.1.1 #164

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions Yambo-5.1.1-foss-2021a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
easyblock = 'MakeCp'

name = 'Yambo'
version = '5.1.1'

homepage = 'http://www.yambo-code.org'
description = """Yambo is a FORTRAN/C code for Many-Body calculations in solid state and molecular physics.
Yambo relies on the Kohn-Sham wavefunctions generated by two DFT public codes: abinit, and PWscf."""

toolchain = {'name': 'foss', 'version': '2021a'}

local_copy_cmd_pattern = 'cp %s yambo-%(version)s/lib/archive/'

source_urls = ['https://github.com/yambo-code/yambo/archive/refs/tags/']
sources = [
'%(version)s.tar.gz', # Yambo
{
'source_urls': ['https://github.com/yambo-code/yambo-libraries/archive/'],
'filename': '0.0.2.tar.gz',
'extract_cmd': 'tar --strip-components=1 -xzf %s -C yambo-%(version)s/lib/yambo/',
},
{
'source_urls': ['https://github.com/yambo-code/yambo/files/962173/'],
'filename': 'iotk-y1.2.2.tar.gz',
'extract_cmd': local_copy_cmd_pattern,
},
]
checksums = [
{'5.1.1.tar.gz': '09e17ed9036140e82a98ab48f21e8458'},
{'0.0.2.tar.gz': '63866d8b0bc970822b4634642a2af042'},
{'iotk-y1.2.2.tar.gz': '209f20a22a82a7eda2b7a3451293f97c'},
]


dependencies = [
('HDF5', '1.10.7'),
('netCDF', '4.8.0'),
('netCDF-Fortran', '4.5.3'),
('libxc', '5.1.5'),
('FFTW', '3.3.9'),
]



with_configure = True
configopts = '--enable-hdf5-par-io --enable-mpi --enable-open-mp '
configopts += '--enable-msgs-comps --enable-time-profile --enable-memory-profile '
configopts += '--with-blas-libs="-lflexiblas" '
configopts += '--with-lapack-libs="-lflexiblas" '
configopts += '--with-fft-path="$EBROOTFFTW" '
configopts += '--with-netcdf-path="$EBROOTNETCDF" '
configopts += '--with-netcdff-path="$EBROOTNETCDFMINFORTRAN" '
configopts += '--with-hdf5-path="$EBROOTHDF5" '
configopts += '--with-libxc-path="$EBROOTLIBXC" '
configopts += 'CPP="x86_64-pc-linux-gnu-gcc -E" '
configopts += 'CPPFLAGS="-P" '
parallel = 4
buildopts = 'all'
cleanupoldinstall = False
files_to_copy = [
(['%(installdir)s.*/bin/*'], '%(builddir)s/bin'),
(['%(builddir)s/%(namelower)s-%(version)s/lib/external/gfortran/mpifort/bin/*'], '%(builddir)s/bin'),
(['%(builddir)s/bin/*'], 'bin')
]

sanity_check_paths = {
'files': ['bin/' + x for x in ['a2y', 'p2y', 'yambo', 'yambo_ph', 'ypp', 'ypp_ph',
'iotk', 'iotk.x']],
'dirs': []
}

moduleclass = 'phys'
1 change: 1 addition & 0 deletions eessi-2023.06-eb-4.7.2-2021a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ easyconfigs:
options:
from-pr: 18446
- WRF-4.3-foss-2021a-dmpar.eb
- Yambo-5.1.1-foss-2021a.eb
Loading