Open maahn opened 7 years ago
There are plans on adding it back in for cmake-configured projects for the next release; nf-config should still be generated if you are using the autotools-based configure
script.
I just downloaded the 4.5 c-lib, did a fresh install, then installed fortran 4-4-4 on my MacPro. nf-config is still dead - and I used all the auto tools (./config). Still get the "nf-config not yet implemented for make builds" error.
Still not there. Will this ever be fixed? It's kind of broken as it is now. Homebrew uses the CMake variant and hence doesn't have a working nf-config.
Observing the same thing. In particular, nc-config --fflags
runs. correctly from the command line (aka, returns useful information), but when run from a script, it quietly returns a message about not yet being enabled for cmake. I would like to build portable, intelligent compile scripts that take advantage of nc-config
and nf-config
; this is definitely an unexpected curve-ball.
Working on getting this tightened up and corrected so that we can push out a new release.
@markyoder what versions of netcdf and netcdf-fortran are you using? I had thought this was fixed, and dismayed to see that it wasn't. However, with the latest release of netcdf-fortran (4.5.2) it does appear that nf-config is working. The mistake was in not closing out this issue. Once we get this settled, I'll close the issue out, but it does appear that nf-config
is working for cmake
and configure
based builds, both in version 4.5.2
and the master
branch of the repository.
I'm using 4.7.1 and 4.5.2. I'll double check to see that it's not some sort of scope issue, where I am somehow pulling a different version of NetCDF from the script. In principle, I sure do like nc-config, nf-config for writing compile scripts!
Mark Yoder, PhD 805 451 8750 www.linkedin.com/in/Mark-R-Yoder-PhD http://www.linkedin.com/in/Mark-R-Yoder-PhD
"If you bore me, you lose your soul (to me)..." ~belly
On Fri, Feb 21, 2020 at 12:28 PM Ward Fisher notifications@github.com wrote:
@markyoder https://github.com/markyoder what versions of netcdf and netcdf-fortran are you using? I had thought this was fixed, and dismayed to see that it wasn't. However, with the latest release of netcdf-fortran (4.5.2) it does appear that nf-config is working. The mistake was in not closing out this issue. Once we get this settled, I'll close the issue out, but it does appear that nf-config is working for cmake and configure based builds, both in version 4.5.2 and the master branch of the repository.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Unidata/netcdf-fortran/issues/60?email_source=notifications&email_token=AB2DC45KY5SK2F3Z3KWNH63REA2QHA5CNFSM4DG4Y5OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMT7UGY#issuecomment-589822491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2DC4426M7HWWSVZ2GDTHDREA2QHANCNFSM4DG4Y5OA .
... and I have done something now to make this feature work as it is intended. If I figure out what that was, I'll be sure to post it.
Mark Yoder, PhD 805 451 8750 www.linkedin.com/in/Mark-R-Yoder-PhD http://www.linkedin.com/in/Mark-R-Yoder-PhD
"If you bore me, you lose your soul (to me)..." ~belly
On Fri, Feb 21, 2020 at 1:48 PM Mark Yoder mark.yoder@gmail.com wrote:
I'm using 4.7.1 and 4.5.2. I'll double check to see that it's not some sort of scope issue, where I am somehow pulling a different version of NetCDF from the script. In principle, I sure do like nc-config, nf-config for writing compile scripts!
Mark Yoder, PhD 805 451 8750 www.linkedin.com/in/Mark-R-Yoder-PhD http://www.linkedin.com/in/Mark-R-Yoder-PhD
"If you bore me, you lose your soul (to me)..." ~belly
On Fri, Feb 21, 2020 at 12:28 PM Ward Fisher notifications@github.com wrote:
@markyoder https://github.com/markyoder what versions of netcdf and netcdf-fortran are you using? I had thought this was fixed, and dismayed to see that it wasn't. However, with the latest release of netcdf-fortran (4.5.2) it does appear that nf-config is working. The mistake was in not closing out this issue. Once we get this settled, I'll close the issue out, but it does appear that nf-config is working for cmake and configure based builds, both in version 4.5.2 and the master branch of the repository.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Unidata/netcdf-fortran/issues/60?email_source=notifications&email_token=AB2DC45KY5SK2F3Z3KWNH63REA2QHA5CNFSM4DG4Y5OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMT7UGY#issuecomment-589822491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2DC4426M7HWWSVZ2GDTHDREA2QHANCNFSM4DG4Y5OA .
I just noticed that nf-config was deactivated in 4.4.4: https://github.com/Unidata/netcdf-fortran/commit/e3a421779fb7db07c9c438892d0e6b4fac1e612e Is there any plan to get that feature back?
I rely on nf-config to get the paths to lib and include in the Makefile. Is there a better, platform-independent alternative except requiring the user to set environment variables?
Thanks