[RegCNET] Error Compiling RegCM with 4.4 rc 31
Graziano Giuliani
ggiulian at ictp.it
Thu Aug 14 08:44:48 CEST 2014
On 08/13/2014 07:25 PM, Syed Ahsan Ali wrote:
> Found the problem. the make was finding the other netcdf which came with
> the Linux distribution. How to specify the correct netcdf directory
> during configure of RegCM?
[...]
You can use the CPPFLAGS and LDFLAGS to specify paths such as in:
CPPFLAGS="-I/path/to/the/netcdf/include" LDFLAGS="-L/path/to/the/netcdf/lib"
substituting the "/path/to/the/netcdf" with your actual path.
[...]
> Fatal Error: Cannot read module file 'mod_intkinds.mod' opened at
> (1), because it was created by a different version of GNU Fortran
[...]
This can be solved by a make clean. The previous compilation attempt
with an older gfortran has left outdated module file. Note .mod file are
an open issue for the fortran language:
http://fortranwiki.org/fortran/show/Library+distribution
--
Graziano Giuliani - Earth System Physics Section
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera 11 - I - 34151 Trieste Italy
More information about the RegCNET
mailing list