Changeset 1238 for trunk/libIGCM/libIGCM_config
- Timestamp:
- 10/05/15 15:19:53 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1235 r1238 584 584 coreNumber=0 585 585 mpiTasks=0 586 openMPthreads=0 586 587 NbExec=0 587 588 … … 679 680 [ ${tempvarOMP} -ge 2 ] && OK_PARA_OMP=true 680 681 682 # Number of OMP threads 683 [ ${openMPthreads} -lt ${tempvarOMP} ] && openMPthreads=${tempvarOMP} 684 681 685 # SUM UP NUMBER OF CORES 682 686 (( coreNumber = coreNumber + tempvarMPI * tempvarNOD * tempvarOMP )) … … 692 696 # Define the execution type we are running in 693 697 if [ ${OK_PARA_MPMD} ] ; then 694 # MPMD always implies MPI695 698 if [ ${OK_PARA_MPI} ] ; then 699 # MPMD always implies MPI 696 700 executionType=1 697 701 fi 698 # MPMD + MPI/OMP699 702 if [ ${OK_PARA_OMP} ] ; then 703 # MPMD + MPI/OMP 700 704 executionType=2 701 705 fi 702 706 else 703 # SPMD + MPI/OMP704 707 if ( [ ${OK_PARA_MPI} ] && [ ${OK_PARA_OMP} ] ) ; then 708 # SPMD + MPI/OMP 705 709 executionType=3 710 elif ( [ ${OK_PARA_MPI} ] && [ ! ${OK_PARA_OMP} ] ) ; then 706 711 # SPMD + MPI only 707 elif ( [ ${OK_PARA_MPI} ] && [ ! ${OK_PARA_OMP} ] ) ; then708 712 executionType=4 713 elif ( [ ! ${OK_PARA_MPI} ] && [ ${OK_PARA_OMP} ] ) ; then 709 714 # SPMD + OMP only 710 elif ( [ ! ${OK_PARA_MPI} ] && [ ${OK_PARA_OMP} ] ) ; then711 715 executionType=5 716 elif ( [ ! ${OK_PARA_MPI} ] && [ ! ${OK_PARA_OMP} ] ) ; then 712 717 # SEQUENTIAL THEN 713 elif ( [ ! ${OK_PARA_MPI} ] && [ ! ${OK_PARA_OMP} ] ) ; then714 718 executionType=6 715 719 coreNumber=1
Note: See TracChangeset
for help on using the changeset viewer.