Changeset 1641
- Timestamp:
- 07/19/24 11:53:09 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh
r1637 r1641 1847 1847 nb_restart_file=$( ls ${generic_restart_file_name_in}_????.nc 2>/dev/null | wc -l ) 1848 1848 if [ ${nb_restart_file} -gt 1 ] ; then 1849 j=0 # BASH LINE NOT NEEDED 1850 # BASH for j4 in in $( eval echo {0000..$(( nb_restart_file - 1 ))} ) ; do 1851 until [ $j -ge ${nb_restart_file} ]; do # BASH LINE NOT NEEDED 1852 j4=${j} # BASH LINE NOT NEEDED 1849 IGCM_sys_rebuild_nemo ${generic_restart_file_name_in} ${nb_restart_file} 1850 IGCM_sys_Rm ${generic_restart_file_name_in}_????.nc 1853 1851 if [ X${Pack} = Xtrue ] ; then 1854 eval IGCM_sys_PutBuffer_Rest ${generic_restart_file_name_in}_${j4}.nc \${R_BUF_${comp}_R}/${generic_restart_file_name_out}_${j4}.nc${is_opt}1852 eval IGCM_sys_PutBuffer_Rest ${file_in} \${R_BUF_${comp}_R}/${config_UserChoices_JobName}_${PeriodDateEnd}_${file_out} ${is_opt} 1855 1853 else 1856 eval IGCM_sys_Put_Rest ${generic_restart_file_name_in}_${j4}.nc \${R_OUT_${comp}_R}/${generic_restart_file_name_out}_${j4}.nc${is_opt}1854 eval IGCM_sys_Put_Rest ${file_in} \${R_OUT_${comp}_R}/${config_UserChoices_JobName}_${PeriodDateEnd}_${file_out} ${is_opt} 1857 1855 fi 1858 1859 if [ -f ${generic_restart_file_name_in}_${j4}.nc ] ; then 1856 if [ -f ${file_in} ] ; then 1860 1857 if [ ! ${file_in} = ${file_outin} ] ; then 1861 1858 if ( ${ExitFlag} ) ; then 1862 echo "IGCM_sys_Mv ${generic_restart_file_name_in}_${j4}.nc ${generic_restart_file_name_outin}_${j4}.ncnot executed."1859 echo "IGCM_sys_Mv ${file_in} ${file_outin} not executed." 1863 1860 else 1864 IGCM_sys_Mv ${generic_restart_file_name_in}_${j4}.nc ${generic_restart_file_name_outin}_${j4}.nc 1861 IGCM_sys_Mv ${file_in} ${file_outin} 1865 1862 fi 1866 1863 fi … … 1868 1865 # This is the case where the restart file no not exist. 1869 1866 # It has already been checked if the model should stop for this case. 1870 IGCM_debug_Print 1 "Restart file does not exist, no move in RUN_DIR done : ${ generic_restart_file_name_in}_${j4}.nc"1867 IGCM_debug_Print 1 "Restart file does not exist, no move in RUN_DIR done : ${file_in}" 1871 1868 fi 1872 (( j=j+1 )) # BASH LINE NOT NEEDED1873 done1874 1869 else 1875 1870 if [ X${Pack} = Xtrue ] ; then
Note: See TracChangeset
for help on using the changeset viewer.