mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-14 19:01:21 +01:00

modified: i/ifort/ifort-2018.0.128-GCC-6.4.0-2.28.eb modified: i/impi/impi-2018.0.128-iccifort-2018.0.128-GCC-6.4.0-2.28.eb new file: n/Netgen/Netgen-4.9.11-test.eb new file: n/Netgen/Netgen-4.9.11.eb new file: p/ParMETIS/ParMETIS-3.2.0-intel-2017a-for-netgen.eb new file: t/Togl/Togl-1.7.eb
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
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'
|