Re: NCL scripts

From: Motilal Mittal <moti_at_nyahnyahspammersnyahnyah>
Date: Fri, 13 Oct 2006 16:03:27 -0400 (EDT)

Mary,

Thank you.

I executed the command
WRAPIT wrf_user_fortran_util_0.f

and then ncl <wrf_bwave.ncl

Still I get the error message

fatal:syntax error: line 2 in file WRFUserARW.ncl before or near
wrf_user_fortran_util_0
external wrf_user_fortran_util_0
-------------------------------^

fatal:error in statement
fatal:syntax error: line 1 in file ./wrf_user_fortran_util_0.so before or near
ELF
---^

fatal:error in statement

Thanks for helping me.

Moti
On Fri, 13 Oct 2006, Mary Haley wrote:

> Date: Fri, 13 Oct 2006 13:45:58 -0600 (MDT)
> From: Mary Haley <haley_at_ucar.edu>
> To: Motilal Mittal <moti_at_osc.edu>
> Cc: So-Young Ha <syha_at_ucar.edu>, ncl-talk_at_ucar.edu
> Subject: Re: NCL scripts
>
> Hi Moti,
>
> I'm not sure how your WRF Makefile is generating the
> wrf_user_fortran_util_0.so file, but you might try replacing that code
> with:
>
> WRAPIT wrf_user_fortran_util_0.f
>
> WRAPIT tries to figure out what kind of machine you're on, and then it
> does all the compilation work to generate the *.so file. You don't
> need to do the steps of running "wrapit77" or compiling the C and
> Fortran files associated with this step. WRAPIT does all this for you.
>
> --Mary
>
>
>
>
> On Fri, 13 Oct 2006, Motilal Mittal wrote:
>
>> So-Young,
>>
>> Thank you very much.
>>
>> I downloaded the sample scripts.
>>
>> I build wrf_user_fortran_util_0.so with gnu compiler and
>> -fno-second-underscore
>> option.
>>
>> When I run the command
>> ncl < wrf_bwave.ncl
>> i get the error
>> fatal:syntax error: line 2 in file WRFUserARW.ncl before or near
>> wrf_user_fortran_util_0
>> external wrf_user_fortran_util_0
>> -------------------------------^
>>
>> fatal:error in statement
>> fatal:syntax error: line 1 in file ./wrf_user_fortran_util_0.so before or
>> near ELF
>> ---
>>
>> fatal:error in statement
>>
>> Any suggestions where I can look for the errors.
>>
>> Moti
>>
>> On Wed, 11 Oct 2006, So-Young Ha wrote:
>>
>>> Date: Wed, 11 Oct 2006 11:41:35 -0600
>>> From: So-Young Ha <syha_at_ucar.edu>
>>> To: Motilal Mittal <moti_at_osc.edu>
>>> Cc: ncl-talk_at_ucar.edu
>>> Subject: Re: wrf to NCL
>>>
>>> Moti,
>>> Did you check the wrf web for WRF post-processing software?
>>> http://www.mmm.ucar.edu/wrf/users/download/get_source2.html
>>> You can download the sample scripts at the link "NCAR NCL scripts to
>>> process and view WRF model output in netCDF
>>> <http://www.mmm.ucar.edu/wrf/src/wrf_ncl-2.1.tar.gz>". You can directly
>>> read WRF files in NCL without any conversion.
>>>
>>> So-Young
>>>
>>
>>
>> --
>> Sr. Scientist, Ohio Supercomputer Center
>> Graduate Faculty, Graduate Program in Environmental Science (OSU)
>> Columbus, OH 43212-1163
>> www.osc.edu/pcrm/emissions
>> voice:(614)292-2552 (O); (614)789-9384 (H) fax:(614)292-7168
>> e-mail: moti_at_osc.edu, mittal.1_at_osu.edu
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>

-- 
Sr. Scientist, Ohio Supercomputer Center
Graduate Faculty, Graduate Program in Environmental Science (OSU)
Columbus, OH 43212-1163
www.osc.edu/pcrm/emissions
voice:(614)292-2552 (O); (614)789-9384 (H) 
fax:(614)292-7168
e-mail: moti_at_osc.edu, mittal.1_at_osu.edu
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Oct 13 2006 - 14:03:27 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 16 2006 - 22:16:12 MDT