[ncl-install] NCARG list example error

Salme Cook sc10 at wildcats.unh.edu
Tue Jul 15 11:15:59 MDT 2014


I have installed and tested NCL binaries following the instructions on the NCL website.
I am on an Ubuntu machine and the binary version I downloaded: ncl_ncarg-6.2.0.Linux_Debian6.0_x86_64_gcc445.tar.gz

The NCL/NCARG tests are clean

ng4ex gsun01n -clean

^ worked great

and


ncargex cpex08 -clean

^ worked great.

However, when I go to list the examples available

ncargex -A -list
I have an error when I hit the mpex15 example:

NCAR Graphics Fortran  Example <mpex15>

  Copying mpex15.f

  Copying Europe.png

  Copying Europe.pngi

Compiling and linking...
gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -lpng -lz -o mpex15 mpex15.f -L/home/field/ncl-6.2.0/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lbz2 -lXrender
/tmp/cc8xr5xs.o: In function `main':
mpex15.f:(.text+0x1f1): undefined reference to `mapngr_'
mpex15.f:(.text+0x324): undefined reference to `mapngd_'
mpex15.f:(.text+0x4d8): undefined reference to `mapngq_'
collect2: error: ld returned 1 exit status

The compile and link failed.

I have been looking online and on the NCL FAQs and Install threads but haven't been able to understand what is going wrong.

Thank you for your time!

- Salme

PhD student, Oceanography
College of Engineering and Physical Science
University of New Hampshire?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20140715/7a5c102d/attachment-0001.html 


More information about the ncl-install mailing list