-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added env_mach_specific.lawrencium-lr3
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#! /bin/csh -f | ||
|
||
set CESM_REPO = `./xmlquery CCSM_REPOTAG -value` | ||
if($status == 0) then | ||
set COMPILER = `./xmlquery COMPILER -value` | ||
set MPILIB = `./xmlquery MPILIB -value` | ||
set DEBUG = `./xmlquery DEBUG -value` | ||
set OS = `./xmlquery OS -value` | ||
set PROFILE_PAPI_ENABLE = `./xmlquery PROFILE_PAPI_ENABLE -value` | ||
set PROJECT = `./xmlquery PROJECT -value` | ||
else | ||
echo $0 using settings from environment: | ||
endif | ||
echo "COMPILER=$COMPILER" | ||
echo "MPILIB=$MPILIB" | ||
echo "DEBUG=$DEBUG" | ||
echo "OS=$OS" | ||
echo "PROJECT=$PROJECT" | ||
|
||
source /etc/profile.d/modules.csh | ||
module purge | ||
module load cmake | ||
module load perl xml-libxml switch | ||
|
||
if ( $COMPILER == "intel" ) then | ||
module load intel/2015.6.233 | ||
module load openmpi | ||
module load netcdf/4.4.0-intel-p | ||
module load mkl | ||
endif | ||
|
||
setenv NETCDF_PATH $NETCDF_DIR | ||
#------------------------------------------------------------------------------- | ||
|
||
limit coredumpsize 1000000 | ||
limit stacksize unlimited | ||
|