Re: wrapit error

From: MICHAEL NOTARO <mnotaro_at_nyahnyahspammersnyahnyah>
Date: Fri, 09 Oct 2009 22:57:14 -0500

Wei,

Thanks for your email. Using the f77 compiler, when I execute:
wrapit -fPIC part.f

I get:

/usr/bin/f77
ERROR: FILE -fPIC DOES NOT EXIST

I assume that I can leave the "[-in|-pg|-gf|fortran-compiler-option]" part
empty since it knows to use f77 anyhow.

Mike

----- Original Message -----
From: Wei Huang <huangwei_at_ucar.edu>
Date: Friday, October 9, 2009 5:40 pm
Subject: Re: wrapit error
To: Michael Notaro <mnotaro_at_wisc.edu>
Cc: ncl-talk NCL <ncl-talk_at_ucar.edu>

> Mike,
>
> Please try "WRAPIT [-in|-pg|-gf|fortran-compiler-option] -fPIC your-
> fortran-file"
>
> Wei Huang
> huangwei_at_ucar.edu
> VETS/CISL
> National Center for Atmospheric Research
> P.O. Box 3000 (1850 Table Mesa Dr.)
> Boulder, CO 80307-3000 USA
> (303) 497-8924
>
>
>
>
>
> On Oct 9, 2009, at 4:11 PM, Michael Notaro wrote:
>
> > Why does the following very simple fortran script result in the
> > following error
> > when I use wrapit (vs. 030422) on it?
> >
> > C NCLFORTSTART
> > subroutine notaro(scf)
> > C NCLEND
> > stop
> > end
> >
> >
> > ld: WRAPIT.o: relocation R_X86_64_32 against `a local symbol' can not
> > be used when making a shared object; recompile with -fPIC
> > WRAPIT.o: could not read symbols: Bad value
> >
> > Thanks,
> > Mike
> > _______________________________________________
> > 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
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Oct 09 2009 - 21:57:14 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 12 2009 - 03:45:17 MDT