Changeset 2023 for TOOLS


Ignore:
Timestamp:
03/08/13 11:12:03 (11 years ago)
Author:
aclsce
Message:

Added option to use "-c" batch parameter.

Location:
TOOLS/PACK_IPSL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/launch_and_measureTime.sh

    r2010 r2023  
    358358#MSUB -e /ccc/dmfbuf/ipsl_logs/dsm/bacasable/ARNAUD/PSEUDO_DMNFS_PROGRESS/ARNAUD/IPSLCM5/R55C/detailed_pack_output/pack_ipsl_%I.e 
    359359#MSUB -n 16 
     360#MSUB -c 2 
     361#MSUB -x 
    360362#MSUB -T 1500 
    361363#MSUB -A tgcc0013 
    362364#MSUB -q standard 
    363 #MSUB -Qos test 
     365#MSUB -Q test 
    364366########## batch directives : end ########## 
    365367set +x 
  • TOOLS/PACK_IPSL/load_batch_directives.sh

    r1885 r2023  
    1717 
    1818export QosType="test" 
     19 
     20export corePerProc="1" 
  • TOOLS/PACK_IPSL/parallelPack.sh

    r1928 r2023  
    3636    # insertion des directives chargees a partir de "load_batch_directives.sh" 
    3737    local lineEndMutableDrves=`grep -n "batch directives : end" $batchFile | awk -F":" '{print $1}' ` 
    38     sed -i "${lineEndMutableDrves}i\#MSUB -Qos $QosType" $batchFile 
     38    sed -i "${lineEndMutableDrves}i\#MSUB -Q $QosType" $batchFile 
    3939    sed -i "${lineEndMutableDrves}i\#MSUB -q $queueType" $batchFile 
    4040    sed -i "${lineEndMutableDrves}i\#MSUB -A $projectName" $batchFile 
    4141    sed -i "${lineEndMutableDrves}i\#MSUB -T $computationTime" $batchFile 
     42    sed -i "${lineEndMutableDrves}i\#MSUB -x" $batchFile 
     43    sed -i "${lineEndMutableDrves}i\#MSUB -c $corePerProc" $batchFile  
    4244    sed -i "${lineEndMutableDrves}i\#MSUB -n $nbProcs" $batchFile 
    4345     
Note: See TracChangeset for help on using the changeset viewer.