Changeset 2773 for CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/opa9.driver
- Timestamp:
- 03/11/16 16:37:24 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/opa9.driver
r2768 r2773 44 44 (( DaysSinceJC = $( IGCM_date_DaysSinceJC ${DateBegin} ) + 1 )) 45 45 46 # Parallelism47 OCE_PROC_MPI=$(echo ${config_Executable_OCE[2]} | sed s'/MPI//' )48 OPA_JPNI=$(supergrep jpni ${NAMELIST_OPA_CFG} )49 OPA_JPNJ=$(supergrep jpnj ${NAMELIST_OPA_CFG} )50 IGCM_debug_Print 1 " "51 IGCM_debug_Print 1 "Readed OPA_JPNI ${OPA_JPNI}"52 IGCM_debug_Print 1 "Readed OPA_JPNJ ${OPA_JPNJ}"53 IGCM_debug_Print 1 "OCE_PROC_MPI ${OCE_PROC_MPI}"54 55 (( Residu = OCE_PROC_MPI % OPA_JPNJ ))56 if [[ ${Residu} != 0 ]] ; then57 IGCM_debug_Exit "OCE_PROC_MPI (specified in config.card, [Executable]) is not a multiple of OPA_JPNJ"58 #IGCM_debug_Verif_Exit59 fi60 61 (( OPA_JPNI = OCE_PROC_MPI / OPA_JPNJ ))62 (( OPA_JPNIJ = OPA_JPNI * OPA_JPNJ ))63 IGCM_debug_Print 1 "Computed OPA_JPNI ${OPA_JPNI}"64 IGCM_debug_Print 1 "Computed OPA_JPNIJ ${OPA_JPNIJ}"65 66 if [[ ${OCE_PROC_MPI} != ${OPA_JPNIJ} ]] ; then67 IGCM_debug_Exit "OCE_PROC_MPI /= OPA_JPNI * OPA_JPNJ"68 IGCM_debug_Verif_Exit69 fi70 71 #72 46 IGCM_debug_Print 1 " " 73 47 IGCM_debug_Print 1 "OPA_RDT ${OPA_RDT}"
Note: See TracChangeset
for help on using the changeset viewer.