source: trunk/SOURCES/Fichiers-parametres/Makefile-foehn.inc @ 10

Last change on this file since 10 was 4, checked in by dumas, 10 years ago

initial import GRISLI trunk

File size: 1.9 KB
Line 
1# Makefile de la version avec le new remplimat
2# FT options de compilation
3# LK options de link
4
5# Rappel de quelques options interessantes
6#-------------------------------------------
7# faire imperativement attention a l'arithmetique
8# -fpe0 s'arrete sur les floating point exception (sauf underflow)
9# -CB  Performs run-time checking on array subscript and character substring expressions
10# -g pour debug
11# -pg pour le profiling
12# -traceback permet de connaitre la ligne qui plante
13
14# faire man ifort pour plus d'infos
15
16# le directory dans lequel sont les compilateurs et MKL
17# DIRLOCAL=/usr/local variable d'environnement a definir dans .bash_profile
18NETCDFHOME = /applis/ciment/stow/x86_64/netcdf-4.0.1-intel# foehn
19#GNETCDFHOME = /applis/ciment/stow/x86_64/netcdf-4.0.1-intel
20# librairies
21
22NCDF_INC  = $(NETCDFHOME)/include
23NCDF_LIB  = -L$(NETCDFHOME)/lib -lnetcdf
24
25MKLPATH = /opt/intel/Compiler/11.0/074/mkl/lib/em64t/# foehn
26MKL_LIB = -L$(MKLPATH) -lmkl_solver_lp64_sequential -lmkl_intel_lp64 -lmkl_sequential -lmkl_core# foehn
27export $MKL_LIB
28
29IFORT = /opt/intel/Compiler/11.0/074/bin/intel64/ifort # foehn
30GFC  = /applis/ciment/stow/x86_64/gcc-4.1.2/bin/gfortran # foehn
31ARITHM = -O2 -fp-model precise  -heap-arrays # options pour une meilleure arithmetique (normalement reproductible)
32ARITHM = -O2 -fp-model precise -vec_report0 -traceback #
33#ARITHM    =  -fp-model precise -warn all -CU -CA # options pour une meilleure arithmetique (normalement reproductible)
34# ARITHM = -03                    # trop brutal ne pas utiliser
35
36FT        = $(IFORT) $(ARITHM) -c    -traceback   -CB  -g # -fpe0 #-pg  # -g # -pg -ipo !aurel : j'ai enleve -CB
37LK        = $(IFORT) $(ARITHM)  -i_dynamic    -traceback   -CB -g # -fpe0  #-pg   #-g #  -pg
38F_NETCDF  = $(IFORT) $(ARITHM) -c   -I$(NCDF_INC)  -traceback  -CB -g # -fpe0 #-pg -ipo # -g
39
40
41# listes pour la resolution equation elliptique
42#------------------------------------------------
43
Note: See TracBrowser for help on using the repository browser.