easyblock = 'ConfigureMake' name = 'Netgen' version = "4.9.11" 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), ] 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' sanity_check_paths = { 'files': [], 'dirs': ['bin'], } moduleclass = 'phys'