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

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

initial import GRISLI trunk

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