Changeset 1255
- Timestamp:
- 10/16/15 22:56:40 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1253 r1255 694 694 695 695 # Define the execution type we are running in 696 if [ ${OK_PARA_MPMD} ]; then697 if [ ${OK_PARA_MPI} ]; then696 if ( ${OK_PARA_MPMD} ) ; then 697 if ( ${OK_PARA_MPI} ) ; then 698 698 # MPMD always implies MPI 699 699 executionType=1 700 700 fi 701 if [ ${OK_PARA_OMP} ]; then701 if ( ${OK_PARA_OMP} ) ; then 702 702 # MPMD + MPI/OMP 703 703 executionType=2 704 704 fi 705 705 else 706 if ( [ ${OK_PARA_MPI} ] && [ ${OK_PARA_OMP} ]) ; then706 if ( ( ${OK_PARA_MPI} ) && ( ${OK_PARA_OMP} ) ) ; then 707 707 # SPMD + MPI/OMP 708 708 executionType=3 709 elif ( [ ${OK_PARA_MPI} ] && [ ! ${OK_PARA_OMP} ]) ; then709 elif ( ( ${OK_PARA_MPI} ) && ( ! ${OK_PARA_OMP} ) ) ; then 710 710 # SPMD + MPI only 711 711 executionType=4 712 elif ( [ ! ${OK_PARA_MPI} ] && [ ${OK_PARA_OMP} ]) ; then712 elif ( ( ! ${OK_PARA_MPI} ) && ( ${OK_PARA_OMP} ) ) ; then 713 713 # SPMD + OMP only 714 714 executionType=5 715 elif ( [ ! ${OK_PARA_MPI} ] && [ ! ${OK_PARA_OMP} ]) ; then715 elif ( ( ! ${OK_PARA_MPI} ) && ( ! ${OK_PARA_OMP} ) ) ; then 716 716 # SEQUENTIAL THEN 717 717 executionType=6
Note: See TracChangeset
for help on using the changeset viewer.