Fwd: wrapit error

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Sat, 10 Oct 2009 19:14:25 -0600

Just let people know that this problem is solved.

Thanks,

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

Begin forwarded message:

> From: MICHAEL NOTARO <mnotaro_at_wisc.edu>
> Date: October 10, 2009 1:36:05 PM MDT
> To: Wei Huang <huangwei_at_ucar.edu>
> Subject: Re: wrapit error
>
> Thanks. I tried a newer version of WRAPIT, instead of wrapit as
> I usually used, and it worked.
>
> Mike
>
> ----- Original Message -----
> From: Wei Huang <huangwei_at_ucar.edu>
> Date: Saturday, October 10, 2009 10:32 am
> Subject: Re: wrapit error
> To: Michael Notaro <mnotaro_at_wisc.edu>
>
>> Mike,
>>
>> I send this email offline. As I am not an expert on wrapit, but the
>> one is out of country.
>>
>> Usually, there is an "WRAPIT" (all upper case).
>> You should use that one. You may try use "wrapit77", then I know even
>> less.
>>
>> With WRAPIT, you'd better use f90.
>>
>> With pgf90, try: WRAPIT -pg -fPIC part.f
>> with intel compiler, try WRAPIT -in -fPIC part.f
>> with gfortran, try: WRAPIT -gf -fPIC part.f
>>
>> Regards,
>>
>> 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 9:57 PM, MICHAEL NOTARO wrote:
>>
>>> 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 Sat Oct 10 2009 - 19:14:25 MDT

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