[Thread Prev][Thread Next][Index]

[ferret_users] Re: Probmlem in running FERRET in the RH Linux 5.3 environment





Ansley Manke wrote:
Hello,
If you look at the file ferret_paths_bash_template from the Ferret distribution, you'll see a few lines at the end having to do with the palette and fonts files. You have the environment variable for the palettes, but not one for the fonts. The error message you are seeing indicates that you don't have the PLOTFONTS variable defined.

 export PLOTFONTS="$FER_DIR/ppl/fonts"

This should point to the directory which contains the file fondat.dat as well as the files fnt01.chr, ...

If you add this to your .bashrc file, I think you will be in business. Or put all of these definitions into a ferret_paths script and execute that from your .bashrc.

Ansley


Dr.C.Shaji wrote:
Dear Ms. Ansley and All;

Please note that I am having a small problem in running FERRET in a 64-bit
RH Linux 5.3 running machine.

Let me go into the details.

1) My login shell is bash.

[root@circulation ~]# echo $SHELL
/bin/bash

The ferret path and the environment variables are set in my .bashrc file
as follows:

#---------------------------------------
# Path for FERRET
#---------------------------------------
PATH=$PATH:/usr/local:/usr/local/ferret:/usr/local/ferret/bin
PATH=$PATH:/home/data/fer_dsets/
export FER_GO=". /usr/local/ferret/go /usr/local/ferret/examples
/usr/local/ferret/contrib"
export FER_GRIDS=". /home/data/fer_dsets/grids"
export FER_EXTERNAL_FUNCTIONS="/usr/local/ferret/ext_func/libs"
export FER_PALETTE=". /usr/local/ferret/ppl"
export FER_DSETS="/home/data/fer_dsets"
export FER_DATA=". /home/data/fer_dsets/data /usr/local/ferret/go
/usr/local/ferret/examples /usr/local/ferret/contrib"
export FER_DESCR=". /home/data/fer_dsets/descr"
export FER_WEB_BROWSER="netscape -ncols 60"
export FER_DIR="/usr/local/ferret"
export SET_FER="/usr/local"

PATH=$PATH:/usr/local/ferret_paths;export PATH

After login, I ran FERRET in the "bash" shell itself and did an example
plot given in the tutorial.I get the following error, instead of getting a
plot.

[root@circulation ~]# which ferret
/usr/local/ferret/bin/ferret
[root@circulation ~]# ferret
        NOAA/PMEL TMAP
        FERRET v6.2
        Linux(g77) 2.6.9-22. - 05/19/09
         2-Jul-09 21:58

yes? PLOT/i=1:10  1/i
open: No such file or directory
apparent state: unit 10 named  /fondat.dat
last format: (i1)
lately reading sequential formatted external IO
Aborted

Please explain me why it is so. Can I run FERRET in the "bash" shell?
How can fix this error?

2) The second thing I did is changed the shell to C and then repeated the
above, which also resulted with the same error.

[root@circulation ~]# csh
[root@circulation ~]# ferret
        NOAA/PMEL TMAP
        FERRET v6.2
        Linux(g77) 2.6.9-22. - 05/19/09
         2-Jul-09 22:17

yes? PLOT/i=1:10  1/i
open: No such file or directory
apparent state: unit 10 named  /fondat.dat
last format: (i1)
lately reading sequential formatted external IO
Abort

3) The third thing what I did is execute the ".cshrc" file in the C shell.
Then repeated the above procedure. This time I got the required plot in
the plot window without any error.

[root@circulation ~]# source .cshrc
replacing ferret path
[root@circulation ~]# ferret
        NOAA/PMEL TMAP
        FERRET v6.2
        Linux(g77) 2.6.9-22. - 05/19/09
         2-Jul-09 22:23

yes? PLOT/i=1:10  1/i

In the ".cshrc" file, FERRET path is given as follows.
###############################################################################
# FERRET PATH
###############################################################################
setenv SET_FER /usr/local
setenv FER_DIR /usr/local/ferret
source $SET_FER/ferret_paths

4)
Please also note that earlier I have installed FERRET in a 32-bit Fedora
Core machine. There also I encountered with the above problems.

Perhaps I may be making some mistakes in giving the correct FERRET path.

Please suggest me whether Ferret can be run only under C shell. What
additional changes I need to follow to run FERRET without executing
".cshrc" file all the time.

I would highly appreciate an early reply from any of the Ferret team.

Thanks in advance,
C. Shaji.




[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement