Fortran help extracting GRIB files

Associate
Joined
6 Nov 2006
Posts
722
Location
Devon
Hi

I've downloaded some data files and they are in GRIB .grb file format. I've also downloaded a package of fortran routines called gribex to extract the data from these files. I've run the makefile which came with it to install the routines. The examples provided with package seem to work but if I write my own program (I copied a program verbatim from the manual so it should work) I get errors saying
Code:
/tmp/ccKqKiT1.o: In function `MAIN__':
testfile.f:(.text+0x3e): undefined reference to `pbopen_'
for all the new routines. They appear in the examples so I think they're there but they don't seem to be picked up then I put them in my program.

Does anyone know why this would happen? Do I need to put something in my file to say where these routines are?

Thanks
 
Back
Top Bottom