[ncl-install] [ncl-talk] NCL Ncargf77 error for Cygwin

Mary Haley haley at ucar.edu
Sun Aug 14 20:57:42 MDT 2011


Hi Marzuki,

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.

What was the error message after you typed:

  ncargf77 event.f

By the way, editing "ncargf77" and setting:

set fortran = "ncargf77"

will not work. "fortran" needs to be set to a Fortran compiler, like "gfortran" or "g95".

Do you have "gfortran" installed on your Cygwin system?  If not, you will need to do this
via your "setup.exe" that you used to install X/Cygwin.

Please go to:

http://www.ncl.ucar.edu/Download/cygwin.shtml#InstallCygwinX

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".

--Mary

On Aug 14, 2011, at 6:58 PM, juki juki wrote:

> Hi all and Dennis,
> 
> the following is the GCC and uname of my Cygwin
> 
> $ gcc --version
> gcc (GCC) 4.3.4 20090804 (release) 1
> 
> $ uname -a
> CYGWIN_NT-6.1 marzuki-PC 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
> 
> As information, I can run
> 
> For a graphical test, type:
> 
> 
>     cp $NCARG_ROOT/lib/ncarg/nclex/xyplot/xy04n.ncl .
>     ncl xy04n.ncl
> 
> Hope your help to solve my problem..
> 
> Regards,
> Marzuki
>  
> 
> 
> --- On Sun, 8/14/11, Dennis Shea <shea at ucar.edu> wrote:
> 
> From: Dennis Shea <shea at ucar.edu>
> Subject: Re: [ncl-talk] NCL Ncargf77 error for Cygwin
> To: "juki juki" <juky_emc2 at yahoo.com>
> Date: Sunday, August 14, 2011, 6:30 AM
> 
> This is offline.
> 
> Installation questions should be sent to ncl-install at ucar.edu
> 
> However, since you sent the question to ncl-talk at ucar.edu ,
> you should send the following information to both groups
> 
> %> gcc --version
> 
> %> uname -a
> 
> 
> 
> On 8/14/11 6:57 AM, juki juki wrote:
> > Hi all;
> >
> > I really need your help to solve the installation problem of ny NCL code.
> >
> > I compile my Fortran code using NCL as below:
> >
> > $ ncargf77 event.f
> > gfortran -fno-range-check -O event.f -L/usr/local/lib -lncarg -lnc
> > arg_gks -lncarg_c -lXpm -lX11 -lXext
> >
> > I could find any solution during the whole week. I try the suggestion at
> > http://www.ncl.ucar.edu/FAQ/#misc_002:
> >
> > Edit the files $NCARG_ROOT/bin/ncargf77 and $NCARG_ROOT/bin/nhlf77 with
> > your favorite UNIX editor and first change the line:
> >
> > But more error is visible if I change
> >
> > set fortran = "ncargf77"
> >
> > What I should do now ?
> >
> > Thanks for best help.
> >
> > Regards,
> > Marzuki
> >
> >
> >
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20110814/42606aa7/attachment.html 


More information about the ncl-install mailing list