mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

new file: g/GDRCopy/GDRCopy-2.1-GCCcore-10.2.0-CUDA-11.6.0.eb new file: h/hwloc/hwloc-1.11.6-GCCcore-12.2.0.eb new file: m/MVAPICH2/MVAPICH2-2.2-GCC-9.3.0.eb new file: o/OpenMPI/OpenMPI-2.1.0-GCC-12.2.0.eb modified: o/OpenMX/OpenMX-3.9-foss-2022b.eb modified: u/UCX/UCX-1.12.0-GCC-10.2.0-CUDA-11.6.0.eb
65 lines
2.0 KiB
Plaintext
65 lines
2.0 KiB
Plaintext
# IT4Innovations
|
|
# LK 2023
|
|
|
|
name = 'OpenMX'
|
|
version = '3.9'
|
|
|
|
easyblock = 'MakeCp'
|
|
|
|
homepage = 'http://www.openmx-square.org/index.html'
|
|
description = """OpenMX (Open source package for Material eXplorer) is a software
|
|
package for nano-scale material simulations based on density functional
|
|
theories (DFT), norm-conserving pseudopotentials, and pseudo-atomic
|
|
localized basis functions test.
|
|
"""
|
|
|
|
toolchain = {'name': 'foss', 'version': '2022b'}
|
|
toolchainopts = {'usempi': True, 'openmp': True}
|
|
|
|
source_urls = [
|
|
'https://www.openmx-square.org/',
|
|
'http://www.openmx-square.org/bugfixed/21Oct17/'
|
|
]
|
|
sources = [
|
|
{
|
|
'filename': 'openmx3.9.tar.gz',
|
|
'extract_cmd': 'mkdir -p %(builddir)s/openmx3.9 && tar xzvf %s --strip-components=1 -C $_',
|
|
},
|
|
{
|
|
'filename': 'patch3.9.9.tar.gz',
|
|
'download_filename': 'patch%(version).9.tar.gz',
|
|
'source_urls': ['http://www.openmx-square.org/bugfixed/21Oct17/']
|
|
},
|
|
]
|
|
checksums = [
|
|
'27bb56bd4d1582d33ad32108fb239b546bdd1bdffd6f5b739b4423da1ab93ae2', # openmx3.9.tar.gz
|
|
'20cccc4e3412a814a53568f400260e90f79f0bfb7e2bed84447fe071b26edd38', # patch3.9.9.tar.gz
|
|
]
|
|
|
|
dependencies = [
|
|
('LAPACK', '3.10.0'),
|
|
('ELPA', '2022.05.001'),
|
|
('FFTW', '3.3.10'),
|
|
('OpenMPI', '4.1.4'),
|
|
]
|
|
|
|
|
|
files_to_copy = [
|
|
('%(sourcepath)s/patch3.9.9.tar.gz', '%(builddir)s/openmx3.9/source'),
|
|
('%(sourcepath)s/kpoint.in', '%(sourcepath)s/openmx3.9/work')
|
|
]
|
|
|
|
#build_cmd = 'cd %(builddir)s/openmx3.9/source && sed -i "s/-xHOST//g" makefile && sed -i "s/-ip//g" makefile && make CFLAGS="-O3 -no-prec-div -fopenmp"'
|
|
|
|
|
|
build_cmd = 'cd /dev/shm/easybuild/build/OpenMX/3.9/foss-2022b/openmx3.9/source && sed -i "s/-xHOST//g" makefile && sed -i "s/-ip//g" makefile && sed -i "s/-qopenmp/-fopenmp/g" makefile && sed -i "s/-no-prec-div//g" makefile && make CFLAGS="-O3 -fopenmp"'
|
|
|
|
# The third party packages should be installed separately and added as
|
|
# dependencies. The exception is w90, which is force built
|
|
#buildopts = 'all'
|
|
|
|
# parallel build tends to fail
|
|
parallel = 1
|
|
|
|
moduleclass = 'chem'
|