# ifort compiler options for linux # 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 # CC C compiler used to compile conv for AGRIF # CFLAGS compiler flags used with CC # debug: -g -check bounds -check uninit -check pointers -traceback # %NCDF_INC -I$NETCDF_INC %NCDF_LIB -L$NETCDF_LIB -lnetcdff -lnetcdf -L$HDF5_LIB -lhdf5_hl -lhdf5 -lz %CPP cpp %FC mpif90 %FCFLAGS -O2 -fp-model precise -traceback -r8 -convert big_endian -assume byterecl %FFLAGS %FCFLAGS %LD mpif90 %FPPFLAGS -P -C -traditional %LDFLAGS -O2 %AR ar %ARFLAGS -rs %MK gmake %USER_INC -I$XIOS_INC %NCDF_INC %USER_LIB -L$XIOS_LIB -lxios %NCDF_LIB -lstdc++ %CC cc %CFLAGS -O0