Ignore:
Timestamp:
01/09/14 09:56:11 (10 years ago)
Author:
ymipsl
Message:

Add new openMP parallelism based on distribution of domains on threads. There is no more limitation of number of threads by MPI process.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/mpi_mod.F90

    r172 r186  
    1212  INTEGER :: MPI_STATUS_SIZE  
    1313  INTEGER :: MPI_SUM 
     14  INTEGER :: MPI_THREAD_SINGLE, MPI_THREAD_FUNNELED,  
     15  INTEGER :: MPI_THREAD_SERIALIZED, MPI_THREAD_MULTIPLE 
     16   
    1417  INTEGER,PARAMETER :: MPI_ADDRESS_KIND=KIND(INTEGER) 
    1518#endif 
     
    2124 
    2225 SUBROUTINE  MPI_INIT 
     26   PRINT *, 'Compiled without MPI' 
     27 END 
     28 
     29 SUBROUTINE  MPI_INIT_THREAD 
    2330   PRINT *, 'Compiled without MPI' 
    2431 END 
     
    6976 END 
    7077 
     78 SUBROUTINE MPI_FREE_MEM 
     79 END 
     80 
    7181#endif 
Note: See TracChangeset for help on using the changeset viewer.