I have been trying to get netcdf installed for a few days. I have gone through and read all of the posts but I cannot find an answer to my problem. I am self taught so I am sure that is most of the problem.
I am trying to download netcdf-3.6.3 following the instructions on the ROMS wiki site.
export FC=gfortran
export FFLAGS='O3'
work fine however when I run
./configure
or
./configure --prefix=/opt/gfortran/serial/netcdf3
I get the following error
checking for C-equivalent to Fortran routine "SUB"... configure: error: Could not compile conftest.f
Can anyone tell me what I am doing wrong?
Netcdf installation
Re: Netcdf installation
Try FFLAGS = "-O3" instead.
There should be config.log or some such with all the details of how the test failed.
There should be config.log or some such with all the details of how the test failed.
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
Re: Netcdf installation
What were you doing wrong? It's always nice to know about new ways to break netCDF installation.