# encoding: utf-8 """ Fichier de configuration WAF pour version séquentielle sur Ubuntu 12.04 : - Compilateur : GNU - BLAS : OpenBLAS """ import os def configure(self): opts = self.options self.env.append_value('LIBPATH', [ '/opt/aster/public/hdf5-1.8.14/lib', '/opt/aster/public/med-3.2.1/lib', '/opt/aster/public/metis-5.1.0/lib', '/opt/scotch-6.0.4/lib', '/opt/aster/public/mfront-3.0.0/lib', '/opt/OpenBLAS/lib',]) self.env.append_value('INCLUDES', [ '/opt/aster/public/hdf5-1.8.14/include', '/opt/aster/public/med-3.2.1/include', '/opt/aster/public/metis-5.1.0/include', '/opt/scotch-6.0.4/include', '/opt/aster/public/mfront-3.0.0/include', '/opt/OpenBLAS/include']) opts.maths_libs = 'openblas' opts.embed_math = True opts.enable_med = True opts.hdf5_libs = 'hdf5 z' # opts.embed_hdf5 = True opts.med_libs = 'med stdc++' opts.embed_med = True opts.enable_petsc = True opts.enable_mfront = False opts.enable_scotch = True opts.embed_scotch = True opts.embed_aster = True opts.embed_fermetur = True