Last change
on this file since 808 was
806,
checked in by lsce, 17 years ago
|
ACo + YM : correction bug communicateur pour le couple
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
469 bytes
|
Line | |
---|
1 | MODULE mod_const_mpi |
---|
2 | |
---|
3 | INTEGER :: COMM_LMDZ |
---|
4 | INTEGER :: MPI_REAL_LMDZ |
---|
5 | |
---|
6 | |
---|
7 | CONTAINS |
---|
8 | |
---|
9 | SUBROUTINE Init_const_mpi |
---|
10 | IMPLICIT NONE |
---|
11 | INCLUDE 'mpif.h' |
---|
12 | INTEGER :: ierr |
---|
13 | |
---|
14 | #ifdef CPP_COUPLE |
---|
15 | call prism_init_comp_proto (comp_id, 'lmdz.x', ierr) |
---|
16 | call prism_get_localcomm_proto(COMM_LMDZ,ierr) |
---|
17 | #else |
---|
18 | call MPI_INIT(ierr) |
---|
19 | COMM_LMDZ=MPI_COMM_WORLD |
---|
20 | #endif |
---|
21 | |
---|
22 | MPI_REAL_LMDZ=MPI_REAL8 |
---|
23 | END SUBROUTINE Init_const_mpi |
---|
24 | |
---|
25 | END MODULE mod_const_mpi |
---|
Note: See
TracBrowser
for help on using the repository browser.