1 | # 2 | # makefile.h for OCTOPUS 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 = /gpfs3/SOFTS/HDF5-1.8.3/lib 26 | HDF5INC = /gpfs3/SOFTS/HDF5-1.8.3/include 27 | HDF5L = -lz -lm 28 | 29 | # 30 | # Fortran and Compiler options 31 | # 32 | 33 | # Intel 34 | CC = mpiicc 35 | FF = mpiifort 36 | FFS = mpiifort 37 | 38 | # OpenMPI 39 | # CC = mpicc 40 | # FF = mpif90 41 | # FFS = mpif90 42 | 43 | CFLAGS = -O3 -xSSE4.2 -D$(DOM_HOSTTYPE) 44 | FFLAGS = -O3 -xSSE4.2 -fno-alias -ip -unroll0 -assume byterecl -convert big_endian -I$(HDF5INC) $(LAPACK) 45 | LDFLAGS = -O3 -xSSE4.2 -L$(HDF5LIB) $(LAPACK) 46 | OPT = -I 47 | FFSLAGS = $(FFLAGS) 48 | 49 | # 50 | # MPI 51 | # 52 | 53 | PLIBS = 54 | 55 | # 56 | # PALM 57 | # 58 | 59 | PALMHOME = /home/globc/palm/PALM_MP301/PALM_MP/ibmsp64r4lam 60 | PALMLIB = $(PALMHOME)/lib 61 | PALMINC = $(PALMHOME)/include 62 | PALMFLAG = -lpalm