Ignore:
Timestamp:
04/09/09 19:09:08 (15 years ago)
Author:
sdipsl
Message:

MAF :
On the way to finalyze vargas

  • adjustment to support large numbers of cpus (and files)
  • prepare another policy for rebuild : from workdir

Some cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_vargas.ksh

    r77 r92  
    430430        echo "IGCM_sys_Qsub :" $@ 
    431431    fi 
    432     { cd $LOADL_STEP_INITDIR ; llsubmit $1 ; } 
     432    { 
     433      [ ${#@} = 1 ] &&  { cd $LOADL_STEP_INITDIR ; llsubmit $1 ; cd - ; } 
     434      [ ${#@} = 2 ] &&  { cd $2 ; llsubmit $1 ; cd - ; } 
     435    } 
    433436    if [ $? -gt 0 ] ; then 
    434437        echo "IGCM_sys_Qsub : erreur $@." 
     
    449452    fi 
    450453    cd ${POST_DIR} 
    451     /opt/ibmll/LoadL/full/bin/llsubmit ${libIGCM_POST}/$1.job 
     454    /usr/local/bin/llsubmit ${libIGCM_POST}/$1.job 
    452455    cd - 
    453456    if [ $? -gt 0 ] ; then 
     
    643646 
    644647#D-#================================================== 
     648#D-function IGCM_sys_Rm 
     649#D-* Purpose: generic rm 
     650#D-* Examples: 
     651#D- 
     652function IGCM_sys_Rm { 
     653    IGCM_debug_PushStack "IGCM_sys_Rm" -- $@ 
     654    if ( $DEBUG_sys ) ; then 
     655        echo "IGCM_sys_Rm :" $@ 
     656    fi 
     657 
     658    typeset RET 
     659 
     660    echo rm $@ > out_rsync 2>&1 
     661    \rm $@ >> out_rsync 2>&1 
     662    RET=$? 
     663 
     664    if [ ${RET} -gt 0 ] ; then 
     665        echo "IGCM_sys_Rm : error." 
     666        cat out_rsync 
     667        IGCM_debug_Exit "IGCM_sys_Rm" 
     668    fi 
     669    IGCM_debug_PopStack "IGCM_sys_Rm" 
     670} 
     671 
     672#D-#================================================== 
    645673#D-function IGCM_sys_Mv 
    646674#D-* Purpose: generic move 
Note: See TracChangeset for help on using the changeset viewer.