1 | # 2 | # makefile.h for JADE at CINES 3 | # 4 | 5 | # 6 | # Some useful declaration 7 | # 8 | 9 | MV = \mv 10 | CP = \cp 11 | RM = \rm -rf 12 | LN = \ln -s 13 | AR = \ar rv 14 | 15 | # 16 | # M4 : 17 | # 18 | 19 | M4DIR = /usr/bin/m4 20 | 21 | # 22 | # Fortran and Compiler options 23 | # 24 | 25 | FF = ifort 26 | FFS= ifort 27 | CC = icc 28 | 29 | FREEFORMAT= 30 | 31 | LDFLAGS = -O3 -convert big_endian -align dcommons -lmpi 32 | FFLAGS = -O3 -unroll0 -assume byterecl -convert big_endian -fpp -safe_cray_ptr -fno-alias -ip -IPF_fp_relaxed -mP2OPT_hlo_loop_unroll_jam 33 | 34 | # LDFLAGS = -convert big_endian -align dcommons -lmpi -O0 -g -pg 35 | # FFLAGS = -unroll0 -assume byterecl -convert big_endian -fpp -safe_cray_ptr -fno-alias -ip -IPF_fp_relaxed -mP2OPT_hlo_loop_unroll_jam -g -pg 36 | 37 | FFSLAGS = -O3 -assume byterecl -convert big_endian -fno-alias 38 | CFLAGS = -D$(DOM_HOSTTYPE) 39 | 40 | # 41 | # HDF 42 | # 43 | 44 | HDF5LIB = /work/SGI/hdf5/1.8.1/lib 45 | HDF5INC = /work/SGI/hdf5/1.8.1/include 46 | HDF5L = -lm 47 | 48 | # 49 | # PALM 50 | # 51 | 52 | PALMHOME = /data/amaya/PALM_MP_301/PALM_MP/linux64r4mpt1.23 53 | PALMLIB = $(PALMHOME)/lib 54 | PALMINC = $(PALMHOME)/include 55 | PALMFLAG = -lpalm