#Makefile include include.mk.opt ############################## Change Log ################################## # 1.0.0.2 # # 000908 MJB include.mk-mrc ## # Added MAKE environment varaible. # Added free format option to F_OPTS for some platforms. ## # 000907 MJB include.mk-mrc ## # Changed the defualts to no NCAR Graphics and no parallel. # Also commented out the machine specifics to force the user to # select the appropriate machine for them. ## # 000823 MJB include.mk-mrc ## # New - defines all make environment varaibles and is included # in all make files. ## # ############################################################################ # Define make (gnu make works best). MAKE=/usr/bin/make # Activate appropriate parts below, comment out others. # NCAR Graphics. #--------------------------------------------------------------- # If you are using a standard installation of NCAR Graphics, set: # LOADER=ncargf90 # in the machine-dependent sections below #LIBNCARG= #--------------------------------------------------------------- # If you are using the NCAR dummy libraries... NCARG_DIR=$(BASE) #LIBNCARG=-L$(NCARG_DIR) -lncarg-$(UTILS_VERSION) -lncarg_c-$(UTILS_VERSION) \ # -lncarg_gks-$(UTILS_VERSION) #LIBNCARG=-L$(NCARG_DIR) -lncarg-$(UTILS_VERSION) LIBNCARG=$(BASE)/libncarg-$(UTILS_VERSION)-$(OPT).a #--------------------------------------------------------------- # If you are using a real distribution of NCAR Graphics... #NCARG_DIR=/usr/local/ncarg-4.3.0/lib #LIBNCARG=-L$(NCARG_DIR) -lncarg -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11 -ldl #--------------------------------------------------------------- # NETCDF libraries NETCDF=/Users/saulofreitas/localbin/libs/pgi/netcdf_new NETCDF_INC=-I$(NETCDF)/include NETCDF_LIBS=-L$(NETCDF)/lib -lnetcdf # HDF libraries HDF5=/opt/hdf5-pgi12.6 HDF5_INC=-I$(HDF5)/include HDF5_LIB=-L$(HDF5)/lib -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -L/Users/saulofreitas/localbin/libs/pgi/zlib-1.2.4/lib -lz # Machine-dependent options. #----------------- LINUX Portland Group pgf77/gcc --------------- CMACH=PC_LINUX1 F_COMP=/opt/hdf5-pgi12.6/bin/h5pfc C_COMP=/opt/hdf5-pgi12.6/bin/h5pcc LOADER=/opt/hdf5-pgi12.6/bin/h5pfc C_LOADER=/opt/hdf5-pgi12.6/bin/h5pcc LIBS= MOD_EXT=mod F_OPTS= -Mpreprocess -D$(CHEM) -O3 C_OPTS= -O3 LOADER_OPTS=-O3 #----------------------------------------------------------------- # If compiling for a single-CPU platform only (without MPI): #----------------------------------------------------------------- PAR_LIBS= PAR_DEFS= #----------------------------------------------------------------- # For IBM,HP,SGI,ALPHA use these: ARCHIVE=ar rs # For NEC SX-6 #ARCHIVE=sxar rs # For SUN,CONVEX #ARCHIVE=ar r'