Problem running defined fortran libs

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


Hi:

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 http://ngwww.ucar.edu/ncl/ for more details.
warning:Unable to load System Resource File
/usr/local/ncarg/lib/ncarg/sysresfile
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 ./readgrb_ncl.so, file
not loaded

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

fatal:syntax error: possibly an undefined procedure
fatal:syntax error: line 43 before or near end
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.

thanks!

Lou

-- 

_______________________________________________ ncl-talk mailing list ncl-talk AT ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk



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