Skip to content

Commit

Permalink
Merge pull request #365 from E3SM-Project/jgfouca/descream_ekat
Browse files Browse the repository at this point in the history
De-scream a few things in EKAT
  • Loading branch information
jgfouca authored Feb 21, 2025
2 parents ada2c92 + 1205741 commit 0e2d1da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions scripts/jenkins/jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export WORK_DIR=$(pwd)
export SCREAM_SCRIPTS=${WORK_DIR}/scream/components/eamxx/scripts
export JENKINS_SCRIPT_DIR=${SCREAM_SCRIPTS}/jenkins # some scream env setups depend on this
source ${SCREAM_SCRIPTS}/jenkins/${NODE_NAME}_setup
source ${SCREAM_SCRIPTS}/source_to_load_scream_env.sh
source ${SCREAM_SCRIPTS}/source_to_load_eamxx_env.sh

if [ -z "$SCREAM_MACHINE" ]; then
echo "SCREAM_MACHINE must be set by ${SCREAM_SCRIPTS}/jenkins/${NODE_NAME}_setup in order for jenkins infrastructure to work"
Expand All @@ -25,7 +25,7 @@ fi

export SCREAM_MACHINE

BATCHP=$(${SCREAM_SCRIPTS}/query-scream $SCREAM_MACHINE batch)
BATCHP=$(${SCREAM_SCRIPTS}/query-eamxx $SCREAM_MACHINE batch)

set -o pipefail
$BATCHP $EKAT_JENKINS_SCRIPT_DIR/jenkins_impl.sh 2>&1 | tee JENKINS_$DATE_STAMP
12 changes: 6 additions & 6 deletions scripts/jenkins/jenkins_impl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ if [ $? -ne 0 ]; then
fi

# Query scream for machine info
MPICXX=$(${SCREAM_SCRIPTS}/query-scream $SCREAM_MACHINE cxx_compiler)
MPICC=$(${SCREAM_SCRIPTS}/query-scream $SCREAM_MACHINE c_compiler)
MPIF90=$(${SCREAM_SCRIPTS}/query-scream $SCREAM_MACHINE f90_compiler)
COMP_J=$(${SCREAM_SCRIPTS}/query-scream $SCREAM_MACHINE comp_j)
TEST_J=$(${SCREAM_SCRIPTS}/query-scream $SCREAM_MACHINE test_j)
ISCUDA=$(${SCREAM_SCRIPTS}/query-scream $SCREAM_MACHINE cuda)
MPICXX=$(${SCREAM_SCRIPTS}/query-eamxx $SCREAM_MACHINE cxx_compiler)
MPICC=$(${SCREAM_SCRIPTS}/query-eamxx $SCREAM_MACHINE c_compiler)
MPIF90=$(${SCREAM_SCRIPTS}/query-eamxx $SCREAM_MACHINE f90_compiler)
COMP_J=$(${SCREAM_SCRIPTS}/query-eamxx $SCREAM_MACHINE comp_j)
TEST_J=$(${SCREAM_SCRIPTS}/query-eamxx $SCREAM_MACHINE test_j)
ISCUDA=$(${SCREAM_SCRIPTS}/query-eamxx $SCREAM_MACHINE cuda)

# We create separate builds for single precision (SP), double precision (DP),
# DP with floating point exceptions enabled (FPE), and, on CUDA, DP with
Expand Down

0 comments on commit 0e2d1da

Please sign in to comment.