Re: linint2: gfortran_internal_malloc

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 19 Mar 2009 09:02:24 -0600

Hi Arindam,

I think you've run into the infamous gfortran incompatibility. You
have gfortran version 4.3, but the NCL you have was compiled with
4.1.2. Unfortunately this causes some missing dependencies.

Please see:

and in particular, read the part about "compat-libgfortran". I
believe you can go to:

and download the "compat-libgfortran" for gfortran 4.1.2, install it
somewhere on your machine,
and then point the LD_LIBRARY_PATH environment variable to this

On some systems, I linked libgfortran statically, which basically
means there's no dependency
on this library. I called this special binary "ncl.static". You can
test to see if your version of NCL
has this special binary:

     which ncl.static

If it does, then try:

   ncl.static your_script

I wish this were easier, but when we moved away from g77 to gfortran,
we started noticing these problems.
I've been in touch with the gfortran people about a way to work
around this, and hopefully by the time
we have our next release, I'll be able to compile NCL without this


On Mar 19, 2009, at 6:48 AM, Arindam Chakraborty wrote:

> Hello,
> When I call the function linint2(), NCL prints the following error
> message:
> ncl: symbol lookup error: ncl: undefined symbol:
> _gfortran_internal_malloc
> However, no such error is printed for linint1().
> I'm using NCL version 5.1 compiled with gcc-4.12 in OpenSuse 11.0.
> The system
> gcc version is:
> gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision
> 135036] (SUSE
> Linux)
> (Further, NCL-5.0 gives segmentation fault for the same function).
> Thanks in advance for any help.
> regards,
> arindam
> --
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Mar 19 2009 - 09:02:24 MDT

This archive was generated by hypermail 2.2.0 : Fri Mar 20 2009 - 10:31:51 MDT