Re: wrapit error

From: Micah Sklut <micahs2005_at_nyahnyahspammersnyahnyah>
Date: Thu, 18 Oct 2007 22:43:24 +0000

Hi Rick,

The new host is a 64 bit system. It is running a Intel Core 2 Quad Core.

I downloaded ncl-4.3.1.Linux_x86_64_gcc4.tar.gz and installed on fedora core
7.

uname -A output:
Linux Micah-PC 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:47:07 EDT 2007 x86_64
x86_64 x86_64 GNU/Linux

I tried adding the -fPIC option, and am still receiving the same error.
NCARG_ROOT has been set correctly.

Any other thoughts on this ?

Thank you very much.

Micah

On 10/18/07, Rick Grubin <grubin_at_ucar.edu> wrote:
>
> Hi Micah
>
> > I just installed ncl on a new system.
>
> What type of system is this new host? 32bit or 64bit? Did you
> download the proper binary for it?
>
> It would help to know this information; the output from 'uname -a' is
> also helpful.
>
> > I tried to recompile my fortran files with wrapit, but encountered
> > the following error message when I used this command:
> >
> > WRAPIT -in namwind.stub namwind4.f90
> >
> > Error:
> > WRAPIT Version: 051007
> > /opt/intel/fc/9.1.040/bin/ifort
> > COMPILING namwind4.f90
> > LINKING
> > ld: warning: i386:x86-64 architecture of input file `WRAPIT.o' is
> > incompatible with i386 output
>
> The error here indicates you have a 64bit host -- true?
>
> The error is telling you that you're trying to link a 32bit object
> with 64bit objects, which you cannot do. I would
> suggest using the option '-fPIC' on the command line ('WRAPIT -in -
> fPIC namwind.stub namwind4.f90') to make
> sure you're using relocatable objects.
>
> Please also make sure you've downloaded the correct NCL distribution
> for your host.
>
> -Rick.
> ----
> Rick Grubin NCAR/TDD/CISL/VETS
> Visualization + Enabling Technologies
> grubin_at_ucar.edu 303.497.1832
>
>
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Oct 18 2007 - 16:43:24 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 22 2007 - 14:48:46 MDT