Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Mon Dec 11, 2017 11:10 am




Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Author Message
PostPosted: Mon Nov 03, 2003 4:17 pm 
Hi All,

I am trying to make a local installation of ROMS on my computer (Pentium III, O.S = Red Hat 7.2 (Enigma)). I have some problems...

Actually, I started trying to create a grid NetCDF by using the coast and grid packages. I have a problem creating the NetCDF library. I followed the instructions in the UNIDATA INSTALL.html pages. Everything seems to go well until I lunch the "make" command giving:

Code:
make[1]: Entering directory `/usr/local/netcdf-3.5.0/src'

Making `all' in directory /usr/local/netcdf-3.5.0/src/libsrc

make[2]: Entering directory `/usr/local/netcdf-3.5.0/src/libsrc'
cc -c -O -I.  -DNDEBUG attr.c
In file included from /usr/include/errno.h:36,
                 from netcdf.h:39,
                 from nc.h:16,
                 from attr.c:8:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
make[2]: *** [attr.o] Error 1
make[2]: Leaving directory `/usr/local/netcdf-3.5.0/src/libsrc'
make[1]: *** [subdir_target] Error 1
make[1]: Leaving directory `/usr/local/netcdf-3.5.0/src'
make: *** [libsrc/all] Error 2


So I cannot compile ROMS program because the NetCDF library hasn't been built.

Anyway, also with xpots and xcoast seems that there are some problems:

The Makefile.gcc assumes that my X files are under /usr/local/X11R6, actually they are in /usr/X11R6, so I created a simbolic link before to lunch the "make depend" and "make" command..the result is the same..

Concerning xpots, an interface is created, but is impossible "move" the switches..

Does cpp need to any option to compile correctly the .h files?

Thank you, Davide


Top
  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 11, 2003 5:47 pm 
Offline
Site Admin
User avatar

Joined: Wed Feb 26, 2003 4:41 pm
Posts: 1017
Location: IMCS, Rutgers University
There are better packages for creating and editing the grid NetCDF file for ROMS. These packages use Matlab and the MEXCDF interface. There are very easy to use and have a lot new capabilities. Get the SeaGrid package. See:

http://woodshole.er.usgs.gov/staffpages ... agrid.html

CPP does not required any special flags. The new ROMS (version 2.0 uses few include files since everything is handling with F90 modules.

Perhaps, you can find help on the NetCDF web site for your problem compiling the library. Seems to me that there are some problems in your configuration file.

Good luck, H
arango@imcs.rutgers.edu


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 11, 2003 9:18 pm 
Offline
User avatar

Joined: Tue Jul 01, 2003 4:12 am
Posts: 481
Location: NIWA
Quote:
I have a problem creating the NetCDF library. I followed the instructions in the UNIDATA INSTALL.html pages. Everything seems to go well until I lunch the "make" command giving:


You might have better luck with one of the netCDF RPMs at

http://www.rpmfind.net/linux/rpm2html/s ... ery=netcdf

Mark Hadfield
NIWA


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group