Hi,
I'm having trouble installing/using NetCDF, and having looked at the website
I hope I've picked the right mailing list. Sorry if I'm sending this in
error.
I have a macbook pro and I'm new to compiling. I am trying to install NetCDF
to use with a modelling program called FVCOM, which I also have to compile.
I had compiled fvcom fine but then realised I needed NetCDF libraries
installed. On my first attempt to install NetCDF, 'configure' produced this
error:
*checking if Fortran "byte" is C "signed char"...
configure: error: Could not link conftestf.o and conftest.o*
and after searching online found that they suggested using this line of
code instead, if you didn't need fortran installed.
*FC= ./configure*
as I have already got gfortran installed I thought that would be ok. It
seemed to work, as after this was typed it compiled and installed fine.
However, when I tried to compile FVCOM while linking to these libraries, it
came up with this error:
*Can't open module file 'netcdf.mod' for reading at (1): No such file or
directory*
And there is indeed no netcdf.mod file in the 'include' directory. I'm not
sure where to go from here... as it seems to be a NetCDF issue at this point
I thought here was the best place. I read in an archive something about
telling NetCDF about the existing gfortran libraries when it configures -
but I have no idea how to do that. Does anybody know how I fix this?
Many thanks,
Jenny