Skip to content

Commit 8ff09e7

Browse files
io_adios2: new ADIOS2 API (wrf-model#1860)
Fixes ADIOS2 init API to support ADIOS2 v2.9.0. TYPE: bug fix KEYWORDS: ADIOS2, parallel I/O, in-situ I/O, API change SOURCE: Michael Laufer, Israel DESCRIPTION OF CHANGES: Problem: ADIOS2 init API was changed in v2.9.0, leading to compilation issues. Solution: Use equivalent init API that is backwards compatible with old ADIOS2 releases. LIST OF MODIFIED FILES: M external/io_adios2/wrf_io.F90
1 parent 775826b commit 8ff09e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

external/io_adios2/wrf_io.F90

+2-2
Original file line numberDiff line numberDiff line change
@@ -1599,9 +1599,9 @@ subroutine ext_adios2_ioinit(SysDepInfo, Status)
15991599
!look for adios2 xml runtime configuration
16001600
INQUIRE(FILE="adios2.xml", EXIST=file_exists)
16011601
if(file_exists) then
1602-
call adios2_init(adios, 'adios2.xml', MPI_COMM_WORLD, adios2_debug_mode_on, stat)
1602+
call adios2_init(adios, 'adios2.xml', MPI_COMM_WORLD, stat)
16031603
else
1604-
call adios2_init(adios, MPI_COMM_WORLD, adios2_debug_mode_on, stat)
1604+
call adios2_init(adios, MPI_COMM_WORLD, stat)
16051605
endif
16061606
call adios2_err(stat,Status)
16071607
if(Status /= WRF_NO_ERR) then

0 commit comments

Comments
 (0)