Changeset 1392
- Timestamp:
- 06/15/17 16:20:29 (8 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_job
r1389 r1392 14 14 #-Q- curie #MSUB -T 86400 # Wall clock limit (seconds) 15 15 #-Q- curie #MSUB -q standard # thin nodes 16 #-Q- curie #MSUB -U medium # priority within a project17 16 #-Q- curie #MSUB -A ::default_project:: 18 17 #-Q- curie # Below specific options that can be activated -
trunk/libIGCM/AA_purge_simulation
r1378 r1392 63 63 ( ${DEBUG_debug} ) && IGCM_date_Check 64 64 65 if [ ! -f ${SUBMIT_DIR}/config.card ] ; then 66 echo "A config.card is needed to proceed" 67 exit 68 fi 69 65 70 #================================== 66 71 # First of all -
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1373 r1392 828 828 for Potential in $( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.[0-9][0-9][0-9][0-9][0-9][0-9] ) ; do 829 829 if [ X${Pack} = Xtrue ] ; then 830 ( IGCM_sys_TestFileBuffer ${R_BUF_KSH}/${Potential} ) || IGCM_sys_ Cp ${Potential} ${R_BUF_KSH}/${Potential}.$$830 ( IGCM_sys_TestFileBuffer ${R_BUF_KSH}/${Potential} ) || IGCM_sys_PutBuffer_Out ${Potential} ${R_BUF_KSH}/${Potential}.$$ NOCHMOD 831 831 else 832 ( IGCM_sys_TestFileArchive ${R_OUT_KSH}/${Potential} ) || IGCM_sys_ Cp ${Potential} ${R_OUT_KSH}/${Potential}.$$832 ( IGCM_sys_TestFileArchive ${R_OUT_KSH}/${Potential} ) || IGCM_sys_Put_Out ${Potential} ${R_OUT_KSH}/${Potential}.$$ NOCHMOD 833 833 fi 834 834 done … … 836 836 IGCM_debug_Print 2 "Save current run.card" 837 837 IGCM_card_CheckConflict run.card 838 838 839 if [ X${Pack} = Xtrue ] ; then 839 IGCM_sys_ Cp ${SUBMIT_DIR}/run.card ${R_BUF_KSH}/run.card840 IGCM_sys_PutBuffer_Out ${SUBMIT_DIR}/run.card ${R_BUF_KSH}/${PREFIX}_${Exe_Output} NOCHMOD 840 841 else 841 IGCM_sys_ Cp ${SUBMIT_DIR}/run.card ${R_OUT_KSH}/run.card842 IGCM_sys_Put_Out ${SUBMIT_DIR}/run.card ${R_OUT_KSH}/${PREFIX}_${Exe_Output} NOCHMOD 842 843 fi 843 844 # -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_ada.ksh
r1380 r1392 807 807 808 808 IGCM_debug_PopStack "IGCM_sys_GetDate_Monitoring" 809 } 810 811 #D-#================================================== 812 #D-function IGCM_sys_Dods_Rm 813 #D-* Purpose: DO NOTHING ! Put ${ARCHIVE} files on DODS internet protocole. 814 #D-* Examples: 815 #D- 816 function IGCM_sys_Dods_Rm { 817 if ( $DEBUG_sys ) ; then 818 echo "IGCM_sys_Dods_Rm :" $@ 819 fi 820 821 typeset status 822 if [ $DRYRUN = 0 ]; then 823 if [ "$#" -eq 1 ]; then 824 rsh ${STOREHOST} exec /bin/ksh <<EOF 825 cd ${R_SAVE} 826 /arch/local/bin/dods_rm DODS/pub/${LOGIN}/${R_DODS}/${1} > /dev/null 2>&1 827 EOF 828 status=$? 829 else 830 rsh ${STOREHOST} exec /bin/ksh <<EOF 831 cd ${R_SAVE} 832 /arch/local/bin/dods_rm DODS/pub/${LOGIN}/${R_DODS} > /dev/null 2>&1 833 EOF 834 status=$? 835 fi 836 fi 837 838 return ${status} 839 } 840 841 #D-#================================================== 842 #D-function IGCM_sys_Dods_Cp 843 #D-* Purpose: Copy $(ARCHIVE) files on DODS internet protocole. 844 #D-* Examples: 845 #D- 846 function IGCM_sys_Dods_Cp { 847 if ( $DEBUG_sys ) ; then 848 echo "IGCM_sys_Dods_Cp :" $@ 849 fi 850 return 0 809 851 } 810 852 -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
r1390 r1392 922 922 # fi 923 923 924 /ccc/cont003/home/dsm/p86ipsl/bin/dods_rm public/${LOGIN}/${R_DODS}/${1} # > out_dods_rm 2>&1 925 status=$? 924 if [ "$#" -eq 1 ]; then 925 /ccc/cont003/home/dsm/p86ipsl/bin/dods_rm public/${LOGIN}/${R_DODS}/${1} # > out_dods_rm 2>&1 926 status=$? 927 else 928 /ccc/cont003/home/dsm/p86ipsl/bin/dods_rm public/${LOGIN}/${R_DODS} # > out_dods_rm 2>&1 929 status=$? 930 fi 926 931 927 932 # if [ ${status} -gt 0 ] ; then
Note: See TracChangeset
for help on using the changeset viewer.