Skip to content

Commit

Permalink
Merge branch 'jayeshkrishna/driver_share/support_adios_iotype' (PR E3…
Browse files Browse the repository at this point in the history
…SM-Project#5494)

Adding support for ADIOS I/O type in drivers and utils

[BFB]
  • Loading branch information
jayeshkrishna authored Mar 7, 2023
2 parents c451698 + 518be5a commit 9fb9725
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion driver-mct/cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2573,7 +2573,7 @@

<entry id="PIO_TYPENAME">
<type>char</type>
<valid_values>netcdf,pnetcdf,netcdf4p,netcdf4c,default</valid_values>
<valid_values>netcdf,pnetcdf,netcdf4p,netcdf4c,adios,default</valid_values>
<group>run_pio</group>
<file>env_run.xml</file>
<desc>pio io type</desc>
Expand Down
2 changes: 1 addition & 1 deletion driver-moab/cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2480,7 +2480,7 @@

<entry id="PIO_TYPENAME">
<type>char</type>
<valid_values>netcdf,pnetcdf,netcdf4p,netcdf4c,default</valid_values>
<valid_values>netcdf,pnetcdf,netcdf4p,netcdf4c,adios,default</valid_values>
<group>run_pio</group>
<file>env_run.xml</file>
<desc>pio io type</desc>
Expand Down
2 changes: 2 additions & 0 deletions share/util/shr_pio_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ subroutine shr_pio_getiotypefromname(typename, iotype, defaulttype)
iotype = pio_iotype_netcdf4p
else if ( typename .eq. 'NETCDF4C') then
iotype = pio_iotype_netcdf4c
else if ( typename .eq. 'ADIOS') then
iotype = pio_iotype_adios
else if ( typename .eq. 'NOTHING') then
iotype = defaulttype
else if ( typename .eq. 'DEFAULT') then
Expand Down

0 comments on commit 9fb9725

Please sign in to comment.