machine-knmi-neuron.rc 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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-12.0.4.rc
  11. my.default.fflags : -i4 -r8 -O2 -ip -xSSE4.2
  12. ! switch to mpif90 if using bullx
  13. mpi.compiler.fc : mpiifort
  14. mpi.compiler.fc.openmp : mpiifort
  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. JPEG_VERSION : 6b
  28. JPEG_LIB_DIR : ${APPS_HOME}/JPEG-6B/${SUBDIR}/jpeg-6b
  29. compiler.lib.jpeg.fflags : -I${JPEG_LIB_DIR}/include
  30. compiler.lib.jpeg.libs : -L${JPEG_LIB_DIR}/lib -ljpeg
  31. ! SZ library (used for compression in HDF)
  32. SZIP_VERSION : SZIP.2.1/${SUBDIR}
  33. SZIP_HOME : ${APPS_HOME}/${SZIP_VERSION}/szip-2.1
  34. compiler.lib.sz.fflags : -I${SZIP_HOME}/include
  35. compiler.lib.sz.libs : -L${SZIP_HOME}/lib -lsz
  36. ! HDF4 library (without netcdf interface)
  37. HDF_VERSION : HDF.4.2.9
  38. HDF_HOME : ${APPS_HOME}/${HDF_VERSION}/hdf4.2.9
  39. compiler.lib.hdf4.fflags : -I${HDF_HOME}/include
  40. compiler.lib.hdf4.libs : -L${HDF_HOME}/lib -lmfhdf -ldf
  41. ! ! HDF5 library
  42. HDF5_VERSION : hdf5-1.8.7
  43. HDF5_HOME : ${APPS_HOME}/${HDF5_VERSION}/hdf5-1.8.7
  44. compiler.lib.hdf5.fflags : -I${HDF5_HOME}/include
  45. compiler.lib.hdf5.libs : -L${HDF5_HOME}/lib -lhdf5_hl -lhdf5
  46. ! HDF5 library with parallel features enabled
  47. HDF5_PAR_VERSION : HDF5.1.8.11/COMPILATION_intel_c12.0.3_impi4.0.2.003
  48. HDF5_PAR_HOME : ${APPS_HOME}/${HDF5_PAR_VERSION}/hdf5-1.8.11
  49. compiler.lib.hdf5_par.fflags : -I${HDF5_PAR_HOME}/include
  50. compiler.lib.hdf5_par.libs : -L${HDF5_PAR_HOME}/lib -lhdf5_hl -lhdf5
  51. ! NetCDF library
  52. NETCDF_VERSION : NETCDF.3.6.1/${SUBDIR}
  53. NETCDF_HOME : ${APPS_HOME}/${NETCDF_VERSION}/netcdf-3.6.1
  54. compiler.lib.netcdf.fflags : -I${NETCDF_HOME}/include
  55. compiler.lib.netcdf.libs : -L${NETCDF_HOME}/lib -lnetcdf
  56. ! NetCDF4 library
  57. NETCDF4_VERSION : NETCDF.4.3.0/netcdf-4.3.0-C
  58. NETCDF4_HOME : ${APPS_HOME}/${NETCDF4_PAR_VERSION}
  59. compiler.lib.netcdf4.fflags : -I${NETCDF4_HOME}/include
  60. compiler.lib.netcdf4.libs : -L${NETCDF4_HOME}/lib -lnetcdff -lnetcdf
  61. ! NetCDF4 library with parallel IO enabled
  62. NETCDF4_PAR_VERSION : NETCDF.4.3.0/netcdf-4.3.0-C
  63. NETCDF4_PAR_HOME : ${APPS_HOME}/${NETCDF4_PAR_VERSION}
  64. compiler.lib.netcdf4_par.fflags : -I${NETCDF4_HOME}/include
  65. compiler.lib.netcdf4_par.libs : -L${NETCDF4_HOME}/lib -lnetcdff -lnetcdf
  66. ! Parallel-NetCDF library
  67. PNETCDF_VERSION : PNETCDF.1.2.0/${SUBDIR}
  68. PNETCDF_HOME : ${APPS_HOME}/${PNETCDF_VERSION}/parallel-netcdf-1.2.0
  69. compiler.lib.pnetcdf.fflags : -I${PNETCDF_HOME}/include
  70. compiler.lib.pnetcdf.libs : -L${PNETCDF_HOME}/lib -lpnetcdf
  71. ! MPI library
  72. compiler.lib.mpi.fflags :
  73. compiler.lib.mpi.libs :
  74. ! GRIB library: the EMOSLIB variable should be the real(8) version:
  75. ! EMOSLIB = -L/usr/local/lib/metaps/lib/000370 -lemos.R64.D64.I32
  76. compiler.lib.grib.fflags :
  77. compiler.lib.grib.libs : ${APPS_HOME}/EMOS
  78. ! UDUNITS v1.x library (not available)
  79. UDUNITS_VERSION : udunits/1.12.11
  80. UDUNITS_HOME : /nfs_ltc/tm5_test/users/sager/BACKUP/LIBS/UDUNITS-1.12.11/udunits-1.12.11-ifort
  81. compiler.lib.udunits.fflags : -I${UDUNITS_HOME}/include
  82. compiler.lib.udunits.libs : -L${UDUNITS_HOME}/lib -ludunits
  83. ! UDUNITS v2.x library
  84. compiler.lib.udunits2.fflags :
  85. compiler.lib.udunits2.libs :
  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. my.essl.ext : smp
  94. #else
  95. my.essl.ext :
  96. #endif
  97. #if "${par.mpi}" in ["T","True"] :
  98. my.pessl : -lpessl${my.essl.ext}
  99. #else
  100. my.pessl :
  101. #endif
  102. !
  103. compiler.lib.lapack.fflags :
  104. compiler.lib.lapack.libs : -lessl${my.essl.ext} ${my.pessl} -lblacs${my.essl.ext}
  105. !===============================================
  106. ! settings for SLURM job manager
  107. !===============================================
  108. #include rc/queue-slurm-knmi.rc
  109. !===============================================
  110. ! maker
  111. !===============================================
  112. ! the setup script will insert the 'build.jobs' specified in the expert.rc
  113. ! or passed as argument to the setup script, and add Makefile and target to
  114. ! the command:
  115. maker : gmake -j %{build.jobs}
  116. !===============================================
  117. ! MPI runner
  118. !===============================================
  119. ! Use now recommended method for Intel_MPI
  120. ! requires: export I_MPI_PMI_LIBRARY=/path/to/slurm/pmi/library/libpmi.so --> /usr/lib64/libpmi.so
  121. mpirun.command : srun
  122. mpirun.args : -n ${par.ntask}
  123. ! name of command and host files (leave empty if not needed)
  124. mpirun.cmdfile :
  125. mpirun.hostfile :
  126. ! BEFORE:
  127. !mpirun.command : mpiexec.hydra
  128. !!mpirun.command : mpirun ! if using bullxmpi
  129. !mpirun.args : -bootstrap slurm -np ${par.ntask} -machinefile ${mpirun.hostfile}
  130. !mpirun.hostfile : mpd.host
  131. !===============================================
  132. ! debugger
  133. !===============================================
  134. ! debugger type: totalview | idb | kdbg
  135. debugger :
  136. ! command for debugger:
  137. debugger.command :
  138. !===============================================
  139. ! model data
  140. !===============================================
  141. ! the user scratch directory:
  142. !my.scratch : /nfs_stc/tm5_oper/tm5/TEMP/
  143. my.scratch : /nfs_ltc/tm5_test/users/sager/SCRATCH
  144. ! base path to various data files:
  145. !my.data.dir : /nfs_ltc/tm5_test/users/sager/BACKUP/TM5_DATA/data
  146. my.data.dir : /nfs_ltc/tm5_test/users/sager/DATA/bench4_data/TM56_input
  147. ! permanent archives to search for meteo files
  148. my.meteo.search :
  149. ! extra install tasks
  150. my.install.tasks :