mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 15:32:11 +01:00

new file: a/apptainer/apptainer-1.2.5.eb new file: a/apptainer/apptainer-1.3.0.eb modified: a/apptainer/apptainer-1.3.1.eb modified: d/Dakota/Dakota-6.15.0-foss-2021b.eb modified: d/Dakota/Dakota-6.15.0-intel-2021b.eb new file: g/GSL/GSL-2.7-intel-compilers-2023.2.1.eb modified: h/HDF5/HDF5-1.12.1-foss-2021b-parallel.eb new file: h/htop/htop-3.3.0.eb new file: l/libxc/libxc-6.2.2-intel-compilers-2023.2.1.eb new file: n/netCDF-Fortran/netCDF-Fortran-4.6.1-iimpi-2023b.eb new file: n/netCDF/netCDF-4.9.2-iimpi-2023b.eb new file: o/Octopus/Octopus-14.1-intel-2023b-mpi.eb new file: s/squashfs-tools/squashfs-tools-4.6.1.eb new file: u/uncertainties/uncertainties-3.1.7-foss-2023b.eb
62 lines
2.3 KiB
Plaintext
62 lines
2.3 KiB
Plaintext
# IT4Innovation
|
|
# LK 202m
|
|
|
|
easyblock = 'ConfigureMake'
|
|
|
|
name = 'Octopus'
|
|
version = '14.1'
|
|
versionsuffix = '-mpi'
|
|
|
|
homepage = 'http://www.tddft.org/programs/octopus/wiki/index.php/Main_Page'
|
|
description = """Octopus is a scientific program aimed at the ab initio virtual experimentation
|
|
on a hopefully ever-increasing range of system types. Electrons are described quantum-mechanically
|
|
within density-functional theory (DFT), in its time-dependent form (TDDFT) when doing simulations
|
|
in time. Nuclei are described classically as point particles.
|
|
Electron-nucleus interaction is described within the pseudopotential approximation."""
|
|
|
|
toolchain = {'name': 'intel', 'version': '2023b'}
|
|
import os
|
|
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
toolchainopts = {'usempi': True, 'opt': True, 'optarch': 'march=core-avx2'}
|
|
else:
|
|
toolchainopts = {'usempi': True, 'opt': True}
|
|
|
|
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
prebuildopts = "echo %(builddir)s && while read i; do echo $i; sed 's|-xHost|-march=core-avx2|g' -i $i; done < <(grep xHost %(builddir)s -R | cut -d ':' -f 1 | sort -u) && "
|
|
|
|
sources = [SOURCELOWER_TAR_GZ]
|
|
source_urls = ['https://octopus-code.org/download/%(version)s/']
|
|
checksums = ['6955f4020e69f038650a24509ff19ef35de4fd34e181539f92fa432db9b66ca7']
|
|
|
|
builddependencies = [
|
|
('Bison', '3.8.2'),
|
|
('Perl', '5.38.0'),
|
|
]
|
|
|
|
dependencies = [
|
|
('libxc', '6.2.2'),
|
|
('netCDF', '4.9.2'),
|
|
('netCDF-Fortran', '4.6.1'),
|
|
('FFTW', '3.3.10', '', ('GCC', '13.2.0')),
|
|
('GSL', '2.7'),
|
|
]
|
|
|
|
configopts = 'FC="mpiifort" FCFLAGS="-O2 -march=core-avx2" --disable-openmp --enable-mpi --enable-newuoa --disable-python --disable-gdlib '
|
|
configopts += '--with-libxc-prefix=$EBROOTLIBXC --with-gsl-prefix=$EBROOTGSL '
|
|
configopts += '--with-blas="-L$BLAS_LIB_DIR $LIBBLAS" '
|
|
configopts += '--with-blacs="$MKLROOT/lib/intel64/libmkl_blacs_intelmpi_lp64.a" '
|
|
configopts += '--with-scalapack="$MKLROOT/lib/intel64/libmkl_scalapack_lp64.a" '
|
|
configopts += '--with-netcdf-prefix=$EBROOTNETCDFMINFORTRAN '
|
|
#configopts += '--with-etsf-io-prefix=$EBROOTETSF_IO '
|
|
#configopts += '--with-pfft-prefix=$EBROOTPFFT --with-mpifftw-prefix=$EBROOTFFTW '
|
|
|
|
# approx. 8/228 checks fail
|
|
#runtest = 'MPIEXEC=`which mpirun` check'
|
|
|
|
#sanity_check_paths = {
|
|
# 'files': ["bin/octopus_mpi"],
|
|
# 'dirs': []
|
|
#}
|
|
|
|
moduleclass = 'chem'
|