[ncl-install] Problems with NCARG

Mateus Teixeira mateus.teixeira at gmail.com
Sun Mar 29 13:50:52 MDT 2009


Dear NCL/NCARG users,

I'm trying to compile MM5 model with NCARG using NCL/NCARG binaries, but I'm
getting the following errors when I compile MM5's TERRAIN program:

a lot of undefined references to '_gfortran.....

please see below:

gesc.f:(.text+0x2820): undefined reference to `_gfortran_copy_string'
gesc.f:(.text+0x28e6): undefined reference to `_gfortran_copy_string'
gesc.f:(.text+0x2959): undefined reference to `_gfortran_copy_string'
gesc.f:(.text+0x2a27): undefined reference to `_gfortran_st_read'
gesc.f:(.text+0x2a3e): undefined reference to `_gfortran_transfer_integer'
gesc.f:(.text+0x2a46): undefined reference to `_gfortran_st_read_done'

and problems with libpng

/usr/local/ncarg/lib/libncarg_gks.a(pixwrite_png.o): In function
`write_png':
pixwrite_png.c:(.text+0x64): undefined reference to
`png_create_write_struct'
pixwrite_png.c:(.text+0x8d): undefined reference to `png_create_info_struct'
pixwrite_png.c:(.text+0xa7): undefined reference to
`png_destroy_write_struct'
pixwrite_png.c:(.text+0xe2): undefined reference to
`png_destroy_write_struct'
pixwrite_png.c:(.text+0x119): undefined reference to `png_init_io'
pixwrite_png.c:(.text+0x12e): undefined reference to `png_malloc'
pixwrite_png.c:(.text+0x16d): undefined reference to `png_set_rows'
pixwrite_png.c:(.text+0x1b4): undefined reference to `png_set_IHDR'
pixwrite_png.c:(.text+0x1dd): undefined reference to `png_write_png'
pixwrite_png.c:(.text+0x1ef): undefined reference to
`png_destroy_write_struct'

I have installed the following package in fedora 10:
libpng.1.2.35-1.fc10

It seems that because I'm using intel compiler with MM5, it isn't working
with libraries compiled with other compilers. My questions are:

1) Can I compile NCAR Graphics with intel compiler and install it above the
files provided with NCL/NCARG binaries download from Earth System Grid site?
Could this procedure affect the functioning of NCL?

2) In the case of png libraries, can this error be associated with the
compilation with other compiler instead of intel's?


Best regards,

-- 
Mateus da Silva Teixeira

Registered Linux User #466740
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20090329/0926cc32/attachment.html 


More information about the ncl-install mailing list