# compiler options for hector CRAY XT6 # NCDF_HOME root directory containing lib and include subdirectories for netcdf4 # HDF5_HOME root directory containing lib and include subdirectories for HDF5 # NCDF_INC netcdf include file # NCDF_LIB netcdf library # FC Fortran compiler command # FCFLAGS Fortran compiler flags # FFLAGS Fortran 77 compiler flags # LD linker # LDFLAGS linker flags, e.g. -L if you have libraries in a # FPPFLAGS pre-processing flags # AR assembler # ARFLAGS assembler flags # MK make # USER_INC additional include files for the compiler, e.g. -I # USER_LIB additional libraries to pass to the linker, e.g. -l # PGI prgenv # use "module load netcdf" to setup system netcdf %FCFLAGS -fdefault-real-8 -g -fbounds-check -fbacktrace -Wall -O0 -std=gnu %LDFLAGS # Generic settings for HECToR %FC ftn %FFLAGS %FCFLAGS %LD ftn %FPPFLAGS -P -C -traditional %AR ar %ARFLAGS -r %MK gmake #%USER_INC %NCDF_INC #%USER_LIB %NCDF_LIB %USER_INC %USER_LIB # replacement options for GNU prgenv # %FCFLAGS -fdefault-real-8 -O3 # %FFLAGS -fdefault-real-8 -O3