1 | # ifort compiler options for NOCS ALTIX cluster nautilus using NetCDF4 libraries |
---|
2 | # NCDF_HOME root directory containing lib and include subdirectories for netcdf4 |
---|
3 | # HDF5_HOME root directory containing lib and include subdirectories for HDF5 |
---|
4 | # XIOS_HOME root directory containing lib for XIOS |
---|
5 | # NCDF_INC netcdf include file |
---|
6 | # NCDF_LIB netcdf library |
---|
7 | # XIOS_LIB XIOS library |
---|
8 | # FC Fortran compiler command |
---|
9 | # FCFLAGS Fortran compiler flags |
---|
10 | # FFLAGS Fortran 77 compiler flags |
---|
11 | # LD linker |
---|
12 | # LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
13 | # FPPFLAGS pre-processing flags |
---|
14 | # AR assembler |
---|
15 | # ARFLAGS assembler flags |
---|
16 | # MK make |
---|
17 | # USER_INC additional include files for the compiler, e.g. -I<include dir> |
---|
18 | # USER_LIB additional libraries to pass to the linker, e.g. -l<library> |
---|
19 | |
---|
20 | |
---|
21 | %NCDF_HOME /fibre/omfman/NETCDF_PAR |
---|
22 | %HDF5_HOME /fibre/omfman/NETCDF_PAR |
---|
23 | %XIOS_HOME /fibre/omfman/XIOS |
---|
24 | %NCDF_INC -I%NCDF_HOME/include -I%HDF5_HOME/include |
---|
25 | %XIOS_INC -I%XIOS_HOME/inc |
---|
26 | %XIOS_LIB -L%XIOS_HOME/lib -lxios |
---|
27 | # Note use of -Bstatic because the library root directories may not be accessible to the back-end compute nodes |
---|
28 | %NCDF_LIB -L%HDF5_HOME/lib -L%NCDF_HOME/lib -Bstatic -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -Bdynamic -lz |
---|
29 | %FC ifort |
---|
30 | %FCFLAGS -r8 -O3 -fp-model precise -xT -ip -vec-report0 |
---|
31 | %FFLAGS -r8 -O3 -fp-model precise -xT -ip -vec-report0 |
---|
32 | %LD ifort |
---|
33 | %FPPFLAGS -P -C -traditional |
---|
34 | %LDFLAGS -lmpi -lstdc++ |
---|
35 | %AR ar |
---|
36 | %ARFLAGS -r |
---|
37 | %MK gmake |
---|
38 | %USER_INC %NCDF_INC %XIOS_INC |
---|
39 | %USER_LIB %XIOS_LIB %NCDF_LIB |
---|
40 | |
---|
41 | # - if debugging use these flags |
---|
42 | #FCFLAGS -g -traceback -r8 -O0 -xT -ip -vec-report0 |
---|
43 | #FFLAGS -g -traceback -r8 -O0 -xT -ip -vec-report0 |
---|