Re: Problem with WRAPIT after upgrade to 5.1

From: Saji N. Hameed <saji_at_nyahnyahspammersnyahnyah>
Date: Wed, 8 Apr 2009 09:47:59 +0900

Hi James,

> No luck. I installed using a binary (i686_gcc346), and I don't have

> Uname -a
> Linux 2.6.9-78.0.13.ELsmp #1 SMP x86_64

It seems to me that you have a 64bit machine, but the NCL binary is for a
32 bit machine! This may cause a problem and can be resolved by using the
64 bit binary or by adding flags to your compiler. For pgfortran compiler
we use the tp=px option

    -tp target
              Specify the type of the target processor; possibilities are

              -tp amd64
                      AMD Opteron or Athlon-64 in 64-bit mode

              -tp athlon
                      AMD Athlon processor

              -tp athlonxp
                      AMD AthlonXP and AthlonMP processor

              -tp k7 AMD Athlon processor

              -tp k8-32
                      AMD Opteron or Athlon-64 in 32-bit mode

              -tp k8-64
                      AMD Opteron or Athlon-64 in 64-bit mode

              -tp p5 Pentium processor

              -tp px blended code generation that will work on any
                      x86-compatible processor

saji

> gfortran, but rather g77. Could that be the difference?
>
>
>
> WRAPIT runs successfully.
> The ncl warning is as follows:
> warning:An error occurred loading the external file ./lljf.so , file not
> loaded.
> ./lljf.so: cannot open shared object file: No such file or directory
> Then it goes on to highlight where in the ncl script this error occurred.
>
> Gcc --version:
> 3.4.6 20060404 red hat 3.4.6-10
>
> Uname -a
> Linux 2.6.9-78.0.13.ELsmp #1 SMP x86_64
>
> jimmyc
>
> On 4/7/09 11:55 AM, "Dennis Shea" <shea_at_ucar.edu> wrote:
>
> > Were there other messages?
> >
> > Try:
> >
> > %> WRAPIT -fPIC ...
> >
> > Good luck
> >
> >
> > Correia, James wrote:
> >> Hi all-
> >> I upgraded a while back to NCL 5.1, and tried to run some scripts calling a
> >> few shared object files. The result was "file not loaded", "cannot open
> >> shared object file: No such file or directory"
> >>
> >> I reran WRAPIT on the files and they are located in the correct directory.
> >> The version of WRAPIT I am using is 090115. This is the current version,
> >> correct?
> >>
> >> Thanks for any insight
> >>
> >>
> >>
> >> James Correia Jr., PhD
> >> Climate Physics Group
> >> Post. Doc.
> >> Pacific Northwest National Lab
> >>
> >> "Wisdom. Strength. Courage. Generosity. Each of us are born with one of
> >> these. It is up to us to find the other three inside of us."
> >> -Into the West
> >>
> >>
> >> _______________________________________________
> >> ncl-talk mailing list
> >> List instructions, subscriber options, unsubscribe:
> >> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >>
> >
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
Saji N. Hameed
APEC Climate Center          				
1463 U-dong, Haeundae-gu,                               +82 51 745 3951
BUSAN 612-020, KOREA                    		saji_at_apcc21.net
Fax: +82-51-745-3999
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 07 2009 - 18:47:59 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 08 2009 - 10:41:09 MDT