diff --git a/installation/compile_CoreModule.py b/installation/compile_CoreModule.py index 50c3b8abb..5db53c66c 100755 --- a/installation/compile_CoreModule.py +++ b/installation/compile_CoreModule.py @@ -22,7 +22,7 @@ for option in ['IMKL_ROOT','ACML_ROOT','LAPACK_ROOT','FFTW_ROOT','F90']: compilers = ['ifort','gfortran'] if options['F90'] not in compilers: sys.exit('compiler "F90" (in installation/options or as Shell variable) has to be one out of: %s'%(', '.join(compilers))) - +print 'Argument List:', str(sys.argv) compileCommand = { 'gfortran': 'gnu95 --f90flags="-fPIC -fno-range-check -xf95-cpp-input -std=f2008 -fall-intrinsics'+\ ' -DSpectral -fdefault-real-8 -fdefault-double-8 -DFLOAT=8 -DINT=4 -I%s/lib"'%damaskEnv.rootDir(), @@ -36,7 +36,7 @@ if options['IMKL_ROOT'] != '' and options['F90'] != 'gfortran': elif options['ACML_ROOT'] != '': lib_lapack = '-L%s/%s64/lib -lacml'%(options['ACML_ROOT'],options['F90']) elif options['LAPACK_ROOT'] != '': - lib_lapack = '-L%s/lib -L%s/lib64-llapack'%(options['LAPACK_ROOT'],options['LAPACK_ROOT']) + lib_lapack = '-L%s/lib -L%s/lib64 -llapack'%(options['LAPACK_ROOT'],options['LAPACK_ROOT']) os.chdir(codeDir) # needed for compilation with gfortran and f2py try: