Merge branch 'it4i-karolina'

This commit is contained in:
Lukas Krupcik 2021-08-10 07:38:11 +02:00
commit 7aa2f463f6
3 changed files with 66 additions and 23 deletions

View File

@ -0,0 +1,31 @@
# IT4Innovations
# LK 2021
name = 'Siesta'
version = '4.1-b4'
homepage = 'http://departments.icmab.es/leem/siesta'
description = """SIESTA is both a method and its computer program implementation, to perform efficient electronic
structure calculations and ab initio molecular dynamics simulations of molecules and solids."""
# AMD/intel cpu
toolchain = {'name': 'intel', 'version': '2020b'}
#toolchainopts = {'usempi': True}
import os
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
toolchainopts = {'usempi': True, 'optarch': 'march=core-avx2', 'opt': '03'}
else:
toolchainopts = {'usempi': True}
local_vl = version.split('-')
sources = [SOURCELOWER_TAR_GZ]
source_urls = ['https://launchpad.net/siesta/%s/%%(version)s/+download' % local_vl[0]]
checksums = ['19fa19a23adefb9741a436c6b5dbbdc0f57fb66876883f8f9f6695dfe7574fe3']
dependencies = [('netCDF-Fortran', '4.5.3')]
#runtest = 'check'
parallel = 24
moduleclass = 'phys'

View File

@ -0,0 +1,35 @@
# IT4Innovations
#LK 2021
name = 'Siesta'
version = '4.1-b5'
homepage = 'http://departments.icmab.es/leem/siesta'
description = """SIESTA is both a method and its computer program implementation, to perform efficient electronic
structure calculations and ab initio molecular dynamics simulations of molecules and solids."""
# AMD/intel cpu
toolchain = {'name': 'intel', 'version': '2020b'}
#toolchainopts = {'usempi': True}
import os
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
toolchainopts = {'usempi': True, 'optarch': 'march=core-avx2', 'opt': '03'}
else:
toolchainopts = {'usempi': True}
source_urls = ['https://gitlab.com/siesta-project/siesta/-/archive/v4.1.5/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['4a93b31e58ba036f33333ef88ff4df31']
dependencies = [('netCDF-Fortran', '4.5.3')]
#runtest = 'check'
#preconfigopts = 'export CXXFLAGS="-O3 -fPIC -march=core-avx2" && '
#preconfigopts += 'export CFLAGS="-O3 -fPIC -march=core-avx2" && '
#preconfigopts += 'export OPTFLAGS="-O3 -march=core-avx2 -ip" && '
#preconfigopts += 'export FCFLAGS="-O3 -fPIC -march=core-avx2" && '
parallel=24
moduleclass = 'phys'

View File

@ -1,23 +0,0 @@
# !!! --include-easyblocks /apps/easybuild/python/easybuild/easyblocks/s/siesta.py !!!
# IT4Innovations
# LK 2021
#easyblock = 'siesta'
name = 'Siesta'
version = '4.1.5'
homepage = 'http://departments.icmab.es/leem/siesta'
description = """SIESTA is both a method and its local_computer program implementation, to perform efficient electronic
structure calculations and ab initio molecular dynamics simulations of molecules and solids. This version si local_compiled
with OpenMP and MPI support."""
toolchain = {'name': 'intel', 'version': '2020b'}
toolchainopts = {'usempi': True, 'openmp': True}
source_urls = ['https://gitlab.com/siesta-project/siesta/-/archive/v%(version)s/']
sources = ['siesta-v%(version)s.tar.gz']
checksums = ['ff307cd00a6db4701e309ce22d63166c']
dependencies = [('netCDF-Fortran', '4.5.3')]
moduleclass = 'phys'