1 | # 2 | # makefile.h for EGEE (IBM JS21) at CERFACS 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 | # HDF5 23 | # 24 | 25 | HDF5LIB = /usr/local/HDF5/lib 26 | HDF5L = -lz -lmass_64 27 | 28 | # 29 | # Fortran and Compiler options 30 | # 31 | 32 | FF=mpif90 33 | CC=mpicc 34 | 35 | FFS=xlf 36 | 37 | FREEFORMAT= 38 | 39 | #LDFLAGS = -q64 -w -O3 -qarch=ppc970 -qtune=ppc970 -qfloat=nans -C -qsigtrap -g 40 | #FFLAGS= -q64 -w -O3 -qarch=ppc970 -qtune=ppc970 -qfloat=nans -C -qsigtrap -g 41 | #FFSLAGS= -q64 -w -O3 -qarch=ppc970 -qtune=ppc970 -qfloat=nans -C -qsigtrap -g 42 | 43 | LDFLAGS = -q64 -w -O3 -qarch=ppc970 -qtune=ppc970 -openmp 44 | FFLAGS= -q64 -w -O3 -qarch=ppc970 -qtune=ppc970 -openmp 45 | FFSLAGS= -q64 -w -O3 -qarch=ppc970 -qtune=ppc970 -openmp 46 | 47 | #LDFLAGS = -q64 -w -qarch=ppc970 -qfloat=nans -pg 48 | #FFLAGS= -q64 -w -qarch=ppc970 -qfloat=nans -pg 49 | #FFSLAGS= -q64 -w -qarch=ppc970 -qfloat=nans -pg 50 | 51 | CFLAGS = -D$(DOM_HOSTTYPE) -DNO_UNDERSCORE 52 | 53 | # 54 | # MPI 55 | # 56 | 57 | PLIBS = 58 |