Hello
I try to compile ROMS on a Dell Laptop with Ubuntu Linux.
netcdf-3.6.2 is installed
When I try to compile I get the following error:
makefile:227: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
cd Build; /bin/g95 -c -fno-second-underscore -O3 -ffast-math -ffree-form -ffree-line-length-huge mod_netcdf.f90
Fatal Error: While reading module 'netcdf' found module version 0, expected 8.
make: *** [Build/mod_netcdf.o] Error 1
So what does netcdf module version 8 mean, and how can I make sure that I have this module version?
Best regards
Staalstrom
Problems compiling ROMS NetCDF problem
-
- Posts: 31
- Joined: Mon Feb 04, 2008 3:43 pm
- Location: NIVA, OSLO, NORWAY
Re: Problems compiling ROMS NetCDF problem
Did you compile NetCDF yourself or install it as a package? In most cases it is easier and almot always necessary to compile NetCDF with the same compiler and options you wish to compile ROMS with. In short, unless you can find out exactly how your NetCDF was configured and compiled your first step should be to re-compile NetCDF yourself.
Re: Problems compiling ROMS NetCDF problem
It probably means your NetCDF was compiled with an older (incompatible) version of g95.