From dc9348220a6f3d6a75c38793573383db1625b1cf Mon Sep 17 00:00:00 2001 From: Cristian C Lalescu <Cristian.Lalescu@ds.mpg.de> Date: Wed, 28 Oct 2015 20:21:22 +0100 Subject: [PATCH] add custom compiling options for cluster --- machine_settings.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/machine_settings.py b/machine_settings.py index 45f1a049..b1262012 100644 --- a/machine_settings.py +++ b/machine_settings.py @@ -56,6 +56,30 @@ if hostname in ['frontend01', 'frontend02']: '/usr/nld/fftw-3.3.3-mvapich2-1.9a2-gcc/lib', '/usr/nld/fftw-3.3.3-float-mvapich2-1.9a2-gcc/lib'] extra_libraries += ['mpich'] + extra_compile_args = ['-Wall', + '-O2', + '-g', + '-m64', + '-m80387', + '-mabi=sysv', + '-march=x86-64', + '-masm=intel', + '-masm=att', + '-mfancy-math-387', + '-mfpmath=sse+387', + '-mglibc', + '-mhard-float', + '-mieee-fp', + '-ffast-math', + '-mlarge-data-threshold=65536', + '-mno-sse4', + '-mpush-args', + '-mred-zone', + '-msse4.2', + '-mstackrealign', + '-mtls-direct-seg-refs', + '-mtune=corei7', + '-std=c++11'] if hostname in ['tolima', 'misti']: local_install_dir = '/scratch.local/chichi/installs' -- GitLab