machine-tno-hpc.rc 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. !===============================================
  2. ! compiler information
  3. !===============================================
  4. ! #if "${par.prof}" in ["T","True"] :
  5. ! COMPIL : intel_c12.0.3_bullxmpi
  6. ! #else
  7. !COMPIL : intel_c12.0.4_impi4.0.2.003
  8. ! #endif
  9. ! compiler specific settings
  10. #include rc/compiler-ifort-14.0.1.rc
  11. !my.default.fflags : -i4 -r8 -O2 -ip -xSSE4.2
  12. ! mpi wrappers:
  13. mpi.compiler.fc : mpif90
  14. mpi.compiler.fc.openmp : mpif90
  15. !===============================================
  16. ! libraries
  17. ! *.lib.*.fflags : for include when compiling Fortran code
  18. ! *.lib.*.libs : for linking when building executable
  19. !===============================================
  20. !! root location of installed user libraries
  21. !APPS_HOME : /nfs_ltc/tm5_test/users/sager/BACKUP/LIBS
  22. !SUBDIR : COMPILATION_${COMPIL}
  23. ! Z library (used for compression in HDF)
  24. compiler.lib.z.fflags :
  25. compiler.lib.z.libs : -lz
  26. ! JPEG library (used for compression in HDF)
  27. compiler.lib.jpeg.fflags :
  28. compiler.lib.jpeg.libs : -ljpeg
  29. ! SZ library (used for compression in HDF)
  30. compiler.lib.sz.fflags : -I${SZIP_HOME}/include
  31. compiler.lib.sz.libs : -L${SZIP_HOME}/lib -lsz
  32. ! HDF4 library (without netcdf interface)
  33. compiler.lib.hdf4.fflags : -I${HDF4_HOME}/include
  34. compiler.lib.hdf4.libs : -L${HDF4_HOME}/lib -lmfhdf -ldf
  35. !! ! HDF5 library
  36. !HDF5_VERSION : hdf5-1.8.7
  37. !HDF5_HOME : ${APPS_HOME}/${HDF5_VERSION}/hdf5-1.8.7
  38. !compiler.lib.hdf5.fflags : -I${HDF5_HOME}/include
  39. !compiler.lib.hdf5.libs : -L${HDF5_HOME}/lib -lhdf5_hl -lhdf5
  40. ! HDF5 library with parallel features enabled
  41. compiler.lib.hdf5_par.fflags : -I${HDF5_MPI_HOME}/include
  42. compiler.lib.hdf5_par.libs : -L${HDF5_MPI_HOME}/lib -lhdf5_hl -lhdf5
  43. !! NetCDF library
  44. !NETCDF_VERSION : NETCDF.3.6.1/${SUBDIR}
  45. !NETCDF_HOME : ${APPS_HOME}/${NETCDF_VERSION}/netcdf-3.6.1
  46. !compiler.lib.netcdf.fflags : -I${NETCDF_HOME}/include
  47. !compiler.lib.netcdf.libs : -L${NETCDF_HOME}/lib -lnetcdf
  48. !
  49. !! NetCDF4 library
  50. !NETCDF4_VERSION : NETCDF.4.3.0/netcdf-4.3.0-C
  51. !NETCDF4_HOME : ${APPS_HOME}/${NETCDF4_PAR_VERSION}
  52. !compiler.lib.netcdf4.fflags : -I${NETCDF4_HOME}/include
  53. !compiler.lib.netcdf4.libs : -L${NETCDF4_HOME}/lib -lnetcdff -lnetcdf
  54. ! NetCDF4 library with parallel IO enabled
  55. compiler.lib.netcdf4_par.fflags : -I${NETCDF4_FORTRAN_HOME}/include
  56. compiler.lib.netcdf4_par.libs : -L${NETCDF4_FORTRAN_HOME}/lib -lnetcdff \
  57. -L${NETCDF4_HOME}/lib -lnetcdf
  58. !! Parallel-NetCDF library
  59. !PNETCDF_VERSION : PNETCDF.1.2.0/${SUBDIR}
  60. !PNETCDF_HOME : ${APPS_HOME}/${PNETCDF_VERSION}/parallel-netcdf-1.2.0
  61. !compiler.lib.pnetcdf.fflags : -I${PNETCDF_HOME}/include
  62. !compiler.lib.pnetcdf.libs : -L${PNETCDF_HOME}/lib -lpnetcdf
  63. !
  64. !! MPI library
  65. !compiler.lib.mpi.fflags :
  66. !compiler.lib.mpi.libs :
  67. !
  68. !! GRIB library: the EMOSLIB variable should be the real(8) version:
  69. !! EMOSLIB = -L/usr/local/lib/metaps/lib/000370 -lemos.R64.D64.I32
  70. !compiler.lib.grib.fflags :
  71. !compiler.lib.grib.libs : ${APPS_HOME}/EMOS
  72. !
  73. !! UDUNITS library:
  74. !UDUNITS_VERSION : udunits/1.12.11
  75. !UDUNITS_HOME : /nfs_ltc/tm5_test/users/sager/BACKUP/LIBS/UDUNITS-1.12.11/udunits-1.12.11-ifort
  76. !compiler.lib.udunits.fflags : -I${UDUNITS_HOME}/include
  77. !compiler.lib.udunits.libs : -L${UDUNITS_HOME}/lib -ludunits
  78. !
  79. !
  80. !! Lapack library:
  81. !! -lessl -lblacs # serial
  82. !! -lesslsmp -lblacssmp # parallel with OpenMP
  83. !! -lessl -lpessl -lblacs # parallel with MPI
  84. !! -lesslsmp -lpesslsmp -lblacssmp # parallel with MPI and OpenMP
  85. !!
  86. !#if "${par.openmp}" in ["T","True"] :
  87. !my.essl.ext : smp
  88. !#else
  89. !my.essl.ext :
  90. !#endif
  91. !#if "${par.mpi}" in ["T","True"] :
  92. !my.pessl : -lpessl${my.essl.ext}
  93. !#else
  94. !my.pessl :
  95. !#endif
  96. !!
  97. !compiler.lib.lapack.fflags :
  98. !compiler.lib.lapack.libs : -lessl${my.essl.ext} ${my.pessl} -lblacs${my.essl.ext}
  99. !===============================================
  100. ! settings for job manager
  101. !===============================================
  102. !
  103. ! Settings for LSF (BSUB) job manager
  104. !
  105. queue : bsub
  106. ! arguments passed directly to 'bsub' command:
  107. queue.bsub.submit.options :
  108. ! fixed:
  109. my.bsub.queue : normal
  110. ! options for the 'build' job, enabled by 'build.make.submit' below:
  111. queue.bsub.options.build : J q cwd oo eo
  112. queue.bsub.option.build.J : ${job.name}
  113. queue.bsub.option.build.q : ${my.bsub.queue}
  114. queue.bsub.option.build.cwd : ${my.run.dir}
  115. queue.bsub.option.build.n : ${build.jobs}
  116. queue.bsub.option.build.Rspan : -R "span[hosts=1]"
  117. queue.bsub.option.build.oo : <auto>
  118. queue.bsub.option.build.eo : <auto>
  119. ! ensure correct environment for init step
  120. queue.bsub.options.init : J q cwd oo eo
  121. queue.bsub.option.init.J : ${job.name}
  122. queue.bsub.option.init.q : ${my.bsub.queue}
  123. queue.bsub.option.init.cwd : ${my.run.dir}
  124. queue.bsub.option.init.oo : <auto>
  125. queue.bsub.option.init.eo : <auto>
  126. ! ensure correct environment for done step
  127. queue.bsub.options.done : J q oo eo
  128. queue.bsub.option.done.J : ${job.name}
  129. queue.bsub.option.done.q : ${my.bsub.queue}
  130. queue.bsub.option.done.cwd : ${my.run.dir}
  131. queue.bsub.option.done.oo : <auto>
  132. queue.bsub.option.done.eo : <auto>
  133. ! ensure correct environment for run step
  134. queue.bsub.options.run : J q n Rspan Rmem oo eo
  135. queue.bsub.option.run.J : ${job.name}
  136. queue.bsub.option.run.q : ${my.bsub.queue}
  137. queue.bsub.option.run.cwd : ${my.run.dir}
  138. queue.bsub.option.run.n : ${par.ntask}
  139. queue.bsub.option.run.Rspan : -R "span[hosts=1]"
  140. queue.bsub.option.run.Rmem : -R "rusage[mem=1700]"
  141. queue.bsub.option.run.oo : <auto>
  142. queue.bsub.option.run.eo : <auto>
  143. !===============================================
  144. ! maker
  145. !===============================================
  146. ! the setup script will insert the 'build.jobs' specified in the expert.rc
  147. ! or passed as argument to the setup script, and add Makefile and target to
  148. ! the command:
  149. !maker : gmake -j %{build.jobs}
  150. maker : gmake -j ${LSB_DJOB_NUMPROC}
  151. ! Submit compilation with a job script?
  152. ! - if F (default), pycasso calls the ${maker}
  153. ! - if T, then compilation is submitted according to "submit.to" key
  154. ! (default of which is set in expert.rc, and can be overwritten at the CLI):
  155. ! either "queue", or foreground.
  156. build.make.submit : F
  157. !===============================================
  158. ! MPI runner
  159. !===============================================
  160. ! command and arguments; no command file written, thus executable and arguments are added
  161. mpirun.command : mpirun
  162. mpirun.args : -np ${par.ntask}
  163. ! name of command file; if empty, then executable and arguments are added to the command line
  164. mpirun.cmdfile :
  165. ! name of host file:
  166. mpirun.hostfile :
  167. !===============================================
  168. ! debugger
  169. !===============================================
  170. ! debugger type: totalview | idb | kdbg
  171. debugger :
  172. ! command for debugger:
  173. debugger.command :
  174. !===============================================
  175. ! model data
  176. !===============================================
  177. ! the user scratch directory:
  178. my.scratch : ${SCRATCH}
  179. ! base path to various data files:
  180. my.data.dir : ${MODAS_SCRATCH01}/models/TM5mp
  181. ! permanent archives to search for meteo files
  182. my.meteo.search :
  183. ! extra install tasks
  184. my.install.tasks :