# -*- mode: makefile -*- # # twister # IBM pSeries 655 AIX 5.2 system at Boston University # http://scv.bu.edu/computation/pseries/ # # # Compilers # # MPI C Compiler MPICC = mpcc # MPI C++ Compiler MPICXX = mpCC # MPI F90 Compiler #MPIF90 = mpxlf90 -qxlf77 # Hrm.. strange... We get LOTS of odd build errors if we use mpxlf90 rather than mpxlf... # Temporary fix: call the mpi f90 compiler "mpxlf" MPIF90 = mpxlf # MPI F77 Compiler MPIF77 = mpxlf # F90 compiler #F90 = xlf90 F90 = xlf # F77 Compiler F77 = xlf # F90 compiler used for unit testing with funit FC = ${F90} # C Compiler CC = xlc # C++ Compiler CXX = xlC # C Preprocessor CPP = cpp -P # Archive command (for making static libraries): AR = ar -X32_64 # #Compiler flags # #Cross language flag CROSS = -DLC_NOUNSC # Arch flag (IBM,T3E,NULL) ARCH = -DIBM # Optimtization Level OPTLVL = -O3 #OPTLVL = -O3 #-q64 # Trapping flags TRAP = # Machine specific opts MACHOPT = -w -qarch=auto -qtune=auto #-q64 # Extra compiler flags EXTRA_C_FLAGS = EXTRA_F_FLAGS = # Extra libraries for Fortran, C & C++ code EXTRA_LIBS = -L/usr/lib -lz -ljpeg # Fortran libraries FLIBS = -lxlf90 -lxlopt -lxlf -lxlomp_ser # MPI Libraries MPILIBS = -lmpi # common/src/geopack.F ***requires*** 8-byte reals in order to work with CMIT. # This is a compiler-dependent flag! GEOPACK_FFLAGS = -qautodbl=dbl4 # # External Library information # A++ = /project/cism2004/share/A++ P++ = /project/cism2004/share/P++ HDF = /usr/local/hdf MPI = /usr/lpp/ppe.poe PVM_ROOT = /project/cism2004/share/pvm3 PVM_ARCH = AIX56K INTERCOMM = /usr2/collab/schmitt/cism/opt/InterComm-1.6 Overture = /projectnb1/cism2004/wilsone/overture XLIBS = /usr/X11R6 OpenGL = /project/cism2004/share/Mesa-4.1 MOTIF = /project/cism2004/share/Motif # TIEGCM needs 64-bit libraries: INTERCOMM_64=/projectnb1/cism2004/wilsone/64-bit/share PVM_ROOT_64=/projectnb1/cism2004/wilsone/64-bit/pvm3 PVM_ARCH_64=AIX56K64 # ... and 64-bit netcdf library: #NETCDF = /usr/local/IT/netcdf-3.6.2/netcdf/32 NETCDF = /usr/local/IT/netcdf-3.6.2/netcdf/64