makefile.h [SRC] [CPP] [JOB] [SCAN]
HOSTS / BLUEGENEHOSTS/DIDEROT [=]
HOSTS/EGEE [=]
HOSTS/EMILION [=]
HOSTS/IMHOTEP [=]
HOSTS/KALI [=]
HOSTS/MAC [=]
HOSTS/PCLINUX [=]



   1 | #
   2 | #  makefile.h for IBM BlueGene 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 =  /bgl/local/HDF5/lib
  26 | HDF5L = -lmo
  27 | 
  28 | #
  29 | #   Definitions
  30 | #
  31 | 
  32 | BGL_SYS = /bgl/BlueLight/ppcfloor/bglsys
  33 | ESSL     = /opt/ibmmath/essl/4.2/lib/libesslbg.a
  34 | MASS     = -L/opt/ibmcmp/xlmass/bg/4.3/blrts_lib  -lmass -lmassv
  35 | LIBMAT   = /gpfs/home/cfd/pablo/TEST_BG/libmpitrace.a
  36 | 
  37 | #
  38 | #  Fortran and Compiler options
  39 | #
  40 | 
  41 | FF=blrts_xlf90 -g
  42 | CC=blrts_xlc -g
  43 | 
  44 | FFS=blrts_xlf90 -g
  45 | 
  46 | FREEFORMAT=
  47 | 
  48 | LDFLAGS = -qmaxmem=-1 -qarch=440 -qtune=440
  49 | FFLAGS=-qstrict -qfixed -O3 -qhot -qmaxmem=-1 -qarch=440 -qtune=440 -I$(BGL_SYS)/include 
  50 | FFSLAGS=$(FSOURCESFLAGS)
  51 | CFLAGS =-D$(AVBP_HOSTTYPE) -DNO_UNDERSCORE -qmaxmem=-1 -qarch=440 -qtune=440 -qcpluscmt -qinfo=pro:gen -I$(BGL_SYS)/include
  52 | 
  53 | #
  54 | #  MPI
  55 | #
  56 | 
  57 | MPI_LIB  = -Wl,-allow-multiple-definition $(MASS) $(ESSL) $(LIBMAT) -L$(BGL_SYS)/lib -lmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts -lnss_files -lnss_dns -lresolv
  58 | PLIBS = $(MPI_LIB)
  59 | 
  60 | #
  61 | #  PALM
  62 | #
  63 | 
  64 | PALMHOME = /home/globc/morel/PALM_MP2_3_0/PALM_MP/ibmsp64r4lam
  65 | PALMLIB = $(PALMHOME)/lib
  66 | PALMINC = $(PALMHOME)/include
  67 | PALMFLAG = -lpalm