Changeset 1392


Ignore:
Timestamp:
06/15/17 16:20:29 (7 years ago)
Author:
sdipsl
Message:
Location:
trunk/libIGCM
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r1389 r1392  
    1414#-Q- curie #MSUB -T 86400              # Wall clock limit (seconds) 
    1515#-Q- curie #MSUB -q standard           # thin nodes 
    16 #-Q- curie #MSUB -U medium             # priority within a project 
    1716#-Q- curie #MSUB -A ::default_project:: 
    1817#-Q- curie # Below specific options that can be activated  
  • trunk/libIGCM/AA_purge_simulation

    r1378 r1392  
    6363( ${DEBUG_debug} ) && IGCM_date_Check 
    6464 
     65if [ ! -f ${SUBMIT_DIR}/config.card ] ; then 
     66  echo "A config.card is needed to proceed" 
     67  exit 
     68fi 
     69 
    6570#================================== 
    6671# First of all 
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r1373 r1392  
    828828      for Potential in $( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.[0-9][0-9][0-9][0-9][0-9][0-9] ) ; do 
    829829        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 
    831831        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 
    833833        fi 
    834834      done 
     
    836836      IGCM_debug_Print 2 "Save current run.card" 
    837837      IGCM_card_CheckConflict run.card 
     838 
    838839      if [ X${Pack} = Xtrue ] ; then 
    839         IGCM_sys_Cp ${SUBMIT_DIR}/run.card ${R_BUF_KSH}/run.card 
     840        IGCM_sys_PutBuffer_Out ${SUBMIT_DIR}/run.card ${R_BUF_KSH}/${PREFIX}_${Exe_Output} NOCHMOD 
    840841      else 
    841         IGCM_sys_Cp ${SUBMIT_DIR}/run.card ${R_OUT_KSH}/run.card 
     842        IGCM_sys_Put_Out ${SUBMIT_DIR}/run.card ${R_OUT_KSH}/${PREFIX}_${Exe_Output} NOCHMOD 
    842843      fi 
    843844      # 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ada.ksh

    r1380 r1392  
    807807 
    808808  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- 
     816function 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 
     827EOF 
     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 
     833EOF 
     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- 
     846function IGCM_sys_Dods_Cp { 
     847  if ( $DEBUG_sys ) ; then 
     848    echo "IGCM_sys_Dods_Cp :" $@ 
     849  fi 
     850  return 0 
    809851} 
    810852 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh

    r1390 r1392  
    922922#    fi 
    923923 
    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 
    926931 
    927932#    if [ ${status} -gt 0 ] ; then 
Note: See TracChangeset for help on using the changeset viewer.