semi-successful compile of NCARG with Intel Fortran compiler for Linux

From: Erika Harnett (eharnett@XXXXXX)
Date: Mon Mar 04 2002 - 16:48:10 MST


I fixed most of the problems (described below) but I still can't get idt
to work properly. The gmeta files that are produced look fine when I view
them with idt on another machine running a different (and much older)
installation of ncargraphics. Calling "idt gmeta" opens the correct
windows but also instantly produces the following errors:

reading stdout of translator: Illegal seek
Translator aborted

and none of the images in the gmeta file can be viewed. When I click
"done" on the viewing window I get

Segmentation fault (core dumped)

but if I click "quit" on the controller window I don't get a core dump.
That is where I am stuck with getting idt to work.

But this is what I had to do to get the ncargraphics library to work:

First make sure the command ifc can be found. For me that means running
as root in with the bash environment, so that the enviroment variables are
set by the /opt/intel/compiler50/ia32/bin/ifcvars.sh script at
start. Later you will have to modify your .bash_profile file to include:

# NCARGraphics path
NCARG_ROOT="/usr/local/ncarg"
export NCARG_ROOT
 
PATH=$PATH:$NCARG_ROOT/bin
MANPATH=$MANPATH:$NCARG_ROOT/man
export PATH MANPATH

# set up environment for Intel compiler ifc - this should already be there
. /opt/intel/compiler50/ia32/bin/ifcvars.sh

Now do the following:

run ./Configure -v
  -> need to specify Fortran 90 and the name of compiler (ifc)
 
edit ngdots.f and comment out the line below such that it reads:
  -> C SAVE IFIRST
 
edit ./config/system_file (LINUX for me) such that you have the following:
  -> #define FcOptions -Vaxlib
 
Then from the main ncarg directory run both of the following commands:

  -> make Makefiles
 
  -> make me

I still get errors having to do with fonts but it doesn't cause serious
enough problems such that any of the ncarg calls fail (unless that is why
I can't get idt to work).

Erika
_________________________________________________________________________
Erika Harnett |
Department of Earth and Space Sciences |
University of Washington, Box 351310 |
Seattle, WA 98195-1310, USA |
________________________________________|________________________________
eharnett@geophys.washington.edu
_________________________________________________________________________



This archive was generated by hypermail 2b29 : Mon Mar 04 2002 - 22:10:21 MST