============= Compiler GNU ======================== #%Modules proc ModulesHelp { } { puts stderr "\tThis module provides the path for compiler GNU\n"; puts stderr "\tVersion 4.7.\n"; } setenv GNU_LIB /opt/centos/devtoolset-1.1/root/usr/lib prepend-path LD_LIBRARY_PATH "/opt/centos/devtoolset-1.1/root/usr/lib" prepend-path PATH "/opt/centos/devtoolset-1.1/root/usr/bin" #EOF ============= HDF5 GNU ======================== #%Modules proc ModulesHelp { } { puts stderr "\tThis module provides the path for HDF5\n"; puts stderr "\tVersion 1.8.12 compiled with the GNU Compilers\n"; } if { ! [is-loaded gnu/4.7.2 ] } { module load gnu/4.7.2 } prereq gnu/4.7.2 setenv HDF5_LIB /opt/hdf5/1.8.12/gnu/lib setenv HDF5_PREFIX /opt/hdf5/1.8.12/gnu/ setenv HDF5_INCLUDE /opt/hdf5/1.8.12/gnu/include prepend-path LD_LIBRARY_PATH "/opt/hdf5/1.8.12/gnu/lib" #EOF ========== NETCDF GNU ==================== #%Modules proc ModulesHelp { } { puts stderr "\tThis module provides the path for the NetCDF library\n"; puts stderr "\tVersion 4.3.0 compiled with GNU Compiler\n"; } if { ! [is-loaded hdf5/1.8.12/gnu ] } { module load hdf5/1.8.12/gnu } prereq hdf5/1.8.12/gnu setenv NETCDF_INC /opt/netcdf/4.3.0/gnu/include setenv NETCDF_LIB /opt/netcdf/4.3.0/gnu/lib prepend-path LD_LIBRARY_PATH "/opt/netcdf/4.3.0/gnu/lib" prepend-path PATH "/opt/netcdf/4.3.0/gnu/bin" #EOF ========== OPENMPI GNU ==================== #%Modules proc ModulesHelp { } { puts stderr "\tThis module provides the path for the openmpi library\n"; puts stderr "\tVersion o1.6.5 compiled with GNU Compiler\n"; } if { ! [is-loaded gnu/4.7.2 ] } { module load gnu/4.7.2 } prereq gnu/4.7.2 setenv OPENMPI_INC /opt/openmpi/1.6.5/gnu/4.7.2/torque/include setenv OPENMPI_LIB /opt/openmpi/1.6.5/gnu/4.7.2/torque/lib prepend-path LD_LIBRARY_PATH "/opt/openmpi/1.6.5/gnu/4.7.2/torque/lib" prepend-path PATH "/opt/openmpi/1.6.5/gnu/4.7.2/torque/bin" #EOF ========== CDO GNU ==================== #%Modules proc ModulesHelp { } { puts stderr "\tThis module provides the path for the CDO library\n"; puts stderr "\tVersion 1.6.2 compiled with GNU Compiler\n"; } if { ! [is-loaded load netcdf/4.3.0/gnu ] } { module load netcdf/4.3.0/gnu } prereq netcdf/4.3.0/gnu prepend-path PATH "/opt/cdo/1.6.2/gnu/bin" #EOF ========== NCO GNU ==================== #%Modules proc ModulesHelp { } { puts stderr "\tThis module provides the path for the NCO library\n"; puts stderr "\tVersion 4.3.8 compiled with GNU Compiler\n"; } if { ! [is-loaded load netcdf/4.3.0/gnu ] } { module load netcdf/4.3.0/gnu } prereq netcdf/4.3.0/gnu setenv NCO_INC /opt/nco/4.3.8/include setenv NCO_LIB /opt/nco/4.3.8/lib prepend-path LD_LIBRARY_PATH "/opt/nco/4.3.8/lib" prepend-path PATH "/opt/nco/4.3.8/bin" #EOF =========== REGCM GNU ================ #%Modules proc ModulesHelp { } { puts stderr "\tThis module provides the path for RegCM4 executables\n"; puts stderr "\tThis REGCM version was compiled with GNU compiler\n"; puts stderr "\tAll required modules will be automatically loaded\n"; } if { ! [is-loaded openmpi/1.6.5/gnu ]} { module load openmpi/1.6.5/gnu; } if { ! [is-loaded netcdf/4.3.0/gnu ]} { module load netcdf/4.3.0/gnu; } prereq openmpi/1.6.5/gnu/4.7.2 netcdf/4.3.0/gnu conflict regcm/intel prepend-path PATH "/opt/RegCM/4.4rc16/gnu/bin" #EOF