Problem running defined fortran libs

From: Louis J. Wicker (Louis.Wicker AT XXXXXX)
Date: Wed Jun 25 2003 - 15:10:41 MDT


I am trying to get some fortran libraries (to read GRIB files which are
not correctly being read by the NCL GRIB reader) to link into NCL.

There is only one subroutine being called, readgrb_ncl. After compiling
all the fortran and c code from the GRIB reader into shared libraries on
a RH7 machine, I get the following message:

See for more details.
warning:Unable to load System Resource File
warning:WorkstationClassInitialize:Unable to access rgb color database -
named colors unsupported:[errno=2]:No such file or directory
warning:["Palette.c":1533]:NhlLoadColormapFiles: Invalid colormap
directory: /usr/local/ncarg/lib/ncarg/colormaps
warning:Could not find Init() in external file ./, file
not loaded

Variable: fname
Type: string
Total Size: 4 bytes
            1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
(0) /datstore/mbukov/etagrd/0611_KFcombo/EGRD3D.GrbF06
fatal:syntax error: line 35 before or near :

fatal:syntax error: possibly an undefined procedure
fatal:syntax error: line 43 before or near end

fatal:error in statement

Now, I checked the definition of the interface block and its okay (its
pretty simple) based on some discussion I read on NCL-TALK. Any other
ideas? This is being compiled with portland group compiler, using some
scripts from the WRF model, nhlcc, and following the NCL instructions
for building in fortran.




_______________________________________________ ncl-talk mailing list ncl-talk AT

This archive was generated by hypermail 2b29 : Wed Jun 25 2003 - 16:24:45 MDT