Merge branch 'it4i-salomon'

This commit is contained in:
Lukáš Krupčík 2017-10-07 11:48:41 +02:00
commit 036886158e
3 changed files with 35 additions and 42 deletions

View File

@ -25,8 +25,6 @@ postinstallcmds = [
'tar xvzf %(installdir)s/mkl/examples/examples_core_c.tgz -C %(installdir)s/mkl/examples/',
'tar xvzf %(installdir)s/mkl/examples/examples_core_f.tgz -C %(installdir)s/mkl/examples/',
'tar xvzf %(installdir)s/mkl/examples/examples_f95.tgz -C %(installdir)s/mkl/examples/',
'tar xvzf %(installdir)s/mkl/examples/examples_mic_c.tgz -C %(installdir)s/mkl/examples/',
'tar xvzf %(installdir)s/mkl/examples/examples_mic_f.tgz -C %(installdir)s/mkl/examples/'
]
modextravars = {

View File

@ -1,40 +0,0 @@
easyblock = 'ConfigureMake'
name = 'Netgen'
version = "4.9.11"
versionsuffix = '-test'
homepage = 'https://ngsolve.org/'
description = """Netgen/NGSolve is a high performance multiphysics finite element software. It is widely used to
analyze models from solid mechanics, fluid dynamics and electromagnetics. Due to its flexible Python interface
new physical equations and solution algorithms can be implemented easily."""
toolchain = {'name': 'intel', 'version': '2017a'}
source_urls = ['https://ayera.dl.sourceforge.net/project/netgen-mesher/netgen-mesher/Old%20Releases/%(version)s/']
sources = ['netgen-%(version)s.tar.gz']
dependencies = [
('Togl', '1.7', '', True),
('Tk', '8.6.5', '', True),
('Tcl','8.6.5', '', True),
# ('METIS', '5.1.0'),
]
preconfigopts = "wget https://raw.githubusercontent.com/velizarefremov/parallel-netgen/master/NG/nglib.h && "
preconfigopts += "wget https://raw.githubusercontent.com/velizarefremov/parallel-netgen/master/NG/nglib.cpp && "
preconfigopts += "mv nglib.h nglib.cpp ng/ && "
configopts = '--with-tcl=$EBROOTTCL/lib --with-tk=$EBROOTTK/lib --with-togl=$EBROOTTOGL CXX=mpicxx CC=mpicc'
postinstallcmds = [
'mkdir %(installdir)s/build',
'cp * %(installdir)s/build -R',
]
sanity_check_paths = {
'files': [],
'dirs': ['bin', 'include', 'share', 'lib'],
}
moduleclass = 'phys'

35
n/Netgen/Netgen-6.3.eb Normal file
View File

@ -0,0 +1,35 @@
easyblock = 'CMakeMake'
name = 'Netgen'
version = "6.3"
homepage = 'https://ngsolve.org/'
description = """Netgen/NGSolve is a high performance multiphysics finite element software. It is widely used to
analyze models from solid mechanics, fluid dynamics and electromagnetics. Due to its flexible Python interface
new physical equations and solution algorithms can be implemented easily."""
toolchain = {'name': 'intel', 'version': '2017a'}
source_urls = ['https://github.com/trelau/netgen/archive/']
sources = ['%(version)s.tar.gz']
builddependencies = [
('CMake', '3.9.0', '', True),
]
dependencies = [
# ('Togl', '1.7', '', True),
('Tk', '8.6.6', '', True),
('Tcl','8.6.6', '', True),
('zlib', '1.2.11', '', True),
]
#configopts = '--with-tcl=$EBROOTTCL/lib --with-tk=$EBROOTTK/lib --with-togl=$EBROOTTOGL CXX=mpicxx CC=mpicc'
#configopts = '--with-tcl=$EBROOTTCL/lib --with-tk=$EBROOTTK/lib CXX=mpicxx CC=mpicc'
sanity_check_paths = {
'files': [],
'dirs': ['bin'],
}
moduleclass = 'phys'