Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👌 IMPROVE: Install parallel NetCDF #13

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

chrisjsewell
Copy link
Member

@chrisjsewell chrisjsewell commented Mar 24, 2021

This was intended to fix the warning in the output file (installing libpnetcdf-dev):

--- !WARNING
src_file: m_nctk.F90
src_line: 564
message: |
    Netcdf lib does not support MPI-IO and: NetCDF: Parallel operation on file opened for non-parallel access
...

  Asked to delete not existent file: __TMP_FILE__

--- !WARNING
src_file: m_nctk.F90
src_line: 584
message: |
    The netcdf library does not support parallel IO, see message above
    Abinit won't be able to produce files in parallel e.g. when paral_kgb==1 is used.
    Action: install a netcdf4+HDF5 library with MPI-IO support.
...

From https://docs.abinit.org/INSTALL_Ubuntu/:

HDF5, NetCDF and NetCDF-Fortran, libraries to write/read binary files in netcdf4 format. These libraries are available via the libhdf5-dev, libnetcdf-dev and libnetcdff-dev packages from apt. For parallel IO, the libpnetcdf-dev is required.

However, with this addition it is currently still present.
So perhaps it has to be specifically linked to in some way?

@sphuber
Copy link

sphuber commented Apr 12, 2021

@gmatteo do you have an idea what other configuration may need to be specified to get a parallel version of netcdf?

@chrisjsewell chrisjsewell linked an issue Apr 13, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with parallel I/O (netcdf)
2 participants