pycasso-machine-sara-cartesius.rc 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. !===============================================
  2. ! compiler information
  3. !===============================================
  4. ! template settings for IBM xlf compiler:
  5. #include base/${my.branch}/rc/pycasso-compiler-ifort-sara.rc
  6. ! Problem with (non-standard) system routines 'Exit_' and 'Sleep_' on ECMWF :
  7. ! these do not have the underscores here. Flag '-qnoextname' resets to the
  8. ! official names again, but let linking with HDF fail.
  9. ! Therefore, a marco __ecmwf__ is now defined to distuinguish in the code
  10. ! between the various XLF impelementations.
  11. !
  12. !my.default.fflags : -WF,-D__ecmwf__
  13. my.default.fflags :
  14. !===============================================
  15. ! libraries
  16. !===============================================
  17. ! location of installed user libraries:
  18. APPS_HOME : /hpc/sw/modules/modulefiles/libraries
  19. ! adressing mode:
  20. AMODE : LP64
  21. ! Z library (used for compression in HDF)
  22. compiler.lib.z.fflags :
  23. compiler.lib.z.libs : -lz
  24. ! JPEG library (used for compression in HDF)
  25. compiler.lib.jpeg.fflags :
  26. compiler.lib.jpeg.libs : -ljpeg
  27. ! SZ library (used for compression in HDF)
  28. SZIP_VERSION : szip/intel/2.1
  29. SZIP_HOME : ${APPS_HOME}/${SZIP_VERSION}
  30. compiler.lib.sz.fflags : -I${SURFSARA_SZIP_INCLUDE}
  31. compiler.lib.sz.libs : -L${SURFSARA_SZIP_LIB} -lsz
  32. ! HDF4 library:
  33. HDF_VERSION : hdf4/intel/4.2.9
  34. HDF_HOME : ${APPS_HOME}/${HDF_VERSION}
  35. compiler.lib.hdf4.fflags : -I${SURFSARA_HDF4_INCLUDE}
  36. compiler.lib.hdf4.libs : -L${SURFSARA_HDF4_LIB} -lmfhdf -ldf -ljpeg -lz
  37. ! HDF5 library:
  38. HDF5_VERSION : hdf5/serial/intel/1.8.10-patch1
  39. HDF5_HOME : ${APPS_HOME}/${HDF5_VERSION}
  40. compiler.lib.hdf5.fflags : -I${SURFSARA_HDF5_INCLUDE}
  41. compiler.lib.hdf5.libs : -L${SURFSARA_HDF5_LIB} -lhdf5 -lz
  42. ! HDF5 library with parallel features enabled:
  43. HDF5_PAR_VERSION : hdf5/impi/intel/1.8.9
  44. HDF5_PAR_HOME : ${APPS_HOME}/${HDF5_PAR_VERSION}
  45. compiler.lib.hdf5_par.fflags : -I${SURFSARA_HDF5_INCLUDE}
  46. compiler.lib.hdf5_par.libs : -L${SURFSARA_HDF5_LIB} -lhdf5_fortran -lhdf5 -lz
  47. ! NetCDF library:
  48. NETCDF_VERSION : netcdf/serial/intel/4.1.3
  49. NETCDF_HOME : ${APPS_HOME}/${NETCDF_VERSION}
  50. compiler.lib.netcdf.fflags : -I${SURFSARA_NETCDF_INCLUDE}
  51. compiler.lib.netcdf.libs : -L$/{SURFSARA_NETCDF_LIB} -lnetcdff -lnetcdf
  52. ! NetCDF4 library:
  53. NETCDF4_VERSION : netcdf/serial/intel/4.1.3
  54. NETCDF4_HOME : ${APPS_HOME}/${NETCDF4_VERSION}
  55. compiler.lib.netcdf4.fflags : -I${SURFSARA_NETCDF_INCLUDE}
  56. compiler.lib.netcdf4.libs : -L$/{SURFSARA_NETCDF_LIB} -lnetcdff -lnetcdf
  57. ! NetCDF4 library with parallel features enabled:
  58. NETCDF4_PAR_VERSION : netcdf/impi/intel/4.1.3
  59. NETCDF4_PAR_HOME : ${APPS_HOME}/${NETCDF4_PAR_VERSION}
  60. compiler.lib.netcdf4_par.fflags : -I${SURFSARA_NETCDF_INCLUDE}
  61. compiler.lib.netcdf4_par.libs : -L${SURFSARA_NETCDF_LIB} -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -lcurl
  62. !>>> DEPRICATED
  63. !! Parallel-NetCDF library:
  64. PNETCDF_VERSION : pnetcdf/1.0.1
  65. PNETCDF_HOME : /opt/pnetcdf/lib
  66. !PNETCDF_HOME : ${APPS_HOME}/${PNETCDF_VERSION}/${AMODE}
  67. compiler.lib.pnetcdf.fflags : -I${PNETCDF_HOME}/include
  68. compiler.lib.pnetcdf.libs : -L${PNETCDF_HOME}/lib -lpnetcdf
  69. !<<<
  70. ! UDUNITS version 1 library:
  71. intel.usr.base : /Users/ivdvelde
  72. UDUNITS_VERSION : udunits-1.12.11/
  73. UDUNITS_HOME : ${intel.usr.base}/${UDUNITS_VERSION}
  74. compiler.lib.udunits.fflags : -I/home/ivdvelde/local/udunits/include
  75. compiler.lib.udunits.libs : -L/home/ivdvelde/local/udunits/lib -ludunits
  76. ! MPI library: automatically included using 'mp'xlf90
  77. compiler.lib.mpi.fflags :
  78. compiler.lib.mpi.libs :
  79. ! GRIB library: the EMOSLIB variable should be the real(8) version:
  80. ! EMOSLIB = -L/usr/local/lib/metaps/lib/000370 -lemos.R64.D64.I32
  81. compiler.lib.grib.fflags :
  82. compiler.lib.grib.libs : -lemos
  83. !
  84. ! Lapack library:
  85. ! -lessl -lblacs # serial
  86. ! -lesslsmp -lblacssmp # parallel with OpenMP
  87. ! -lessl -lpessl -lblacs # parallel with MPI
  88. ! -lesslsmp -lpesslsmp -lblacssmp # parallel with MPI and OpenMP
  89. !
  90. #if "${par.openmp}" in ["T","True"] :
  91. compiler.lib.lapack.libs : -L$(MKLROOT)/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lm
  92. #else
  93. compiler.lib.lapack.libs : -L$(MKLROOT)/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm
  94. #endif
  95. !#if "${par.mpi}" in ["T","True"] :
  96. !my.pessl : -lpessl${my.essl.ext}
  97. !#else
  98. !my.pessl :
  99. !#endif
  100. compiler.lib.lapack.fflags : -I$(MKLROOT)/include
  101. !compiler.lib.lapack.libs : -lessl${my.essl.ext} ${my.pessl} -lblacs${my.essl.ext}
  102. ! TotalView memory debugging:
  103. !TV_VERSION : 8.9.0-1
  104. !TV_ARCH : rs6000
  105. !TV_HOME : ${TV_DIR}.${TV_VERSION}/${TV_ARCH}
  106. !TV_HOME_MR : /ms_perm/JRC/jrr/opt/totalview.${TV_VERSION}/${TV_ARCH}
  107. !compiler.lib.tv.fflags :
  108. !compiler.lib.tv.libs : -L${TV_HOME_MR}/lib -L${TV_HOME}/lib ${TV_HOME}/lib/aix_malloctype64_5.o
  109. !===============================================
  110. ! settings for SLURM job manager
  111. !===============================================
  112. #include base/${my.branch}/rc/pycasso-queue-slurm.rc
  113. !===============================================
  114. ! maker
  115. !===============================================
  116. ! make command;
  117. ! the setup script will insert the 'build.jobs' specified in the expert.rc
  118. ! or passed as argument to the setup script:
  119. !
  120. maker : gmake -j %{build.jobs}
  121. !===============================================
  122. ! MPI runner
  123. !===============================================
  124. ! Parallel Operating Environment (POE)
  125. ! Common arguments:
  126. ! -procs procs # number of processors
  127. ! -cmdfile <commandfile>
  128. ! -hostfile <hostfile>
  129. ! -labelio {yes | no} # label standard output lines with pe id
  130. !
  131. mpirun.command : srun
  132. mpirun.args : -l
  133. ! -n ${par.ntask}
  134. ! name of command and host files (empty for not written):
  135. !mpirun.cmdfile : ${my.basename}.cmdfile
  136. !mpirun.hostfile : ${my.basename}.hostfile
  137. !===============================================
  138. ! debugger
  139. !===============================================
  140. ! debugger type: totalview | idb | kdbg
  141. debugger : totalview
  142. ! command for debugger:
  143. debugger.command : totalview -searchPath=${build.sourcedir}
  144. !debugger.command : totalview
  145. !===============================================
  146. ! model data
  147. !===============================================
  148. ! the user scratch directory:
  149. !my.scratch : ${TMPDIR}
  150. my.scratch : /scratch/shared/krol
  151. ! base path to various data files:
  152. my.data.dir : /scratch/shared/krol/DATA/
  153. ! run time meteo archive:
  154. ! o user scratch:
  155. !my.meteo.dir : ${my.scratch}/tmm-buf/${my.meteo.class}
  156. my.meteo.dir : ${my.scratch}/tm5_meteo_in/
  157. ! o shared scratch for JRC users:
  158. !my.meteo.dir : ${my.scratch}/../jrd/tmm-buf/${my.meteo.class}
  159. ! permanent archives to search for meteo files:
  160. my.meteo.search : ${my.scratch}/METEO /projects/huygens_projects/tm5meteo/mcn1/FILESET/fileset_mt5meteo/
  161. ! extra install tasks:
  162. my.install.tasks :