Ignore:
Timestamp:
02/24/15 14:41:27 (9 years ago)
Author:
aclsce
Message:

MPMD + MPI-OpenMP mode

  • Modified to fit with new mpirun assignment method (method changed beacuse of activation of hyperthreading on Curie nodes).
  • Use of classic method in case of 1 OMP thread.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r1150 r1173  
    850850              # Read OMP parameter for composante 
    851851              eval ${comp}_PROC_OMP=$( echo ${tempvar} | tr '[a-z]' '[A-Z]' | sed -e "s/OMP//" ) 
    852               OK_PARA_OMP=true;; 
     852              ;; 
    853853            *[nN][oO][dD]*) 
    854854              # Read NOD (NumBer of Nodes) parameter for composante 
     
    863863        eval tempvarNOD=\${${comp}_PROC_NOD} 
    864864        eval tempvarOMP=\${${comp}_PROC_OMP} 
     865 
     866        # set OMP mode if more than 1 OMP thread. 
     867        [ ${tempvarOMP} -ge 2 ] && OK_PARA_OMP=true 
    865868 
    866869        (( PROCESSUS_NUMBER = PROCESSUS_NUMBER + tempvarMPI * tempvarNOD * tempvarOMP )) 
Note: See TracChangeset for help on using the changeset viewer.