<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Marzuki,<div><br></div><div>In your original message, you included the output from the compile line, and unless I'm missing something, you didn't include the actuall error message.</div><div><br></div><div>What was the error message after you typed:</div><div><br></div><div> ncargf77 event.f</div><div><br></div><div>By the way, editing "ncargf77" and setting:</div><div><br></div><div>set fortran = "ncargf77"</div><div><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font: inherit; "></td></tr></tbody></table></blockquote><div><br></div></div><div>will not work. "fortran" needs to be set to a Fortran compiler, like "gfortran" or "g95".</div><div><br></div><div>Do you have "gfortran" installed on your Cygwin system? If not, you will need to do this</div><div>via your "setup.exe" that you used to install X/Cygwin.</div><div><br></div><div>Please go to:</div><div><br></div><div><a href="http://www.ncl.ucar.edu/Download/cygwin.shtml#InstallCygwinX">http://www.ncl.ucar.edu/Download/cygwin.shtml#InstallCygwinX</a></div><div><br></div><div>and carefully read about all the software you need to install when you run "setup.exe". You should find the "gfortran" compiler under the category "Devel".</div><div><br></div><div>--Mary</div><div><br></div><div>On Aug 14, 2011, at 6:58 PM, juki juki wrote:</div><div><div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font: inherit;">Hi all and Dennis,<br><br>the following is the GCC and uname of my Cygwin<br><br>$ gcc --version<br>gcc (GCC) 4.3.4 20090804 (release) 1<br><br>$ uname -a<br>CYGWIN_NT-6.1 marzuki-PC 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin<br><br>As information, I can run<br><br><p>
For a graphical test, type:
</p><div>
<br class="webkit-block-placeholder"></div><pre> cp $NCARG_ROOT/lib/ncarg/nclex/xyplot/xy04n.ncl .
ncl xy04n.ncl<br><br>Hope your help to solve my problem..<br><br>Regards,<br>Marzuki<br> <br></pre><br><br>--- On <b>Sun, 8/14/11, Dennis Shea <i><<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>></i></b> wrote:<br><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; position: static; z-index: auto; "><br>From: Dennis Shea <<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>><br>Subject: Re: [ncl-talk] NCL Ncargf77 error for Cygwin<br>To: "juki juki" <<a href="mailto:juky_emc2@yahoo.com">juky_emc2@yahoo.com</a>><br>Date: Sunday, August 14, 2011, 6:30 AM<br><br><div class="plainMail">This is offline.<br><br>Installation questions should be sent to <a ymailto="mailto:ncl-install@ucar.edu" href="x-msg://4/mc/compose?to=ncl-install@ucar.edu">ncl-install@ucar.edu</a><br><br>However, since you sent the question to <a ymailto="mailto:ncl-talk@ucar.edu" href="x-msg://4/mc/compose?to=ncl-talk@ucar.edu">ncl-talk@ucar.edu</a> ,<br>you should send the following information to both groups<br><br>%> gcc --version<br><br>%> uname -a<br><br><br><br>On
8/14/11 6:57 AM, juki juki wrote:<br>> Hi all;<br>><br>> I really need your help to solve the installation problem of ny NCL code.<br>><br>> I compile my Fortran code using NCL as below:<br>><br>> $ ncargf77 event.f<br>> gfortran -fno-range-check -O event.f -L/usr/local/lib -lncarg -lnc<br>> arg_gks -lncarg_c -lXpm -lX11 -lXext<br>><br>> I could find any solution during the whole week. I try the suggestion at<br>> <a href="http://www.ncl.ucar.edu/FAQ/#misc_002" target="_blank">http://www.ncl.ucar.edu/FAQ/#misc_002</a>:<br>><br>> Edit the files $NCARG_ROOT/bin/ncargf77 and $NCARG_ROOT/bin/nhlf77 with<br>> your favorite UNIX editor and first change the line:<br>><br>> But more error is visible if I change<br>><br>> set fortran = "ncargf77"<br>><br>> What I should do now ?<br>><br>> Thanks for best help.<br>><br>> Regards,<br>> Marzuki<br>><br>><br>><br>>
_______________________________________________<br>> ncl-talk mailing list<br>> List instructions, subscriber options, unsubscribe:<br>> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div></blockquote></td></tr></tbody></table>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></blockquote></div><br></div></body></html>