Changeset 1238 for trunk/libIGCM/ins_job


Ignore:
Timestamp:
10/05/15 15:19:53 (9 years ago)
Author:
sdipsl
Message:
  • ins_job (the one from libIGCM) will edit Job headers according to config.card specs. see #96
  • need more testing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/ins_job

    r1230 r1238  
    226226      echo "ins_job stops here" 
    227227      echo "=> The variable ExpType must be added in config.card in section UserChoices" 
    228       echo "=> ExpType gives the directory for the .card configurtaion files for the wanted experiement. For exemple ExpType=IPSLCM5/historical" 
     228      echo "=> ExpType gives the directory for the .card configuration files for the wanted experiement. For exemple ExpType=IPSLCM5/historical" 
    229229      exit 4 
    230230    else 
     
    257257    \cp ${F_RCI} ${j}; 
    258258   } 
     259   
     260  #================================== 
     261  # Read Executable section: 
     262  IGCM_card_DefineArrayFromSection ${j}'/'${F_CFG} Executable   
     263 
     264  # Define the execution context (MPMD, SPMD, MPI/OMP ...) 
     265  IGCM_config_ConfigureExexution 
     266 
     267  # coreNumber    : TOTAL NUMBER OF CORES 
     268  # mpiTasks      : TOTAL NUMBER OF MPI TASKS 
     269  # openMPthreads : NUMBER OF OpenMP THREADS 
    259270 
    260271  # File name for Job 
     
    270281      ${F_JOB} > ${j}'/'${n_f} 
    271282  chmod u+x ${j}'/'${n_f} 
     283 
     284  # update Headers so that ressources description are accurate (MPMD/SPMD/...) 
     285  IGCM_sys_updateHeaders ${j}'/'${n_f} 
    272286done 
     287 
    273288#- 
    274289# Extract list of AA_* files in libIGCM 
Note: See TracChangeset for help on using the changeset viewer.