Changeset 37 for XMLIO_SERVER
- Timestamp:
- 07/10/09 17:01:28 (15 years ago)
- Location:
- XMLIO_SERVER/trunk
- Files:
-
- 3 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_SERVER/trunk/bld.cfg
r27 r37 28 28 bld::tool::fflags %FFLAGS %INCDIR 29 29 bld::tool::ldflags %BASE_LD %LIB 30 30 bld::tool::cppflags %FPP_FLAGS %INCDIR 31 bld::tool::fppflags %FPP_FLAGS %INCDIR 32 bld::tool::fppkeys %CPP_KEY 31 33 # Pre-process code before analysing dependencies 32 34 bld::pp 1 -
XMLIO_SERVER/trunk/configure
r32 r37 6 6 set has_use_vt = FALSE 7 7 set has_oasis = FALSE 8 set has_no_mpi = FALSE 8 9 9 10 top: … … 55 56 case -oasis 56 57 set has_oasis = TRUE 58 shift ; goto top 59 60 case -no_mpi 61 set has_no_mpi = TRUE 57 62 shift ; goto top 58 63 … … 135 140 endif 136 141 142 if ( $has_no_mpi == TRUE ) then 143 set CPP_KEY="NO_MPI $CPP_KEY" 144 endif 137 145 138 146 -
XMLIO_SERVER/trunk/src/IOSERVER/mod_global_memory.f90
r32 r37 11 11 12 12 SUBROUTINE Allocate_global_memory_r8(size,Pt) 13 USE mpi_mod 13 14 IMPLICIT NONE 14 INCLUDE 'mpif.h'15 15 REAL(kind=8),POINTER :: Pt(:) 16 16 INTEGER :: size … … 39 39 40 40 SUBROUTINE Allocate_global_memory_i8(size,Pt) 41 USE mpi_mod 41 42 IMPLICIT NONE 42 INCLUDE 'mpif.h'43 43 INTEGER(kind=8),POINTER :: Pt(:) 44 44 INTEGER :: size … … 66 66 67 67 ! SUBROUTINE Allocate_global_memory_r4(size,Pt) 68 ! USE mpi_mod 68 69 ! IMPLICIT NONE 69 ! INCLUDE 'mpif.h'70 70 ! REAL(kind=4),POINTER :: Pt(:) 71 71 ! INTEGER :: size … … 95 95 96 96 SUBROUTINE Allocate_global_memory_i4(size,Pt) 97 USE mpi_mod 97 98 IMPLICIT NONE 98 INCLUDE 'mpif.h'99 99 INTEGER(kind=4),POINTER :: Pt(:) 100 100 INTEGER :: size -
XMLIO_SERVER/trunk/src/IOSERVER/mod_ioclient.f90
r27 r37 11 11 USE mod_event_client 12 12 USE iomanager 13 USE mpi_mod 13 14 IMPLICIT NONE 14 15 INTEGER, INTENT(INOUT),OPTIONAL :: NEW_COMM … … 19 20 INTEGER :: ierr 20 21 LOGICAL :: init 21 INCLUDE 'mpif.h'22 22 23 23 CALL read_namelist 24 24 25 IF (using_server) THEN 26 CALL Init_parallel 27 CALL Init_mpi_buffer 28 CALL Init_wait 29 IF (PRESENT(NEW_COMM)) THEN 30 NEW_COMM=intracomm 25 IF (using_mpi) THEN 26 IF (using_server) THEN 27 CALL Init_parallel 28 CALL Init_mpi_buffer 29 CALL Init_wait 30 IF (PRESENT(NEW_COMM)) THEN 31 NEW_COMM=intracomm 32 ENDIF 33 ELSE 34 CALL MPI_INITIALIZED(init,ierr) 35 IF (init) THEN 36 IF (.NOT. PRESENT(NEW_COMM)) THEN 37 Comm=MPI_COMM_WORLD 38 ELSE 39 Comm=New_Comm 40 ENDIF 41 ELSE 42 CALL MPI_INIT(ierr) 43 Comm=MPI_COMM_WORLD 44 45 IF (PRESENT(NEW_COMM)) THEN 46 New_Comm=MPI_COMM_WORLD 47 ENDIF 48 ENDIF 49 CALL MPI_COMM_SIZE(Comm,nb_server,ierr) 50 CALL MPI_COMM_RANK(Comm,rank,ierr) 51 CALL iom__init(1,nb_server,rank) 52 CALL iom__set_current_rank(1) 31 53 ENDIF 32 54 ELSE 33 CALL MPI_INITIALIZED(init,ierr) 34 IF (init) THEN 35 IF (.NOT. PRESENT(NEW_COMM)) THEN 36 Comm=MPI_COMM_WORLD 37 ELSE 38 Comm=New_Comm 39 ENDIF 40 ELSE 41 CALL MPI_INIT(ierr) 42 Comm=MPI_COMM_WORLD 43 44 IF (PRESENT(NEW_COMM)) THEN 45 New_Comm=MPI_COMM_WORLD 46 ENDIF 47 ENDIF 48 CALL MPI_COMM_SIZE(Comm,nb_server,ierr) 49 CALL MPI_COMM_RANK(Comm,rank,ierr) 50 CALL iom__init(1,nb_server,rank) 55 CALL iom__init(1,1,0) 51 56 CALL iom__set_current_rank(1) 52 57 ENDIF -
XMLIO_SERVER/trunk/src/IOSERVER/mod_ioclient_para.F90
r31 r37 16 16 USE mod_prism_get_comm 17 17 #endif 18 USE mpi_mod 18 19 IMPLICIT NONE 19 INCLUDE 'mpif.h'20 20 INTEGER :: NEW_COMM 21 21 INTEGER :: ierr … … 79 79 80 80 SUBROUTINE Finalize_parallel 81 USE mpi_mod 81 82 IMPLICIT NONE 82 include 'mpif.h'83 83 INTEGER :: ierr 84 84 -
XMLIO_SERVER/trunk/src/IOSERVER/mod_ioserver_para.F90
r31 r37 24 24 USE mod_prism_get_comm 25 25 #endif 26 USE mpi_mod 26 27 IMPLICIT NONE 27 INCLUDE 'mpif.h'28 28 INTEGER :: ierr 29 29 INTEGER :: global_rank … … 86 86 USE mod_prism_proto 87 87 #endif 88 USE mpi_mod 88 89 IMPLICIT NONE 89 include 'mpif.h'90 90 INTEGER :: ierr 91 91 -
XMLIO_SERVER/trunk/src/IOSERVER/mod_mpi_buffer_client.f90
r36 r37 55 55 USE mod_ioclient_para 56 56 USE mpitrace 57 USE mpi_mod 57 58 IMPLICIT NONE 58 INCLUDE 'mpif.h'59 59 INTEGER :: request_id 60 60 … … 76 76 USE mpitrace 77 77 use mod_wait 78 USE mpi_mod 78 79 IMPLICIT NONE 79 INCLUDE 'mpif.h'80 80 INTEGER :: ierr 81 81 INTEGER :: message_size … … 150 150 151 151 SUBROUTINE Check_request 152 USE mpi_mod 152 153 IMPLICIT NONE 153 INCLUDE 'mpif.h'154 154 LOGICAL :: ok_out 155 155 LOGICAL :: OK_complete -
XMLIO_SERVER/trunk/src/IOSERVER/mod_mpi_buffer_server.f90
r36 r37 54 54 USE mod_ioserver_para 55 55 USE mpitrace 56 IMPLICIT NONE57 I NCLUDE 'mpif.h'56 USE mpi_mod 57 IMPLICIT NONE 58 58 INTEGER :: n 59 59 INTEGER :: status(MPI_STATUS_SIZE)
Note: See TracChangeset
for help on using the changeset viewer.