# -*- mode: makefile -*- # # Bluefire # IBM POWER6 AIX 5.3 system at NCAR # http://www.cisl.ucar.edu/computers/bluefire/ # # # 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 = -g OPTLVL = -O3 # Trapping flags TRAP = #TRAP += -C -qzerosize -qinitauto=7FF7FFFF -qflttrap=zero:inv:en -qsigtrap=xl__trcedump # Machine specific opts MACHOPT = -w -qarch=auto -qtune=auto -qsave # Extra compiler flags EXTRA_C_FLAGS = -DPT8BYTE EXTRA_F_FLAGS = # Extra libraries for Fortran, C & C++ code EXTRA_LIBS = -L/glade/home/schmitt/cism/opt/zlib-1.2.1/lib -lz -L/usr/local/lib64/r4i4 -ljpeg # Fortran libraries FLIBS = -lxlf90 -lxlopt -lxlf -lxlomp_ser # TIEGCM-specific libraries: TIEGCM_FFLAGS = -qfixed -qstrict -qarch=auto -qrealsize=8 -q64 TIEGCM_LDFLAGS = -bloadmap:loadmap -q64 -bdatapsize:64K -bstackpsize:64K -btextpsize:64K # 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++ = /glade/home/schmitt/cism/opt/A++ P++ = /glade/home/schmitt/cism/opt/P++ HDF = /glade/home/schmitt/cism/opt/HDF4.2r1 MPI = /usr/lpp/ppe.poe PVM_ROOT = /glade/home/schmitt/cism/opt/pvm3_64 PVM_ARCH = AIX56K64 INTERCOMM = /glade/home/schmitt/cism/opt/InterComm-1.6.6-trim Overture = /glade/home/schmitt/cism/opt/overture-opt OpenGL = /hao/wiltbemj/opt/AIX-32/Mesa-4.1 # TIEGCM requires netcdf: NETCDF = /usr/local/netcdf