Opened 19 years ago
Last modified 19 years ago
#38 closed defect
ropp_io configure checks for ncdf90 — at Initial version
Reported by: | Dave Offiler | Owned by: | frcm |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ropp_io | Version: | 0.8 |
Keywords: | Cc: | axel.vonengeln@…, dave.offiler@… |
Description
1) configure (io) checks for ncdf90 Fortran mod file and for a routine in the ncdf90 object library (see bleow). Since ncdf90 is part of ropp_io and is built by this module, so it shouldn't expect it to be present.
2) the check (which shouldn't be done) for the mod file finds it, because it's not being removed by a make clean (or make distclean, we think)
I suspect this is legacy from when ncdf90 was built separatly.
The checks for ncdf90 should be removed from the configure.am (see below)? Nothing bad seems to happen when the is_netscf check fails; does configure skip building ncdf90 if it had been found? If it would attempt build it anyway (except for 'make' testing for it being up-to-date), then the checks are completely redundant.)
Suggestion action: 1) remove the ncdf90 checks from configure.am 2) ensure ncdf mod file is removed by make clean (any other mod files not being deleted?) Chris to action or advise/confirm Dave to do the biz.
Output from configure: checking for Fortran module ncdf90... yes ... checking for is_netcdf of the ncdf90 library... no
Lines to be removed in configure.am (??):
configure.ac:CM_CHECK_MODULE(ncdf90) configure.ac:if test x$HAVE_MODULE_ncdf90 = xyes ; then configure.ac: CM_CHECK_LIB(ncdf90, is_netcdf, -lncdf90) configure.ac:AM_CONDITIONAL(USE_NCDF90, test x$HAVE_LIBRARY_ncdf90 = xyes)