pycasso-machine-maunaloa-gnu.rc 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. !
  2. ! machine/compiler specific settings
  3. !
  4. ! The environment variables below are set by loading the proper modules into the environment!!!
  5. gnu.opt.base : /usr/local/gnu/gnu_4.3.3/
  6. gnu.usr.base : /usr/local/gnu/gnu_4.3.3/
  7. ! template settings for GNU Fortran compiler:
  8. #include base/${my.branch}/rc/pycasso-compiler-gfortran-4.1.rc
  9. ! compilers with MPI enabled:
  10. ! o same compilers, flags defined in options:
  11. !mpi.compiler.fc : ${compiler.fc}
  12. !mpi.compiler.fc.openmp : ${compiler.fc.openmp}
  13. ! o use wrapper:
  14. !mpi.compiler.fc : openmpif90
  15. !mpi.compiler.fc.openmp : openmpif90
  16. ! template settings for Intel fortran compiler:
  17. !#include base/${my.branch}/rc/pycasso-compiler-ifort-12.1.rc
  18. ! compilers with MPI enabled:
  19. ! o same compilers, flags defined in options:
  20. !mpi.compiler.fc : ${compiler.fc}
  21. !mpi.compiler.fc.openmp : ${compiler.fc.openmp}
  22. mpi.bin : ${gnu.usr.base}/mpich2-1.3.1/suite/bin/
  23. mpi.compiler.fc : ${mpi.bin}/mpif90
  24. mpi.compiler.fc.openmp : ${mpi.bin}/mpif90
  25. ! template settings for Intel Fortran compiler:
  26. !include base/branches/pycasso/rc/compiler.ifort-12.1.rc
  27. ! template settings for IBM xlf compiler:
  28. !include base/branches/pycasso/rc/compiler.xlf-12.1.rc
  29. !
  30. ! libraries
  31. !
  32. my.macports :
  33. ! Z library (used for compression in HDF4)
  34. compiler.lib.z.fflags :
  35. compiler.lib.z.libs : -lz
  36. ! JPEG library (used for compression in HDF4)
  37. JPEG_HOME : ${gnu.usr.base}/jpegsrc.v6b/
  38. compiler.lib.jpeg.fflags :
  39. compiler.lib.jpeg.libs : -L${JPEG_HOME}/lib -ljpeg
  40. ! SZ library (used for compression in HDF4)
  41. SZIP_HOME : ${gnu.usr.base}/szip-2.1/
  42. compiler.lib.sz.fflags : -I${SZIP_HOME}/include
  43. compiler.lib.sz.libs : -L${SZIP_HOME}/lib -lsz -Wl,-rpath -Wl,${SZIP_HOME}/lib
  44. ! HDF4 library:
  45. HDF4_HOME : ${gnu.usr.base}/hdf-4.2.5/
  46. compiler.lib.hdf4.fflags : -I${HDF4_HOME}/include
  47. compiler.lib.hdf4.libs : -L${HDF4_HOME}/lib -lmfhdf -ldf -ljpeg -lz
  48. ! HDF5 library:
  49. HDF5_HOME : ${gnu.usr.base}/hdf5-1.8.5-patch1
  50. compiler.lib.hdf5.fflags : -I${HDF5_HOME}/include
  51. compiler.lib.hdf5.libs : -L${HDF5_HOME}/lib -lhdf5_hl -lhdf5_fortran -lhdf5 -Wl,-rpath -Wl,${HDF5_HOME}/lib
  52. ! HDF5 library with parallel features:
  53. HDF5_MPI_HOME : ${gnu.usr.base}/mpich2-1.3.1/hdf5-1.8.5-patch1
  54. compiler.lib.hdf5_par.fflags :
  55. compiler.lib.hdf5_par.libs : -L${HDF5_MPI_HOME}/lib -lhdf5_hl -lhdf5
  56. ! NetCDF library:
  57. ! NOTE WP: This is the "classic" netcdf3 library compiled with gfortran
  58. !NETCDF_HOME : ${my.macports}
  59. NETCDF_HOME : ${gnu.usr.base}/netcdf-4.1.1
  60. compiler.lib.netcdf.fflags : -I${NETCDF_HOME}/include
  61. compiler.lib.netcdf.libs : -L${NETCDF_HOME}/lib -lnetcdf
  62. ! NetCDF4 library:
  63. NETCDF4_HOME : ${gnu.usr.base}/netcdf4-4.1.1
  64. compiler.lib.netcdf4.fflags : -I${NETCDF4_HOME}/include
  65. compiler.lib.netcdf4.libs : -L${NETCDF4_HOME}/lib -lnetcdf -L/opt/local/lib/ -lcurl
  66. ! NetCDF4 library with parallel features:
  67. NETCDF4_MPI_HOME : ${gnu.usr.base}/mpich2-1.3.1/netcdf4-4.1.1
  68. compiler.lib.netcdf4_par.fflags : -I${NETCDF4_MPI_HOME}/include
  69. compiler.lib.netcdf4_par.libs : -L${NETCDF4_MPI_HOME}/lib -lnetcdf
  70. ! MPI library:
  71. MPI_HOME : ${gnu.usr.base}/mpich2-1.3.1/suite
  72. compiler.lib.mpi.fflags : -I${MPI_HOME}/include
  73. compiler.lib.mpi.libs : -L${MPI_HOME}/lib -lmpich
  74. ! GRIB library:
  75. GRIBEX_HOME : /usr
  76. compiler.lib.grib.fflags : -I${GRIBEX_HOME}/include
  77. compiler.lib.grib.libs : -L${GRIBEX_HOME}/lib -lgribex
  78. ! Lapack library: (note that MKL is an environment variable set through the module environment)
  79. !MKL : ${gnu.opt.base}/Frameworks/mkl/
  80. !compiler.lib.lapack.fflags : -I${MKL_INC}
  81. !compiler.lib.lapack.libs : -L${MKL}/ -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lguide -lpthread
  82. !compiler.lib.lapack.libs : -L${MKL}/ -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread
  83. !
  84. !
  85. ! UDUNITS version 1 library:
  86. UDUNITS_VERSION : udunits-1.12.11/
  87. UDUNITS_HOME : ${gnu.usr.base}/${UDUNITS_VERSION}
  88. compiler.lib.udunits.fflags : -I${UDUNITS_HOME}/include
  89. compiler.lib.udunits.libs : -L${UDUNITS_HOME}/lib -ludunits
  90. !
  91. ! queue
  92. !
  93. ! template settings for LoadLeveler queue:
  94. !include base/branches/pycasso/rc/queue.loadleveler.rc
  95. ! template settings for BSUB queue:
  96. !include base/branches/pycasso/rc/queue.bsub.rc
  97. ! template settings for QSUB queue:
  98. !include base/branches/pycasso/rc/queue.qsub.rc
  99. !
  100. ! jobs
  101. !
  102. ! shell to use in job scripts:
  103. ! o python scripts:
  104. job.shell.python : /usr/bin/env python
  105. !
  106. ! maker
  107. !
  108. ! make command;
  109. ! the setup script will insert the 'build.jobs' specified in the expert.rc
  110. ! or passed as argument to the setup script:
  111. !
  112. maker : make -j %{build.jobs}
  113. !
  114. ! MPI runner
  115. !
  116. ! command for running MPI parallel programs
  117. !
  118. ! o MPI run (part of MPI distribution)
  119. !
  120. ! command and arguments; no command file written, thus executable and arguments are added
  121. ! For gfortran
  122. mpirun.command : ${gnu.usr.base}/mpich2-1.3.1/suite/bin/mpirun
  123. ! For ifort
  124. !mpirun.command : mprun
  125. mpirun.args : -np ${par.ntask}
  126. !
  127. ! name of command file; if empty, then executable and arguments are added to the command line
  128. mpirun.cmdfile :
  129. !
  130. ! name of host file:
  131. mpirun.hostfile :
  132. !!
  133. !! o POE = Parallel Operating Environment (IBM machines on ECMWF, SARA)
  134. !!
  135. !! command and arguments; the call to executable is written to the command file:
  136. !mpirun.command : poe
  137. !mpirun.args : -labelio yes -procs ${par.ntask} -cmdfile ${mpirun.cmdfile} -hostfile ${mpirun.hostfile}
  138. !!
  139. !! name of command and host files (empty for not written):
  140. !mpirun.cmdfile : ${my.basename}.cmdfile
  141. !mpirun.hostfile : ${my.basename}.hostfile
  142. !
  143. ! debugger
  144. !
  145. ! debugger type: totalview | idb | kdbg
  146. debugger : kdbg
  147. ! command for debugger:
  148. ! o KDE debugger around gdb (Linux systems using gfortran)
  149. debugger.command : kdbg
  150. ! o Intel debugger (for systems with Intel compiler)
  151. !debugger.command : idb -gui
  152. ! o TotalView (IBM)
  153. !debugger.command : totalview -searchPath=${build.sourcedir}
  154. !
  155. ! model data
  156. !
  157. ! the user scratch directory:
  158. my.scratch : /data/TM5/scratch/${USER}
  159. !my.scratch : ${TEMP}
  160. ! main archive:
  161. !my.archdir : /ms_perm/TM
  162. my.archdir : /Volumes/Storage/TM5
  163. ! base path to various data files:
  164. my.data.dir : ${my.archdir}/input
  165. ! local temporary meteo archive:
  166. my.meteo.dir : ${my.archdir}/METEO/meteo-buffer
  167. ! permanent archives to search for meteo files:
  168. #if "${my.meteo.format}" == "tm5-nc"
  169. my.meteo.search : /data/TM5/peters/NO-TAPE-YET/TM/meteo-nc/
  170. #else
  171. my.meteo.search : /Volumes/Storage/TM5/METEO
  172. #endif
  173. ! extra install tasks:
  174. my.install.tasks :