You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcm_run.j assumes that the first path component in REPLAY_FILE is a folder, and makes a symlink of that name in scratch pointing to REPLAY_ANA_LOCATION. So e.g. the above keys would result in the symlink
This is problematic because it goes against user expectation that REPLAY_FILE is simply the pattern of file names that are searched for inside REPLAY_ANA_LOCATION, i.e., the setting below
is not equivalent to the setting above and does not work. Moreover, it is not necessary to separate the replay file pattern into two components as above, since the GEOS5 fortran code only reads REPLAY_FILE and is perfectly capable of handling long path names.
Proposed fix
Put the entire replay path in REPLAY_FILE as follows
Problem description
GEOS5 replay currently requires two keys in
AGCM.rc
, such asgcm_run.j
assumes that the first path component inREPLAY_FILE
is a folder, and makes a symlink of that name inscratch
pointing toREPLAY_ANA_LOCATION
. So e.g. the above keys would result in the symlinkThis is problematic because it goes against user expectation that
REPLAY_FILE
is simply the pattern of file names that are searched for insideREPLAY_ANA_LOCATION
, i.e., the setting belowis not equivalent to the setting above and does not work. Moreover, it is not necessary to separate the replay file pattern into two components as above, since the GEOS5 fortran code only reads
REPLAY_FILE
and is perfectly capable of handling long path names.Proposed fix
Put the entire replay path in
REPLAY_FILE
as followsand get rid of the logic in
gcm_run.j
that creates theREPLAY_ANA_LOCATION
symlink. See below for the lines that need to be commented.I am not 100% sure what the
/bin/ln -sf ${ANA_LOCATION}/chem .
does or if it's still needed.The text was updated successfully, but these errors were encountered: