Changeset 36 for XMLIO_SERVER
- Timestamp:
- 07/07/09 17:04:46 (15 years ago)
- Location:
- XMLIO_SERVER/trunk/src/IOSERVER
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_SERVER/trunk/src/IOSERVER/mod_ioserver_namelist.f90
r26 r36 1 1 MODULE mod_ioserver_namelist 2 2 3 LOGICAL :: using_server 4 LOGICAL :: using_oasis 5 CHARACTER(LEN=100) :: client_id 6 CHARACTER(LEN=100) :: server_id 7 3 LOGICAL,SAVE :: using_server 4 LOGICAL,SAVE :: using_oasis 5 CHARACTER(LEN=100),SAVE :: client_id 6 CHARACTER(LEN=100),SAVE :: server_id 8 7 NAMELIST /coupling_param/ using_server,using_oasis,client_id,server_id 8 9 INTEGER,SAVE :: global_mpi_buffer_size 10 NAMELIST /mpi_param/ global_mpi_buffer_size 9 11 10 12 INTEGER,PARAMETER,PRIVATE :: starting_unit=356 … … 19 21 client_id='unknown' 20 22 server_id='unknown' 23 global_mpi_buffer_size=512 24 21 25 END SUBROUTINE set_default_namelist 22 26 … … 41 45 IF (ierr==0) THEN 42 46 READ(unit,nml=coupling_param) 47 READ(unit,nml=mpi_param) 48 global_mpi_buffer_size=global_mpi_buffer_size*1024*128 43 49 CLOSE(unit) 44 50 ELSE -
XMLIO_SERVER/trunk/src/IOSERVER/mod_mpi_buffer_client.f90
r32 r36 20 20 INTEGER,SAVE :: start_pos 21 21 LOGICAL,SAVE :: ok_new_request 22 23 22 LOGICAL,SAVE :: is_last_request 23 24 INTEGER :: mpi_buffer_size 25 24 26 CONTAINS 25 27 … … 27 29 USE mod_global_memory 28 30 USE mod_pack 31 USE mod_ioclient_para 29 32 IMPLICIT NONE 33 34 INTEGER :: nb_client 30 35 36 nb_client=iosize-1 37 mpi_buffer_size=global_mpi_buffer_size/nb_client 38 31 39 CALL allocate_global_memory(mpi_buffer_size,MPI_Buffer) 32 40 buffer_begin=1 -
XMLIO_SERVER/trunk/src/IOSERVER/mod_mpi_buffer_parameters.f90
r8 r36 1 1 MODULE mod_mpi_buffer_parameters 2 INTEGER,PARAMETER :: mpi_buffer_size = 1024*1024*642 USE mod_ioserver_namelist, ONLY : global_mpi_buffer_size 3 3 INTEGER,PARAMETER :: max_request = 10000 4 4 REAL, PARAMETER :: frac_alert = 0.9 -
XMLIO_SERVER/trunk/src/IOSERVER/mod_mpi_buffer_server.f90
r17 r36 24 24 25 25 INTEGER,SAVE :: current_rank 26 26 INTEGER,SAVE :: mpi_buffer_size 27 27 28 28 CONTAINS … … 35 35 36 36 ALLOCATE(buffers(nb_client)) 37 37 mpi_buffer_size=global_mpi_buffer_size/nb_client 38 38 DO n=1,nb_client 39 39 CALL allocate_global_memory(mpi_buffer_size,buffers(n)%MPI_Buffer)
Note: See TracChangeset
for help on using the changeset viewer.