[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030707: UDUNITS on UCAR's Blackforest IBM



Richard,

>Date: Mon, 07 Jul 2003 12:50:17 -500
>From: Richard Anyah <address@hidden>
>Organization: North Carolina State University
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20030703: UDUNITS 

The above message contained the following:

> What I did mean with errors about, 
> ............ 
> ifndef PTR
> ?> #  define PTR  integer
> ?> # endif
> ?> ..
> ?> PTR utmake
> ?> ...
> ?> integer uttime
> **********
> is that when I try to compile my code which uses the udunits(udunits.inc) 
> lib, I get the following error messages:
> 
> xlf90_r  -o ICBC -qstrict -O3 -qmaxmem=12288  ICBC.o -L/ptmp/anyah/UNIT/ 
> -lnetcdf -ludunits
> ld: 0711-317 ERROR: Undefined symbol: .utopen
> ld: 0711-317 ERROR: Undefined symbol: .utmake
> ld: 0711-317 ERROR: Undefined symbol: .utdec
> ld: 0711-317 ERROR: Undefined symbol: .uttime
> ld: 0711-317 ERROR: Undefined symbol: .utcaltime
> ld: 0711-317 ERROR: Undefined symbol: .utfree
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

The above errors are probably unrelated to the "PTR" code above.  The
errors mean the the linker couldn't find the Fortran routines of the
UDUNITS package.

Does the file "/ptmp/anyah/UNIT/libudunits.a" exist?  If so, then does
it contain the above symbols?  Send me the output of the following
command:

    nm -g /ptmp/anyah/UNIT/libudunits.a | grep -i utopen

You might have to adjust the "nm" and "grep" commands to accomodate
Blackforest.

Regards,
Steve Emmerson