Hello folks
This is arguably a problem with my Linux distribution, or with my expectations
of nf-config, but I think the netCDF list is probably the best place to raise
it.
Having compiled and built the ROMS ocean model from source on numerous
platforms over the years, I am now attempting to do so on a CenTOS Linux
machine on my desktop, and am running into a problem I have not encountered
before (and I have encountered many!). I have CenTOS 7.1 with up-to-date
netcdf, netcdf-devel, netcdf-fortran and netcdf-fortran-devel packages, as well
as all the dependencies found by the package manager (yum).
The ROMS build system finds the netCDF files it needs using the output of
nf-config. One of the things done by the make files is to copy the netCDF
Fortran-90 module files, netcdf.mod and typesizes.mod, to the working directory
for compilation. It looks for these in the directory specified by the output of
“nf-config –includedir”, which on this system is /usr/include. However the
netCDF module files are not there, they are in /usr/lib64/gfortran/modules.
nf-config appears to have no option to print the location of the module files.
Should it have such an option? Or should applications not ask for this
information? I presume (though I haven’t checked) that gFortran would find the
module files in their present location without having to copy them.
Mark
Dr Mark Hadfield
Marine Physics Modeller
+64-4-386-0363 | +64-21-027-41037 | 301 Evans Bay Parade, Greta Point,
Wellington | www.niwa.co.nz<http://www.niwa.co.nz>
[NIWA]<http://www.niwa.co.nz>
To ensure compliance with legal requirements and to maintain cyber security
standards, NIWA's IT systems are subject to ongoing monitoring, activity
logging and auditing. This monitoring and auditing service may be provided by
third parties. Such third parties can access information transmitted to,
processed by and stored on NIWA's IT systems.