ROMS 2.2 installation problems

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
DTokarev

ROMS 2.2 installation problems

#1 Unread post by DTokarev »

Hi all,
I have on my computer Fedora core 5 and g95 compiller,
When I try to install roms 2.2 I get next message:

[root@localhost roms-2.2]# make
g95 -c -O3 -ffast-math mod_netcdf.f90
In file mod_netcdf.f90:218

integer, parameter :: NF_FOUT = nf_real
1
Error: Symbol 'nf_real' at (1) has no IMPLICIT type
In file mod_netcdf.f90:219

integer, parameter :: NF_FRST = nf_double
1
Error: Symbol 'nf_double' at (1) has no IMPLICIT type
In file mod_netcdf.f90:220

integer, parameter :: NF_TYPE = nf_double
1
Error: Symbol 'nf_double' at (1) has no IMPLICIT type
make: *** [mod_netcdf.o] Error 1

what I must to do?
Thanks

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

#2 Unread post by kate »

I'm guessing you left off the real error, which was cpp not finding netcdf.inc. Do you have the netcdf library somewhere? You have to tell it where in Compilers/Linux-g95.mk file. There is both an include file and a library file that make needs to find.

If you don't have it, netcdf is at: http://www.unidata.ucar.edu/software/netcdf/

Post Reply