Re: ERROR RUN NCL

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 26 Mar 2009 16:14:57 -0600

It sounds like you downloaded a version of NCL that was compiled with
a different version of gcc/gfortran than what you have on your system.

First, check if your version of NCL has a static version of the "ncl"
executable:

     which ncl.static

If it exists, then try it on your script:

     ncl.static your_script.ncl
If this works, then you may want to consider making this your default
ncl:
   mv $NCARG_ROOT/bin/ncl $NCARG_ROOT/bin/ncl.dynamic
   ln -s $NCARG_ROOT/bin/ncl.static $NCARG_ROOT/bin/ncl
If you don't have an "ncl.static" on your system, or if it doesn't
work, then double-check that you have the correct binary
installed. That is, make sure that you download the binary that was
compiled with the closest
version of gcc (gcc --version) that you have.

If you don't have the same gcc version as what NCL was compiled with,
then you may need to
install a "compat" library. You should first check with your system
administrator if this library
is available.

If not, then see the #2 instructions ("install libgfortran-compat
library) at:

http://www.ncl.ucar.edu/Download/install.shtml#LinuxMacNotes

--Mary

On Mar 26, 2009, at 2:42 PM, Guilherme Martins wrote:

> Hi users.
>
> When I run NCL I have this error:
>
> gui_at_zeus:~$ ng4ex gsun01n
>
> NCAR Graphics NCL Example <gsun01n>
>
>
> This example was set up to display the output to an
> X11 window.
>
> Copying gsun01n.ncl
>
> Running NCL...
> Copyright (C) 1995-2009 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.1.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> ncl: symbol lookup error: ncl: undefined symbol: _gfortran_copy_string
>
> ncl failed.
>
> gui_at_zeus:~$
>
> Does anybody help me?
>
> --
> ----------------------------------------------------------
> José Guilherme Martins dos Santos
> Grupo de Modelagem da Atmosfera e Interfaces - GMAI
> Divisão de Modelagem e Desenvolvimento
> Centro de Previsão de Tempo e Estudos Climáticos - INPE
> Rodovia Presidente Dutra, km 39 - CEP 12630-000
> Cachoeira Paulista, SP, Brasil
> Telefone(CP): +55 12 3185 8529 / Celular: +55 12 91678770
> E-mail: guilherme.martins_at_cptec.inpe.br
> E-mail alternativo: jgmsantos_at_gmail.com
> Homepage: http://jgmsantos.googlepages.com/index.html
> -----------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 26 2009 - 16:14:57 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 06 2009 - 10:23:30 MDT