Dear Paul,<div><br></div><div>Thanks for all this help. Actually it was giving some error in the program wrdlen.f. I have removed that error. Now BUFRLIB has been compiled successfully. I have used these commands only. Now i will compile MET. I will bother you again if i will face any error in that.</div>
<div><br></div><div>Thanks and Regards</div><div>Hashmi Fatima<br><br><div class="gmail_quote">On Mon, May 3, 2010 at 9:26 PM, Paul Oldenburg <span dir="ltr"><<a href="mailto:pgoldenb@ucar.edu">pgoldenb@ucar.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hashmi,<br>
<br>
We suspect that you may have not compiled BUFRLIB correctly. You should follow<br>
the compilation instructions on the MET Online Tutorial as closely as possible:<br>
<br>
<a href="http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/compilation/index.php" target="_blank">http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/compilation/index.php</a><br>
<br>
Did you use the following commands to build BUFRLIB? We were able to reproduce<br>
the errors you reported by leaving the *.F off of the fourth command on this list.<br>
<br>
cd /home/hashmi/Desktop/BUFRLIB<br>
rm *.o *.a<br>
<div class="im">gcc -c -DUNDERSCORE *.c<br>
gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F<br>
ar crv libbufr.a *.o<br>
<br>
</div>You should use gcc to compile BUFRLIB and g++ to compile MET, as the Online<br>
Tutorial suggests. Please let us know if you have any more questions.<br>
<br>
Thanks,<br>
<div><div></div><div class="h5"><br>
Paul<br>
<br>
<br>
Hashmi Fatima wrote:<br>
> Dear Paul,<br>
><br>
> As you have suggested in the previous mail, I have updated BUFRLIB with new<br>
> nvnwin.f program. and i have installed I am still getting warings for<br>
> program nemock.f and stndrd.f while compiling BUFRLIB.<br>
><br>
> gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F<br>
><br>
> So after making archive of BUFRLIB, and updating METv2.0 with METv2.0<br>
> patches. when i compile METv2.0 then it is giving errors.<br>
><br>
> When i use gcc compiler in the compilation of MET, it gives more errors,<br>
> while g++ reduces the errors. I am sending you make_met.log file with this<br>
> email.<br>
><br>
> Thanks and Regards<br>
> Thanks and Regards<br>
><br>
> On Fri, Apr 30, 2010 at 9:46 PM, Paul Oldenburg <<a href="mailto:pgoldenb@ucar.edu">pgoldenb@ucar.edu</a>> wrote:<br>
><br>
>> Hashmi,<br>
>><br>
>> I have three suggestions:<br>
>><br>
>> (1) There's an issue posted to the known issues page about compiling<br>
>> BUFRLIB<br>
>> with gfortran. Please view the issue posted on 5/27/09. You must update<br>
>> the<br>
>> version of nvnwin.f:<br>
>> <a href="http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php" target="_blank">http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php</a><br>
>><br>
>> (2) Also, please compile BUFRLIB with all the recommended arguments, as<br>
>> shown<br>
>> here (from the MET User's Guide Compilation section):<br>
>><br>
>><br>
>> <a href="http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/compilation/req_libs.php" target="_blank">http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/compilation/req_libs.php</a><br>
>> gcc -c -DUNDERSCORE *.c<br>
>> gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F<br>
>> ar crv libbufr.a *.o<br>
>><br>
>> (3) Lastly, please grab the latest set of METv2.0 patches from the top of<br>
>> the<br>
>> known-issues page and follow the instructions for applying them. After<br>
>> applying<br>
>> them, do a "make clean" followed by a "make".<br>
>><br>
>> If you have any other questions, please let us know. Good luck.<br>
>><br>
>> Paul<br>
>><br>
>><br>
>><br>
>> Hashmi Fatima wrote:<br>
>>> Dear Sir,<br>
>>><br>
>>> Now it is giving some error with BUFRLIB. So I have recompiled bufrlib.<br>
>> Now<br>
>>> there are few warnings and an error:<br>
>>><br>
>>> gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F<br>
>>><br>
>>> In file nemock.f:77<br>
>>><br>
>>> IF(NEMO(I:I).EQ.CHRSET(J:J)) GOTO 10<br>
>>> 1<br>
>>> In file nemock.f:81<br>
>>><br>
>>><br>
>>> 2<br>
>>> Warning: Obsolete: GOTO at (1) jumps to END of construct at (2)<br>
>>> In file nvnwin.f:84<br>
>>><br>
>>> INVN(I) = BMISS<br>
>>> 1<br>
>>> Error: Arithmetic overflow converting REAL(8) to INTEGER(4) at (1)<br>
>>> In file stndrd.f:202<br>
>>><br>
>>> GOTO 10<br>
>>> 1<br>
>>> In file stndrd.f:207<br>
>>><br>
>>><br>
>>> 2<br>
>>> Warning: Obsolete: GOTO at (1) jumps to END of construct at (2)<br>
>>><br>
>>><br>
>>> If I ignore these errors and warnings and after making archive library<br>
>>> libbufr.a, install MET then it gives error in the bufr library. Please<br>
>> see<br>
>>> the attached log file.<br>
>>><br>
>>> Big Thanks and Regards<br>
>>> Hashmi Fatima<br>
>>><br>
>>> On Fri, Apr 30, 2010 at 4:00 PM, Hashmi Fatima <<a href="mailto:hashmifatima@gmail.com">hashmifatima@gmail.com</a><br>
>>> wrote:<br>
>>><br>
>>>> Dear Sir,<br>
>>>><br>
>>>> When I have changed the compiler from gcc to g++ then it is giving less<br>
>>>> errors. i am attaching the make_met.log file. Please have a look.<br>
>>>><br>
>>>><br>
>>>> Thanks and Regards<br>
>>>> Hashmi Fatima<br>
>>>><br>
>>>> On Fri, Apr 30, 2010 at 2:16 PM, Hashmi Fatima <<a href="mailto:hashmifatima@gmail.com">hashmifatima@gmail.com</a><br>
>>> wrote:<br>
>>>>> Dear Sir<br>
>>>>><br>
>>>>> you have not get the error file. I am sending it again. please see the<br>
>>>>> attachment.<br>
>>>>><br>
>>>>><br>
>>>>> Thanks and Regards<br>
>>>>> Hashmi Fatima<br>
>>>>><br>
>>>>> On Thu, Apr 29, 2010 at 5:47 PM, Hashmi Fatima <<a href="mailto:hashmifatima@gmail.com">hashmifatima@gmail.com</a><br>
>>> wrote:<br>
>>>>>> Dear Sir/ Madam<br>
>>>>>><br>
>>>>>> I am a PhD student at Indian Institute of Technology Delhi, India. I<br>
>> am<br>
>>>>>> installing MET on my computer which is having RedHat linux as<br>
>> Operating<br>
>>>>>> system. I am getting a lot of errors. I am attaching Makefile and<br>
>>>>>> make_met.log with this email. Please have a look at these files and<br>
>> help me<br>
>>>>>> out.<br>
>>>>>><br>
>>>>>> Thanks and Regards,<br>
>>>>>> --<br>
>>>>>> Hashmi Fatima<br>
>>>>>> Research Scholar<br>
>>>>>> Centre for Atmospheric Sciences<br>
>>>>>> Indian Institute of Technology Delhi<br>
>>>>>> Hauz Khas<br>
>>>>>> New Delhi - 110016<br>
>>>>>> INDIA<br>
>>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Hashmi Fatima<br>
>>>>> Research Scholar<br>
>>>>> Centre for Atmospheric Sciences<br>
>>>>> Indian Institute of Technology Delhi<br>
>>>>> Hauz Khas<br>
>>>>> New Delhi - 110016<br>
>>>>> INDIA<br>
>>>>><br>
>>>><br>
>>>> --<br>
>>>> Hashmi Fatima<br>
>>>> Research Scholar<br>
>>>> Centre for Atmospheric Sciences<br>
>>>> Indian Institute of Technology Delhi<br>
>>>> Hauz Khas<br>
>>>> New Delhi - 110016<br>
>>>> INDIA<br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> ------------------------------------------------------------------------<br>
>>><br>
>>> _______________________________________________<br>
>>> Met_help mailing list<br>
>>> <a href="mailto:Met_help@mailman.ucar.edu">Met_help@mailman.ucar.edu</a><br>
>>> <a href="http://mailman.ucar.edu/mailman/listinfo/met_help" target="_blank">http://mailman.ucar.edu/mailman/listinfo/met_help</a><br>
>><br>
><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Hashmi Fatima<br>Research Scholar<br>Centre for Atmospheric Sciences<br>Indian Institute of Technology Delhi<br>Hauz Khas<br>New Delhi - 110016<br>INDIA<br>
</div>