What version of the code are you using?
release-cesm2.1.5-0-g7a6c5b0
Have you made any changes to files in the source tree?
no changes
Describe every step you took leading up to the problem:
.create_newcase --case 0502-01-01_to_0502-01-30 --res f09_g17 --compset B1850cmip6 --mach levante --compiler intel --mpilib openmpi --queue default --walltime 12:00:00 --handle-preexisting-dirs u --output-root OUTPUT_ROOT/PARENT_SIMULATION/branch/
./xmlchange STOP_OPTION=ndays,STOP_N=29
./xmlchange DOUT_S_ROOT=ARCHIVE_PATH/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30
./xmlchange RUNDIR=OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run
./xmlchange NTASKS_CPL=512,NTASKS_ATM=512,NTASKS_LND=512,NTASKS_ICE=512,NTASKS_OCN=512,NTASKS_ROF=512,NTASKS_GLC=512
./xmlchange ROOTPE_CPL=0,ROOTPE_ATM=0,ROOTPE_OCN=0,ROOTPE_ICE=0,ROOTPE_LND=0,ROOTPE_WAV=0,ROOTPE_GLC=0,ROOTPE_ROF=0,ROOTPE_ESP=0
./xmlchange NTASKS_WAV=16
./xmlchange NTASKS_ESP=1
./xmlchange RUN_TYPE=branch
./xmlchange RUN_REFCASE=PARENT_SIMULATION
./xmlchange RUN_REFDATE=0502-01-01
./xmlchange GET_REFCASE=FALSE
./case.setup
# link all files in rest/ containing "*.r*.*"
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh0.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh0.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.mosart.rh0.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.mosart.rh0.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh1.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh1.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cam.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cam.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh2.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh2.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.mosart.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.mosart.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh3.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh3.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh4.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh4.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.pop.ro.0502-01-01-00000 OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.pop.ro.0502-01-01-00000
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh7.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh7.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.ww3.r.0502-01-01-00000 OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.ww3.r.0502-01-01-00000
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cpl.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cpl.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cice.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cice.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cism.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cism.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cam.rs.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cam.rs.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.pop.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.pop.r.0502-01-01-00000.nc
# copy all rpointer files
cp -va ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/rpointer.* OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/
./case.build
./case.submit
Describe your problem or question:
After completion of st_archive history files are stored in the rest/ directory.
ls -l atm/hist/
total 75188
-rw-r--r-- 1 USER PROJECT 76988272 Dec 12 16:33 0502-01-01_to_0502-01-30.cam.h1.0502-01-02-00000.nc
ls -l rest/0502-01-30-00000/
total 10089016
-rw-r--r-- 1 USER PROJECT 76988272 Dec 12 16:33 0502-01-01_to_0502-01-30.cam.h1.0502-01-02-00000.nc
Both files seem to be identical (identical size).
As shown in the reproduction description above, I did not use any hist file to run the branch.
To me it's unclear why the hist files are stored once in atm/hist (or other component) and once in rest/
Is there a reason for this? And if not, can I change this behavior?
release-cesm2.1.5-0-g7a6c5b0
Have you made any changes to files in the source tree?
no changes
Describe every step you took leading up to the problem:
.create_newcase --case 0502-01-01_to_0502-01-30 --res f09_g17 --compset B1850cmip6 --mach levante --compiler intel --mpilib openmpi --queue default --walltime 12:00:00 --handle-preexisting-dirs u --output-root OUTPUT_ROOT/PARENT_SIMULATION/branch/
./xmlchange STOP_OPTION=ndays,STOP_N=29
./xmlchange DOUT_S_ROOT=ARCHIVE_PATH/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30
./xmlchange RUNDIR=OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run
./xmlchange NTASKS_CPL=512,NTASKS_ATM=512,NTASKS_LND=512,NTASKS_ICE=512,NTASKS_OCN=512,NTASKS_ROF=512,NTASKS_GLC=512
./xmlchange ROOTPE_CPL=0,ROOTPE_ATM=0,ROOTPE_OCN=0,ROOTPE_ICE=0,ROOTPE_LND=0,ROOTPE_WAV=0,ROOTPE_GLC=0,ROOTPE_ROF=0,ROOTPE_ESP=0
./xmlchange NTASKS_WAV=16
./xmlchange NTASKS_ESP=1
./xmlchange RUN_TYPE=branch
./xmlchange RUN_REFCASE=PARENT_SIMULATION
./xmlchange RUN_REFDATE=0502-01-01
./xmlchange GET_REFCASE=FALSE
./case.setup
# link all files in rest/ containing "*.r*.*"
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh0.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh0.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.mosart.rh0.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.mosart.rh0.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh1.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh1.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cam.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cam.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh2.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh2.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.mosart.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.mosart.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh3.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh3.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh4.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh4.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.pop.ro.0502-01-01-00000 OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.pop.ro.0502-01-01-00000
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.clm2.rh7.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.clm2.rh7.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.ww3.r.0502-01-01-00000 OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.ww3.r.0502-01-01-00000
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cpl.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cpl.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cice.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cice.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cism.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cism.r.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.cam.rs.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.cam.rs.0502-01-01-00000.nc
ln -sf ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/PARENT_SIMULATION.pop.r.0502-01-01-00000.nc OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/PARENT_SIMULATION.pop.r.0502-01-01-00000.nc
# copy all rpointer files
cp -va ARCHIVE_PATH/PARENT_SIMULATION/rest/0502-01-01-00000/rpointer.* OUTPUT_ROOT/PARENT_SIMULATION/branch//0502-01-01_to_0502-01-30/run/
./case.build
./case.submit
Describe your problem or question:
After completion of st_archive history files are stored in the rest/ directory.
ls -l atm/hist/
total 75188
-rw-r--r-- 1 USER PROJECT 76988272 Dec 12 16:33 0502-01-01_to_0502-01-30.cam.h1.0502-01-02-00000.nc
ls -l rest/0502-01-30-00000/
total 10089016
-rw-r--r-- 1 USER PROJECT 76988272 Dec 12 16:33 0502-01-01_to_0502-01-30.cam.h1.0502-01-02-00000.nc
Both files seem to be identical (identical size).
As shown in the reproduction description above, I did not use any hist file to run the branch.
To me it's unclear why the hist files are stored once in atm/hist (or other component) and once in rest/
Is there a reason for this? And if not, can I change this behavior?