problem with AIX precompiled NCL binaries

From: Selin, Rebecca D CTR USAF AFWA 2 WXG/WEA <Rebecca.Selin.Ctr_at_nyahnyahspammersnyahnyah>
Date: Wed, 15 Apr 2009 16:40:33 -0500

Hello,

 

I am attempting to use the precompiled NCL 5.1.0 binaries for an AIX 5.3
PowerPC 6 system. Last year, I was able to download the NCL 5.0.0
binaries for an AIX 5.3 PowerPC 5 system, and they still work fine.
However, the 5.1.0 binaries didn't work. When testing my installation,
the following would occur:

 

nc4ex gsun01n : runs successfully, produces images

ncl gsun01n.ncl : exits before plotting anything with the error Illegal
instruction(coredump)

 

ncargex cpex08 :

NCAR Graphics Fortran Example <cpex08>

 

  Copying cpex08.f

 

  Copying cpexcc.f

 

Compiling and linking...

xlf_r -q64 -O3 -qstrict -o cpex08 cpexcc.f cpex08.f
-L/sphome/adamsr/WRFLIB/NCL64/lib -lncarg -lncarg_gks -lncarg_c -lX11

cpexcc.f:

** gendat === End of Compilation 1 ===

** fran === End of Compilation 2 ===

** capsap === End of Compilation 3 ===

** labtop === End of Compilation 4 ===

** bndary === End of Compilation 5 ===

** dfclrs === End of Compilation 6 ===

1501-510 Compilation successful for file cpexcc.f.

cpex08.f:

** cpex08 === End of Compilation 1 ===

** colram === End of Compilation 2 ===

** colrcl === End of Compilation 3 ===

** colrll === End of Compilation 4 ===

** colra2 === End of Compilation 5 ===

** colrc2 === End of Compilation 6 ===

** colrl2 === End of Compilation 7 ===

1501-510 Compilation successful for file cpex08.f.

ld: 0711-317 ERROR: Undefined symbol: .png_create_write_struct

ld: 0711-317 ERROR: Undefined symbol: .png_create_info_struct

ld: 0711-317 ERROR: Undefined symbol: .png_destroy_write_struct

ld: 0711-317 ERROR: Undefined symbol: .png_init_io

ld: 0711-317 ERROR: Undefined symbol: .png_malloc

ld: 0711-317 ERROR: Undefined symbol: .png_set_rows

ld: 0711-317 ERROR: Undefined symbol: .png_set_IHDR

ld: 0711-317 ERROR: Undefined symbol: .png_write_png

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.

 

The compile and link failed.

 

Of course, this last error makes me suspect that my libpng library is
not linking in correctly - it is not in the "normal" place. But what is
the name of the environmental variable I need to set to define this?
I've tried PNG and LIBPNG. And I have no idea what could be the problem
with regular NCL.

 

Thanks in advance for your help.

 

Becky Adams Selin

UCAR Visiting Scientist

Air Force Weather Agency 2 WXG/WEA

COMM: (402) 294-5273 DSN: 271-5273

 

 

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Wed Apr 15 2009 - 15:40:33 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 16 2009 - 10:06:19 MDT