[ncl-install] ncl with gcc 4.7

Mary Haley haley at ucar.edu
Sun Jun 2 14:33:36 MDT 2013


The "bad interpreter" message is coming from the fact that "ng4ex" is a c-shell program, and you don't appear to have c-shell installed.

Please see the Cygwin instructions on this:

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

--Mary

On May 31, 2013, at 4:34 PM, Alberto Mario Striedinger Pinilla <astriedinger at gmail.com> wrote:

> like this originally as well::
> erto at alberto-ThinkPad-W520 /usr/local/ncl-6.1.2/lib/ncarg/nclex/gsun $ ng4ex gsun01n -clean
> bash: /usr/local/ncl-6.1.2/bin/ng4ex: /bin/csh: bad interpreter: No such file or directory
> 
> 
> Alberto M. Striedinger. P.
> Student Intern Researcher at MeteoConsult .NL.
> MSc. Sustainable Energy Technology
> Eindhoven University of Technology
> BSc.Mechanical Engineering
> Universidad del Norte & USF
> +31    
> 
>      
> 
> 
> On Sat, Jun 1, 2013 at 12:33 AM, Alberto Mario Striedinger Pinilla <astriedinger at gmail.com> wrote:
> Hello,
> 
> yes I noticed not to send them to both emails. I know about the PATH variable, and it does show my locations usr/local/ncl..., and not like $NCARG_ROOT. I Know the path is set there cuz once I echo the PATH i got my ncl directory there, and also I can echo $NCARG_ROOT and get the directory so both are ok.   This is the message I get ::
> 
> /usr/local/ncl-6.1.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
> 
> where usr/local/ncl... has my version
> 
> when I run the ng4ex, I get:
> 
> alberto at alberto-ThinkPad-W520 ~ $ ng4ex gsun01n.ncl -clean
> bash: /usr/local/ncl-6.1.2/bin/ng4ex: /bin/csh: bad interpreter: No such file or directory
> 
> but I know I have the file in this location:
> alberto at alberto-ThinkPad-W520 /usr/local/ncl-6.1.2/lib/ncarg/nclex/gsun $ ll
> total 1008
> -rw-r--r-- 1 alberto alberto 474235 feb  7 06:38 gsn_code.ncl
> -rw-r--r-- 1 alberto alberto 485501 feb  7 06:38 gsn_csm.ncl
> -rw-r--r-- 1 alberto alberto   3423 feb  7 06:38 gsun01n.ncl
> -rw-r--r-- 1 alberto alberto   4140 feb  7 06:38 gsun02n.ncl
> -rw-r--r-- 1 alberto alberto   3143 feb  7 06:38 gsun03n.ncl
> -rw-r--r-- 1 alberto alberto   3842 feb  7 06:38 gsun04n.ncl
> -rw-r--r-- 1 alberto alberto   7895 feb  7 06:38 gsun05n.ncl
> -rw-r--r-- 1 alberto alberto   4214 feb  7 06:38 gsun06n.ncl
> -rw-r--r-- 1 alberto alberto   5038 feb  7 06:38 gsun07n.ncl
> -rw-r--r-- 1 alberto alberto   5329 feb  7 06:38 gsun08n.ncl
> -rw-r--r-- 1 alberto alberto   3433 feb  7 06:38 gsun09n.ncl
> -rw-r--r-- 1 alberto alberto   3281 feb  7 06:38 gsun10n.ncl
> -rw-r--r-- 1 alberto alberto   6129 feb  7 06:38 gsun11n.ncl
> 
> 
> .........
> 
> This is the exact results from my command line.. and I got the ncl_ncarg-6.1.2.LInux_Debian6.0_x86_64_gcc445.  and my architecture has not changed, it is the same x86_64. I remember I did this smoothly last time but I had the correct version of gcc, as far as I remember .
> 
> Alberto M. Striedinger. P.
> Student Intern Researcher at MeteoConsult .NL.
> MSc. Sustainable Energy Technology
> Eindhoven University of Technology
> BSc.Mechanical Engineering
> Universidad del Norte & USF
> +31    
> 
>      
> 
> 
> On Sat, Jun 1, 2013 at 12:15 AM, Mary Haley <haley at ucar.edu> wrote:
> In the future, please only post these kind of questions to ncl-install, and not both ncl-talk and ncl-install.
> 
> If you are getting a "command not found" this is because your PATH was not set up correctly. I don't think it is a gcc issue.
> 
> Make sure $NCARG_ROOT/bin is on your search path, where $NCARG_ROOT is the root location of where you installed NCL.
> 
> When you print out your PATH environment variable:
> 
>    env | grep PATH
> 
> it won't show "$NCARG_ROOT/bin" literally on the path, but rather, it will expand it out to whatever you set NCARG_ROOT to.
> 
> Review these instructions for information about NCARG_ROOT and PATH:
> 
> http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT
> 
> --Mary
> 
> 
> On May 31, 2013, at 3:52 PM, Alberto Mario Striedinger Pinilla wrote:
> 
> > Dear all, I recently undated my linux (based on ubuntu)and it came now with gcc 4.7. Then I downloaded again the ncl binaires as this is a new laptop and when testing I used the ncl binaries fro debian with gc4.5, but I have gcc4.7, when I tried the ng4ex command it says that no file is found and it just shows my my PATH variables??
> >
> >
> > SHould I just downgrade my gcc or change the binary file?
> >
> > SIncerely,
> > ALberto Striedinger
> >
> >
> > Alberto M. Striedinger. P.
> > Student Intern Researcher at MeteoConsult .NL.
> > MSc. Sustainable Energy Technology
> > Eindhoven University of Technology
> > BSc.Mechanical Engineering
> > Universidad del Norte & USF
> > +31
> >
> >
> > _______________________________________________
> > 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/20130602/a8e6034b/attachment.html 


More information about the ncl-install mailing list