Opened 8 years ago
Closed 8 years ago
#309 closed enhancement (fixed)
On ada : allow more than 4 OMP
Reported by: | jgipsl | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | AMQP Broker | Version: | |
Keywords: | Cc: |
Description
Currently at ada it is not possible to use more than 4OMP in hybrid mode using default(IBM) MPI Environement. Otherwise following lines will make it exit : libIGCM_sys_ada.ksh start line 1102-1124 :
if ( ${OK_PARA_OMP} ) ; then # Check if the number of threads is correct case ${comp_proc_omp_loc} in 1|2|4) IGCM_debug_Print 1 "You run ${ExeNameOut} on ${comp_proc_omp_loc} OMP threads on IBM MPI Environment" IGCM_debug_Print 1 "Beware : it may you use more CPU than needed." IGCM_debug_Print 1 "Think to the Intel MPI Environment to do what you want to do !" ;; 8|16) IGCM_debug_Exit "ERROR with OMP parameters !" IGCM_debug_Print 2 "Beware : ${comp_proc_omp_loc} is too much for MPMD mode" IGCM_debug_Print 2 "You will use more CPU than needed : try to use Intel-MPI environment to do such a thing !" IGCM_debug_Verif_Exit ;; *) IGCM_debug_Exit "ERROR with OMP parameters !" IGCM_debug_Print 2 "${comp_proc_omp_loc} is not possible as number of OMP threads" IGCM_debug_Print 2 "Only 1,2,4,8,16 as number of OMP threads are possible " IGCM_debug_Verif_Exit ;; esac fi
This has been added for protection if running the coupled model. But for the forced model it is really useful to have more than 4 OMP. I'd like to move the 8 in the first case.
Change History (2)
comment:1 Changed 8 years ago by jgipsl
comment:2 Changed 8 years ago by jgipsl
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Done in rev [1357]