How to install xcoast?

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
Lee2015

How to install xcoast?

#1 Unread post by Lee2015 »

It's the first time for me to learn ROMS. Now I want to generate Grid using some tools provided by https://www.myroms.org/index.php?page=RomsPackages.
How to install xcoast in windows by means of Cygwin? When I followed the steps in the README file as follows, some errors occurred. eg, It showed command not found when I use xmkmf.

INSTALLATION

1. Get world_int.cst file and put it somewhere.

2. Set the environment variable in .cshrc (or whatever):

setenv XCOASTDATA /mycoastlinedirectory/world_int.cst

3. Unpack the xcoast sources.

4. Build the Makefile and compile:

xmkmf
make depend
make

This is known to work on both Sun Solaris and FreeBSD with gcc and
X11R6. There is a Makefile.gcc which assumes that your X files are
under /usr/local/X11R6. Nothing else is guaranteed, but it should
work for all computers which have an ANSI C compiler and can
compile xfig.

5. Become root and install:

make install
make install.man

Otherwise, just copy the xcoast executable to some binary directory
on your path.

6. If you do not know xfig, it will help to read the manual:

man xcoast

or

tbl xcoast.man | ptroff -man

Many Thanks!

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

Re: How to install xcoast?

#2 Unread post by kate »

There's probably a package for X11 developers that you need to download.
both Sun Solaris and FreeBSD
Boy, does this ever date things... The modern way would be to build a gui in Python, but I don't have those skills (yet).

Lee2015

Re: How to install xcoast?

#3 Unread post by Lee2015 »

Thanks! I installed it in Ubuntu.

Post Reply