Re: warning:An error occurred loading the external file

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 5 Oct 2006 14:35:37 -0600

On Oct 5, 2006, at 2:05 PM, Larry McDaniel wrote:

> ./extract.so is present, any ideas what is wrong?
>
> Larry
>

Hi Larry,

Usually when you get an "undefined symbol" error message coming out of
a *.so
file that is subsequently loaded by NCL, this means either you are
calling a subroutine
that is defined in some external library or Fortran file that is not
being included on the WRAPIT
line, or else something is just plain wrong with WRAPIT and it is not
creating the
*.so file.

In this case, it's complaining about the symbol "extract". Is this the
name of the subroutine
that you have the "C NCLFORTSTART" and "C NCLEND" comment blocks
around, or
is it an internal subroutine being called by your Fortran file?

If you could email me the extract.stub and extract.f99 files, I'll take
a look.

--Mary

> WRAPIT extract.stub extract.f99
>
> WRAPIT Version: 041106
> /usr/bin/g77
> LINKING
> END WRAPIT
>
> 1279 rhythm:/home/lmcd/NARCCAP> ls -lt extract.so
> -rwxrwxr-x 1 mcdaniel esig 5865 Oct 5 13:54 extract.so*
> 1280 rhythm:/home/lmcd/NARCCAP> !ncl
> ncl < mercator.ncl
> Copyright (C) 1995-2006 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 4.2.0.a033
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> warning:An error occurred loading the external file ./extract.so, file
> not loaded
> ./extract.so: undefined symbol: extract_
> fatal:syntax error: line 46 before or near :
> LARRYSUBS:
> ---------^
>
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
>
> --
> Larry R. McDaniel mcdaniel_at_ucar.edu Phone: 303 497 8128
> Institute for the Study of Society and Environment
> NCAR P.O. Box 3000 Boulder, CO 80307
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Oct 05 2006 - 14:35:37 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 05 2006 - 16:02:22 MDT