Skip to content

Commit

Permalink
Merge pull request #329 from GEOS-ESM/bugfix/sdrabenh/correct_expid_f…
Browse files Browse the repository at this point in the history
…or_clones

Use correct EXPID when cloning an experiment
  • Loading branch information
sdrabenh authored May 25, 2022
2 parents 916e948 + 3c93738 commit 5526d35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gcm_setup
Original file line number Diff line number Diff line change
Expand Up @@ -2791,6 +2791,7 @@ end

#sed -i -e "/^EXPDSC:/ s#\(EXPDSC: \)\(.*\)#\1${NEWEXPID}_clonedfrom_${OLDEXPID}_by_${OLDUSER}#" $NEWHOMDIR/HISTORY.rc
sed -i -e "/^EXPDSC:/ s#\(EXPDSC: \)\(.*\)#\1${EXPDSC}#" $NEWHOMDIR/HISTORY.rc
sed -i -e "/^EXPID:/ s#\(EXPID: \)\(.*\)#\1${NEWEXPID}#" $NEWHOMDIR/HISTORY.rc

# -------------------------
# Construct the new job ids
Expand Down

0 comments on commit 5526d35

Please sign in to comment.