Opened 7 years ago
Last modified 7 years ago
#335 assigned enhancement
Ada AA_purge_simulation don't delete R_BUFR files
Reported by: | mafoipsl | Owned by: | sdipsl |
---|---|---|---|
Priority: | minor | Milestone: | libIGCM_v2.8.4 |
Component: | treatment | Version: | |
Keywords: | purge_simulation ada | Cc: |
Description
On ada, purge_simulation don't delete restart files stored in R_BUFR directory on the machine itself.
As a work around, use clean_PeriodLength or clean_latestPackperiod which are deleting all files requested.
It's done like this in AA_clean_PeriodLength :
if [ X${Pack} = Xtrue ] ; then echo "Search files with ${PeriodDateEnd} in ${R_BUFR}" set +A ListFilesBuf -- $( IGCM_sys_RshMaster "find ${R_BUFR} -name \"*${PeriodDateEnd}*\" " ) CountListFilesBuf=${#ListFilesBuf[@]} ... ...
This part is missing in AA_purge_simulation.
It's visible when the simulation exit due to permission denied when saving the new restart file
IGCM_sys_PutBuffer_Rest : flxat.nc /workgpfs/rech/../../IGCM_OUT/IPSLCM6-MR/DEVT/pdControl/CM6011.3-MR-pd-A01/CPL/Restart/CM6011.3-MR-pd-A01_19500131_flxat.nc IGCM_sys_PutBuffer_Rest : error code 1 -r--r--r-- 1 ??? 10528372 Jul 25 21:22 /workgpfs/rech/.../.../IGCM_OUT/IPSLCM6-MR/DEVT/pdControl/CM6011.3-MR-pd-A01/CPL/Restart/CM6011.3-MR-pd-A01_19500131_flxat.nc cp: cannot create regular file `/workgpfs/rech/.../.../IGCM_OUT/IPSLCM6-MR/DEVT/pdControl/CM6011.3-MR-pd-A01/CPL/Restart/CM6011.3-MR-pd-A01_19500131_flxat.nc': Permission denied
Change History (2)
comment:1 Changed 7 years ago by sdipsl
- Milestone changed from libIGCM_v3 release candidate to libIGCM_v2.8.4
- Owner changed from somebody to sdipsl
- Status changed from new to assigned
comment:2 Changed 7 years ago by sdipsl
Note: See
TracTickets for help on using
tickets.
Will replace RshArchive? by RshMaster? in purge and will communicate that we have to do the purge from adapp.