machine-sara-cartesius.rc 7.7 KB

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