Fix to support WRF Pnetcdf + quilting configuration when coupled to ROMS #217
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've managed to run a coupled WRF-ROMS setup and configure WRF with PnetCDF + quilting.
I had to fix the hanging after both models completed the integration. The problem was that the processes allocated to quilting did not call mpi_barrier correctly.
Please consider merging. You only need changes from WRF/frame/module_io_quilt_old.F
PS: The last compilation step does not link PNetcdf libraries. I fixed it manually by supplying "-L/lustre/scratch/osipovs/Models/COAWST/WRF/external/io_pnetcdf -lwrfio_pnf -L/opt/cray/pe/parallel-netcdf/1.12.1.4/INTEL/19.1/lib -lpnetcdf"
Best, Sergey