Re: Problems with NCARG

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Tue, 31 Mar 2009 11:13:53 -0600

Hi Mateus,

Mary Haley is really the expert on compiling using other compilers
such as the Intel compilers on Linux. She is on vacation for the next
week.

I don't really know the answers to your questions, but one question
have is do you get any of these linking errors if you try to compile a
a simple C or Fortran example program just using the system compilers.

  -dave

On Mar 29, 2009, at 1:50 PM, Mateus Teixeira wrote:

> 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
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Tue Mar 31 2009 - 11:13:53 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 06 2009 - 10:22:49 MDT