machine-theia.rc 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. !===============================================
  2. ! compiler information
  3. !===============================================
  4. !
  5. ! All the keys in this section should be filled here or put in a compiler rc
  6. ! file. See the other machine rc files for examples.
  7. !
  8. ! So, either include a file:
  9. #include ${my.svn.dir}/rc/compiler-ifort-15.0.1-theia.rc
  10. !===============================================
  11. ! libraries for HDF4 support (mandatory)
  12. !===============================================
  13. ! Z library (used for compression in HDF)
  14. compiler.lib.z.fflags :
  15. compiler.lib.z.libs : -lz
  16. ! JPEG library (used for compression in HDF)
  17. JPEG_HOME :
  18. compiler.lib.jpeg.fflags :
  19. compiler.lib.jpeg.libs : -ljpeg
  20. ! SZ library (used for compression in HDF)
  21. SZIP_HOME :
  22. compiler.lib.sz.fflags : -I${SZIP}/include
  23. compiler.lib.sz.libs : -L${SZIP}/lib -lsz
  24. ! HDF4 library (without netcdf interface)
  25. HDF4_HOME :
  26. compiler.lib.hdf4.fflags : ${HDF4_INCLUDE_OPTS}
  27. compiler.lib.hdf4.libs : ${HDF4_LINK_OPTS}
  28. !===============================================
  29. ! libraries for NetCDF support (mandatory)
  30. !===============================================
  31. !
  32. ! Use one netcdf library, optionaly with hdf5 if needed. To do, so add the
  33. ! corresponding 'with_*' to the 'my.df.define' key in your main rc file.
  34. ! NetCDF3 library (with_netcdf)
  35. NETCDF_HOME :
  36. compiler.lib.netcdf.fflags :
  37. compiler.lib.netcdf.libs :
  38. ! NetCDF4 library (with_netdf4)
  39. NETCDF4_HOME :
  40. compiler.lib.netcdf4.fflags :
  41. compiler.lib.netcdf4.libs :
  42. ! NetCDF4 library with parallel IO features (with_netcdf4_par)
  43. NETCDF4_MPI_HOME : ${NETCDF}
  44. compiler.lib.netcdf4_par.fflags : -I${NETCDF}/include
  45. compiler.lib.netcdf4_par.libs : -L${NETCDF}/lib -lnetcdff -lnetcdf
  46. ! * since NetCDF4 is build on top of HDF5, you may have to link/include HDF5
  47. ! * library when building the code:
  48. ! HDF5 library (with_hdf5)
  49. HDF5_HOME :
  50. compiler.lib.hdf5.fflags :
  51. compiler.lib.hdf5.libs :
  52. ! HDF5 library with parallel features (with_hdf5_par)
  53. HDF5_MPI_HOME : ${HDF5}
  54. compiler.lib.hdf5_par.fflags : ${HDF5_INCLUDE_OPTS}
  55. compiler.lib.hdf5_par.libs : ${HDF5_LINK_OPTS}
  56. !===============================================
  57. ! Other libraries
  58. !===============================================
  59. ! MPI library
  60. MPI_HOME :
  61. compiler.lib.mpi.fflags :
  62. compiler.lib.mpi.libs :
  63. ! GRIB-API library (optional). It is needed only if you read meteo files from
  64. ! the ECMWF MARS system, where they are in grib format.
  65. compiler.lib.grib_api.fflags :
  66. compiler.lib.grib_api.libs :
  67. ! a UDUNITS library is optional. It can be used if you are reading meteo files
  68. ! in netCDF format to check that units conversion are correct. It is known to
  69. ! slow down the code significantly. The two main version are supported.
  70. ! Udunits v1.x library (add with_udunits1 to my.tmm.define in your main rc file)
  71. UDUNITS_HOME :
  72. compiler.lib.udunits1.fflags :
  73. compiler.lib.udunits1.libs :
  74. ! Udunits v2.x library (add with_udunits2 to my.tmm.define in your main rc file)
  75. compiler.lib.udunits2.fflags :
  76. compiler.lib.udunits2.libs :
  77. ! LAPACK library (optional). If available, add the with_lapack to
  78. ! my.tm5.define in your main rc file. see User Manual for further details.
  79. LAPACK_HOME :
  80. compiler.lib.lapack.fflags :
  81. compiler.lib.lapack.libs : -mkl=sequential
  82. !===============================================================
  83. ! SETTINGS FOR BATCH SCHEDULER (qsub,bsub,loadleveler,slurm,pbs)
  84. !===============================================================
  85. !
  86. ! Settings in this section can be in a dedicated rc file, or just left here. So,
  87. ! either include such a file:
  88. #include ${my.svn.dir}/rc/queue-slurm-theia.rc
  89. !===============================================
  90. ! make
  91. !===============================================
  92. !
  93. ! Specify the make command. The setup script will insert the 'build.jobs'
  94. ! specified in the expert.rc (probably 8). But can be overwritten at the
  95. ! command line (argument to 'setup_tm5' script)
  96. !
  97. maker : gmake -j %{build.jobs}
  98. !JOB-COMPILE ! If you want to submit the compilation to a compute node, uncomment and set
  99. !JOB-COMPILE ! the necessary keys. See user manual for the further details.
  100. !JOB-COMPILE !
  101. !JOB-COMPILE ! - if F (default), pycasso calls the ${maker} command in the foreground.
  102. !JOB-COMPILE ! - if T, then compilation is submitted according to "submit.to" key (default
  103. !JOB-COMPILE ! of which is set in expert.rc, and can be overwritten at the CLI): either "queue", or foreground.
  104. !JOB-COMPILE !
  105. !JOB-COMPILE ! "my.queue.make" should be set in the main rc file, so the user can switch it on/off from there.
  106. !JOB-COMPILE !
  107. !JOB-COMPILE build.make.submit : ${my.queue.make}
  108. !JOB-COMPILE
  109. !JOB-COMPILE ! list of options for the job manager, and their value
  110. !JOB-COMPILE queue.<scheduler-name>.options.build : option1 option2 option3...
  111. !JOB-COMPILE queue.<scheduler-name>.option.build.<option1> :
  112. !JOB-COMPILE queue.<scheduler-name>.option.build.<option2> :
  113. !JOB-COMPILE queue.<scheduler-name>.option.build.<option3> :
  114. !===============================================
  115. ! MPI runner
  116. !===============================================
  117. !
  118. ! command for running MPI parallel programs
  119. mpirun.command : srun
  120. mpirun.args :
  121. ! name of command file; if empty, then executable and arguments are added to the command line
  122. mpirun.cmdfile :
  123. ! name of host file
  124. mpirun.hostfile :
  125. !===============================================
  126. ! debugger
  127. !===============================================
  128. !
  129. ! type: totalview | idb | kdbg
  130. debugger : totalview
  131. ! command for debugger
  132. ! o KDE debugger around gdb (Linux systems using gfortran)
  133. !debugger.command : kdbg
  134. ! o Intel debugger (for systems with Intel compiler)
  135. !debugger.command : idb -gui
  136. ! o TotalView (IBM)
  137. debugger.command : totalview -searchPath=${build.sourcedir}
  138. !===============================================
  139. ! model data
  140. !===============================================
  141. ! the user scratch directory
  142. my.scratch : ${CARBONTRACKER}
  143. ! *Permanent* archives to search for meteo files
  144. ! (Note that the location of the meteo files at runtime is set in the main rc)
  145. my.meteo.search : ${CARBONTRACKER}/METEO/tm5-nc
  146. ! base path to other input data files distributed with the model
  147. my.data.dir :
  148. ! extra install tasks
  149. my.install.tasks :