easyconfigs-it4i/o/Octopus/Octopus-11.3-intel-2020b-mpi.eb
Lukas Krupcik a49b71afca new file: a/AOCC/AOCC-3.2.0-GCCcore-11.2.0.eb
new file:   c/CP2K/CP2K-8.2-foss-2020b.eb
	new file:   c/CP2K/CP2K-8.2-intel-2020b.eb
	modified:   d/DFTB+/DFTB+-21.1-intel-2020b-Python-3.8.6-karolina.eb
	new file:   g/GROMACS/GROMACS-2021.4-fosscuda-2020b-PLUMED-2.7.3.eb
	modified:   g/GROMACS/GROMACS-2021.4-intel-2020b-PLUMED-2.7.2.eb
	new file:   g/GROMACS/GROMACS-2021.4-intel-2020b-PLUMED-2.7.3.eb
	new file:   i/intel-compilers/intel-compilers-2021.4.0.eb
	new file:   l/Libint/Libint-2.6.0-GCC-10.2.0-lmax-6-cp2k.eb
	new file:   l/libxc/libxc-5.1.3-GCC-10.2.0.eb
	modified:   n/NVHPC/NVHPC-21.11.eb
	new file:   o/Octopus/Octopus-11.3-intel-2020b-mpi.eb
	new file:   o/OpenMPI/OpenMPI-4.0.6-NVHPC-21.11-CUDA-11.4.1-v2.eb
	new file:   o/OpenMPI/OpenMPI-4.0.6-NVHPC-21.11-CUDA-11.4.1.eb
	new file:   p/PETSc/PETSc-3.16.2-intel-2020b.eb
	new file:   p/PLUMED/PLUMED-2.7.3-fosscuda-2020b.eb
	new file:   p/phonopy/phonopy-2.12.0-conda.eb
	new file:   u/UCX/UCX-1.11.2-GCCcore-11.2.0.eb
	new file:   u/UCX/UCX-1.11.2-NVHPC-21.11-CUDA-11.4.1.eb
	new file:   v/VASP/VASP-5.4.4-intel-2020a-mkl=sequential-karolina.eb
2022-01-05 09:50:03 +01:00

62 lines
2.2 KiB
Plaintext

# IT4Innovations 2021
# JK
easyblock = 'ConfigureMake'
name = 'Octopus'
version = '11.3'
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': '2020b'}
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 = ['http://octopus-code.org/down.php?file=%(version)s/']
builddependencies = [
('Bison', '3.7.1'),
('Perl', '5.32.0'),
]
dependencies = [
('libxc', '4.3.4'),
('netCDF', '4.7.4'),
('netCDF-Fortran', '4.5.3'),
('FFTW', '3.3.8'),
# ('PFFT', '1.0.8-alpha'),
# ('ETSF_IO', '1.0.4'),
('GSL', '2.6'),
]
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 '
#runtest = 'MPIEXEC=`which mpirun` check'
#sanity_check_paths = {
# 'files': ["bin/octopus_mpi"],
# 'dirs': []
#}
moduleclass = 'chem'