Skip to content

Commit

Permalink
Merge branch 'jgfouca/scripts/prepare_blues_for_jenkins' into next (PR
Browse files Browse the repository at this point in the history
…#172)

Prepare jenkins scripts to add blues to CI testing.
Also minor modifcations to blues machine config.

CESMSCRATCHROOT was not defined in the blues configuration. So
users need to specify "-sharedlibroot" when trying to build
and run tests using create_test. If the user misses the
"-sharedlibroot" argument the build fails. This commit fixes
this issue by explicitly specifying the scratch root for blues.

acme-developer passes on blues/intel

Fixes #154

SEG-29
  • Loading branch information
rljacob committed Apr 9, 2015
2 parents 90131f7 + 9bcf647 commit 2feb1de
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/acme/acme_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
("skybridge", re.compile(r"skybridge-login")),
("melvin", re.compile(r"melvin")),
("edison", re.compile(r"edison")),
("blues", re.compile(r"blogin")),
]

###############################################################################
Expand Down
8 changes: 8 additions & 0 deletions scripts/acme/jenkins_generic_job
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ MACHINE_INFO = {
"/scratch1/scratchdirs/<USER>/acme_scratch",
None
),
"blues" : (
"pgi",
"acme_developer",
True,
"ACME",
"/lcrc/project/$PROJECT/$CCSMUSER/acme_scratch",
None
),
}

###############################################################################
Expand Down
5 changes: 3 additions & 2 deletions scripts/ccsm_utils/Machines/config_machines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,9 @@
<DESC>ANL/LCRC Linux Cluster</DESC>
<COMPILERS>intel,gnu,pgi</COMPILERS>
<MPILIBS>openmpi,mpich,mpi-serial</MPILIBS>
<RUNDIR>/lcrc/project/$PROJECT/$CCSMUSER/$CASE/run</RUNDIR>
<EXEROOT>/lcrc/project/$PROJECT/$CCSMUSER/$CASE/bld</EXEROOT>
<CESMSCRATCHROOT>/lcrc/project/$PROJECT/$CCSMUSER/acme_scratch</CESMSCRATCHROOT>
<RUNDIR>$CESMSCRATCHROOT/$CASE/run</RUNDIR>
<EXEROOT>$CESMSCRATCHROOT/$CASE/bld</EXEROOT>
<DIN_LOC_ROOT>/home/ccsm-data/inputdata</DIN_LOC_ROOT>
<DIN_LOC_ROOT_CLMFORC>/home/ccsm-data/inputdata/atm/datm7</DIN_LOC_ROOT_CLMFORC>
<DOUT_S_ROOT>/lcrc/project/$PROJECT/$CCSMUSER/archive/$CASE</DOUT_S_ROOT>
Expand Down

0 comments on commit 2feb1de

Please sign in to comment.