Re: so file not loading

From: Micah Sklut <micahs2005_at_nyahnyahspammersnyahnyah>
Date: Wed, 27 Feb 2008 10:33:03 -0500

Hi Mary,

Thanks for your reply. For some fortunate reason, I cant duplicate the
error anymore. So, I'll take this as an error on my part that I overlooked
and some how fixed...?

Micah

On Tue, Feb 26, 2008 at 6:44 PM, Mary Haley <haley_at_ucar.edu> wrote:

>
> On Mon, 25 Feb 2008, Micah Sklut wrote:
>
> > I've got an interesting problem where the system I'm compiling with
> WRAPIT
> > is getting a run time error
> > while loading the .so file, while another system runs with no errors
> using
> > the same .so file.
> >
> > On both machines, I have the same version of ncl 4.3.1. Both machines
> are
> > running linux, but with
> > different processors. The machine that runs the script successfully is
> > running amd processors, while the
> > machine which is unsuccessfully running the script is running intel
> xeon's.
> >
> >
> > I'm not sure where the problem may be.
> >
> > This is how I compile:
> >
> > WRAPIT -in -fPIC wnawind2.f90 ../fort/calendar.f90 wnawind.stub
> >
> > The error I recieve is:
> >
> > warning:An error occurred loading the external file
> > ~/swellinfo/ncl/wnawind2.so, file not loaded
> > warning:error at line 5 in file write_ww3wind2.ncl
> >
> > fatal:syntax error: line 34 in file write_ww3wind2.ncl before or near :
> > WRITE:
> > ----------^
> >
> > fatal:error in statement
> > fatal:Syntax Error in block, block not executed
> > fatal:error at line 37 in file write_ww3wind2.ncl
> >
> >
> > My line 5 is:
> > external WRITE "~/swellinfo/ncl/wnawind2.so"
> >
> > Any suggestions here? Thank you!
> >
> > Micah Sklut
>
> Hi Micah,
>
> There may be an incompatibility with using the Intel compilers to
> generate the shared object, and then trying to load the shared
> object using a gcc/g77-compiled version of ncl.
>
> Have you tried running WRAPIT without the "-in" option?
>
> Also, with the NCL that's giving you problems: do you know exactly
> which binary was installed? I can check if there was a problem
> with the way we built it.
>
> --Mary
>
>
Received on Wed Feb 27 2008 - 08:33:03 MST

This archive was generated by hypermail 2.2.0 : Fri Feb 29 2008 - 11:15:04 MST