Ignore:
Timestamp:
08/12/11 12:15:59 (13 years ago)
Author:
mafoipsl
Message:

On vargas add sequential case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM_MPI_OpenMP/libIGCM_sys/libIGCM_sys_vargas.ksh

    r496 r497  
    1 #!/bin/ksh 
     1#!/bin/kh 
    22 
    33#************************************************************** 
     
    11571157    if [ ${PROCESSUS_NUMBER} -gt 1 ] ; then 
    11581158    
    1159         EXECUTION="${EXECUTION} -pgmmodel mpmd -cmdfile ./runfile"  
    1160  
    1161         IGCM_debug_Print 1 "sys vargas : execution command is " 
    1162         IGCM_debug_Print 1 "$EXECUTION" 
    1163  
    11641159        if ( ${OK_PARA_OMP} ) ; then 
    11651160# NEW : 2 Noeuds 
     
    12031198    fi 
    12041199 
     1200# runfile construction 
     1201 
    12051202# Then first loop on the components for the coupler ie oasis 
    12061203 
     
    12711268        fi 
    12721269    done 
     1270 
     1271# update execution command for sequential and parallel cases 
     1272 
     1273    if [ ${PROCESSUS_NUMBER} -gt 1 ] ; then 
     1274       EXECUTION="${EXECUTION} -pgmmodel mpmd -cmdfile ./runfile" 
     1275    else 
     1276       EXECUTION="${EXECUTION} " $( cat ./runfile )  
     1277    fi 
     1278 
     1279    IGCM_debug_Print 1 "sys vargas : execution command is " 
     1280    IGCM_debug_Print 1 "$EXECUTION" 
     1281 
    12731282    IGCM_sys_Chmod u+x runfile  
    12741283 
     
    12781287    fi 
    12791288 
    1280  
    12811289    IGCM_debug_PopStack "IGCM_sys_build_execution_scripts" 
    12821290} 
Note: See TracChangeset for help on using the changeset viewer.