Changeset 2541
- Timestamp:
- 08/29/23 16:48:44 (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/test/generic_testcase.f90
r2520 r2541 59 59 INTEGER :: nb_procs(4) 60 60 LOGICAL :: who_i_am(4) 61 INTEGER :: provided 61 62 62 63 OPEN(unit=unit, file='param.def',status='old',iostat=ierr) … … 72 73 !!! MPI Initialization 73 74 74 CALL MPI_INIT(ierr) 75 CALL MPI_INIT_THREAD(MPI_THREAD_SERIALIZED, provided, ierr) 76 75 77 CALL init_wait 76 78 CALL MPI_COMM_RANK(MPI_COMM_WORLD,rank,ierr) … … 2057 2059 ENDDO 2058 2060 2059 bounds_value_glo( 2,0)=value_glo(0)-(value_glo(1)-value_glo(0))/22061 bounds_value_glo(1,0)=value_glo(0)-(value_glo(1)-value_glo(0))/2 2060 2062 DO i=1,nlev_glo-1 2061 bounds_value_glo( 2,i)=(value_glo(i-1)+value_glo(i)) /22063 bounds_value_glo(1,i)=(value_glo(i-1)+value_glo(i)) /2 2062 2064 ENDDO 2063 2065 2064 2066 DO i=0,nlev_glo-2 2065 bounds_value_glo( 1,i)=(value_glo(i)+value_glo(i+1)) /22066 ENDDO 2067 bounds_value_glo( 1,nlev_glo-1)=value_glo(nlev_glo-1)-(value_glo(nlev_glo-2)-value_glo(nlev_glo-1))/22067 bounds_value_glo(2,i)=(value_glo(i)+value_glo(i+1)) /2 2068 ENDDO 2069 bounds_value_glo(2,nlev_glo-1)=value_glo(nlev_glo-1)-(value_glo(nlev_glo-2)-value_glo(nlev_glo-1))/2 2068 2070 2069 2071 nlev=nlev_glo/axis_proc_size … … 2086 2088 return_mask=.TRUE. 2087 2089 CALL set_axis_mask(params,value,return_mask) 2088 CALL xios_set_axis_attr(axis_id, n_glo=nlev_glo, begin=begin, n=nlev, value=value*1000 00, mask=return_mask, bounds=bounds_value*100000, unit='Pa', positive='up')2090 CALL xios_set_axis_attr(axis_id, n_glo=nlev_glo, begin=begin, n=nlev, value=value*1000, mask=return_mask, bounds=bounds_value*1000, unit='mb', positive='up') 2089 2091 2090 2092
Note: See TracChangeset
for help on using the changeset viewer.