From 142a72335e8d813b18d9c48e636c44db74167d59 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 14 May 2014 10:07:10 +0000 Subject: [PATCH] small changes on the deploy me / documentation scripts --- installation/compile_CoreModule.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/installation/compile_CoreModule.py b/installation/compile_CoreModule.py index 32815f98b..052d007e6 100755 --- a/installation/compile_CoreModule.py +++ b/installation/compile_CoreModule.py @@ -36,9 +36,9 @@ if options['F90'] not in compilers: compiler = { 'gfortran': '--fcompiler=gnu95 --f90flags="-fPIC -fno-range-check -xf95-cpp-input -std=f2008 -fall-intrinsics'+\ - ' -fdefault-real-8 -fdefault-double-8"', + ' -fdefault-real-8 -fdefault-double-8 -shared"', 'ifort': '--fcompiler=intelem --f90flags="-fPIC -fpp -stand f08 -diag-disable 5268 -assume byterecl'+\ - ' -real-size 64 -integer-size 32"', + ' -real-size 64 -integer-size 32 -shared-intel"', }[options['F90']] #--- option not depending on compiler ------------------------------------------------------------- @@ -46,9 +46,9 @@ compileOptions = ' -DSpectral -DFLOAT=8 -DINT=4 -I%s/lib'%damaskEnv.rootDir() #--- this saves the path of libraries to core.so, hence it is known during runtime ---------------- if options['F90'] == 'gfortran': - LDFLAGS = '-shared -Wl,-undefined,dynamic_lookup' # solved error: Undefined symbols for architecture x86_64: "_PyArg_ParseTupleAndKeywords" as found on https://lists.macosforge.org/pipermail/macports-dev/2013-May/022735.html + LDFLAGS = '-Wl,-undefined,dynamic_lookup' # solved error: Undefined symbols for architecture x86_64: "_PyArg_ParseTupleAndKeywords" as found on https://lists.macosforge.org/pipermail/macports-dev/2013-May/022735.html else: - LDFLAGS = '-shared-intel, -Wl' + LDFLAGS = ' -Wl' #--- run path of for fftw during runtime ---------------------------------------------------------- LDFLAGS += ',-rpath,%s/lib,-rpath,%s/lib64'%(options['FFTW_ROOT'],options['FFTW_ROOT'])