Parallel-NetCDF / PnetCDF

Source code repository of PnetCDF library and utilities
https://parallel-netcdf.github.io
Other
80 stars 22 forks source link

Configure fails with Intel 2024 OneAPI #136

Closed VictorEijkhout closed 5 months ago

VictorEijkhout commented 5 months ago
checking for Fortran libraries of /opt/intel/oneapi/mpi/2021.11/bin/mpif90...  -loopopt=1

and then the loader complains about that strange library.

Intel note: https://www.intel.com/content/www/us/en/developer/articles/release-notes/oneapi-fortran-compiler-release-notes.html

Going by that advise I run autoreconf -i which solves the problem despite many errors:

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
configure.ac:1523: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:1523: You should run autoupdate.
wkliao commented 5 months ago

If you are building PnetCDF using its github repo (which is not recommended for production use), please clone the repo before running autoreconf -i. Below is the clone command.

git clone https://github.com/Parallel-NetCDF/PnetCDF.git
VictorEijkhout commented 5 months ago

No, I'm using the 1.12.3 download. It builds fine with gcc but not the latest intel.

wkliao commented 5 months ago

This issue has been reported in #94. The fix will appear in the next release.

If you want to work on 1.12.3, then please edit file configure.ac and delete line 10 below and run autoreconf -if.

AC_REVISION([m4_esyscmd_s([git describe --always])])
wkliao commented 5 months ago

please check if 1.13.0 resolves the issues

VictorEijkhout commented 5 months ago

The new version seems to solve it. Thanks.