[4624] | 1 | # Mobilis - ClusterVision X86_64 cluster at NOCS |
---|
[10452] | 2 | #--------------------------------------------------------------------- |
---|
| 3 | # REMEMBER TO LOAD THE CORRECT ENVIRONMENT BEFORE INVOKING makenemo # |
---|
| 4 | #--------------------------------------------------------------------- |
---|
[4624] | 5 | # |
---|
[10452] | 6 | # Works with nemo-PrgEnv modules on Mobilis |
---|
| 7 | # module use /home/acc/MyMods |
---|
| 8 | # and either: |
---|
[4624] | 9 | # |
---|
[10452] | 10 | # module load nemo-PrgEnv/4.0 |
---|
| 11 | # or |
---|
| 12 | # module load nemo-PrgEnv/3.6 |
---|
| 13 | # |
---|
| 14 | #--------------------------------------------------------------------- |
---|
[4624] | 15 | # NCDF_HOME root directory containing lib and include subdirectories for netcdf4 |
---|
| 16 | # HDF5_HOME root directory containing lib and include subdirectories for HDF5 |
---|
| 17 | # XIOS_HOME root directory containing lib for XIOS |
---|
| 18 | # OASIS_HOME root directory containing lib for OASIS |
---|
| 19 | # |
---|
| 20 | # NCDF_INC netcdf4 include file |
---|
| 21 | # NCDF_LIB netcdf4 library |
---|
[14242] | 22 | # XIOS_INC xios include file (taken into accound only if key_xios is activated) |
---|
| 23 | # XIOS_LIB xios library (taken into accound only if key_xios is activated) |
---|
[4624] | 24 | # OASIS_INC oasis include file (taken into accound only if key_oasis3 is activated) |
---|
| 25 | # OASIS_LIB oasis library (taken into accound only if key_oasis3 is activated) |
---|
| 26 | # |
---|
| 27 | # FC Fortran compiler command |
---|
| 28 | # FCFLAGS Fortran compiler flags |
---|
| 29 | # FFLAGS Fortran 77 compiler flags |
---|
| 30 | # LD linker |
---|
| 31 | # LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries |
---|
| 32 | # FPPFLAGS pre-processing flags |
---|
| 33 | # AR assembler |
---|
| 34 | # ARFLAGS assembler flags |
---|
| 35 | # MK make |
---|
| 36 | # USER_INC complete list of include files |
---|
| 37 | # USER_LIB complete list of libraries to pass to the linker |
---|
[5656] | 38 | # CC C compiler used to compile conv for AGRIF |
---|
| 39 | # CFLAGS compiler flags used with CC |
---|
[4624] | 40 | # |
---|
| 41 | # Note that: |
---|
| 42 | # - fcm variables are starting with a % (and not a $) |
---|
[10452] | 43 | # - unix variables "$..." are accepted and will be evaluated before calling fcm. |
---|
| 44 | # - The $ variables in this arch file are set by the nemo-PrgEnv module (see top) |
---|
[4624] | 45 | # |
---|
[10452] | 46 | %NCDF_HOME $NETCDF_DIR |
---|
| 47 | %HDF5_HOME $HDF5_DIR |
---|
| 48 | %XIOS_HOME $XIO_HOME |
---|
[4624] | 49 | %OASIS_HOME |
---|
| 50 | |
---|
| 51 | %NCDF_INC -I%NCDF_HOME/include |
---|
| 52 | %NCDF_LIB -L%NCDF_HOME/lib -lnetcdf -lnetcdff -lnetcdf -L%HDF5_HOME/lib -lhdf5_hl -lhdf5 -lhdf5 -lcurl |
---|
| 53 | %XIOS_INC -I%XIOS_HOME/inc |
---|
| 54 | %XIOS_LIB -L%XIOS_HOME/lib -lxios |
---|
| 55 | %OASIS_INC |
---|
| 56 | %OASIS_LIB |
---|
| 57 | |
---|
[4865] | 58 | %CPP cpp |
---|
[4624] | 59 | %FC mpif90 -c -cpp |
---|
| 60 | %FCFLAGS -i4 -r8 -O3 -fp-model source -xAVX |
---|
| 61 | %FFLAGS %FCFLAGS |
---|
| 62 | %LD mpif90 |
---|
| 63 | %LDFLAGS -lstdc++ |
---|
| 64 | %FPPFLAGS -P -C -traditional |
---|
| 65 | %AR ar |
---|
| 66 | %ARFLAGS rs |
---|
| 67 | %MK gmake |
---|
| 68 | %USER_INC %XIOS_INC %OASIS_INC %NCDF_INC |
---|
| 69 | %USER_LIB %XIOS_LIB %OASIS_LIB %NCDF_LIB |
---|
[5656] | 70 | |
---|
[6140] | 71 | %CC icc |
---|
[5656] | 72 | %CFLAGS -O0 |
---|