Open dqwu opened 1 year ago
Does the code work if you change the module included to pio (if so, that should be the fix for this issue)?
use pio, only: PIO_enddef, PIO_inq_dimid, PIO_inq_dimlen, PIO_inq_varid, &
Does the code work if you change the module included to pio (if so, that should be the fix for this issue)?
use pio, only: PIO_enddef, PIO_inq_dimid, PIO_inq_dimlen, PIO_inq_varid, &
With this fix, a new build error is
scream/components/eamxx/src/share/io/scream_scorpio_interface.F90:52:7:
52 | use pionfatt_mod, only: PIO_put_att => put_att
| 1
Fatal Error: Cannot open module file 'pionfatt_mod.mod' for reading at (1): No such file or directory
All of the pio functions should be available via the pio module, so all these statements should use "use pio" instead
All of the pio functions should be available via the pio module, so all these statements should use "use pio" instead
put_att not found in the pio module.
scream/components/eamxx/src/share/io/scream_scorpio_interface.F90:52:16:
52 | use pio, only: PIO_put_att => put_att
| 1
Error: Symbol 'put_att' referenced at (1) not found in module 'pio'
@jayeshkrishna Your scream branch jayeshkrishna/eamxx/rm_old_pio_mods can fix this issue. That branch also works with the default scorpio module (release 1.4.1).
Steps to reproduce this issue on Perlmutter
Build error
Need to decide whether this build error should be fixed on SCORPIO side or on SCREAM side.