[ncl-install] installing ncl

Mary Haley haley at ucar.edu
Thu Oct 27 16:46:13 MDT 2016


Hi Luis,

A couple of points first:

1. You are installing V6.1.2 which is an old version.  The current version
is 6.3.0. Is there a reason why you are installing an older version?
2. Why are you building from source code? We provide binaries for many
Linux, MacOS, and Cygwin system, and it appears you are on a Linux system.
This is *much* easier than installing from source code.


There are a few problems with your build:

 - The build can't find the location of your NetCDF libraries or include
files
 - The build can't find the location of your HDF include files
 - The build is referencing the "fl" library which doesn't exist on your
system

The first two problems can be fixed by adding the path to your NetCDF and
HDF paths via the $NCARG/config/Site.local file. You want to add the paths
to the LibSearch and IncSearch lines in that file.

I believe the third problem is fixed in later versions of NCL, but you can
probably fix it by editing $NCARG/config/Template and changing "-lfl" to
"-ll".

--Mary


On Wed, Oct 26, 2016 at 7:49 PM, Luis del Castillo <
luis.delcastillo at cathalac.int> wrote:

> Hi fellows I try to install the ncl_ncarg-6.1.2 from source code I did it
> almost all the binaries except ncl and is one of the most important to me
>
> Attached is the log file can anyone help me to find out why the process
> cant find the –lnetcdf library if I go it installed.
>
>
>
> This is a part of my .tcshrc
>
>
>
> setenv PGI "/usr/local/pgi2014"
>
> setenv MPICH3 "/usr/local/mpich3"
>
> setenv ZDIR "/usr/local/zlib/1.2.8"
>
> setenv H5DIR "/usr/local/hdf5/1.8.11"
>
> setenv HDF5 "/usr/local/hdf5/1.8.11"
>
> setenv NCDIR "/usr/local/netcdf/4.4.0/pgi/14.6"
>
> setenv NFDIR "/usr/local/netcdf-f/4.4.4/pgi/14.6"
>
> setenv NETCDF "/usr/local/netcdf/4.4.0/pgi/14.6"
>
> setenv JASPERLIB "/usr/local/jasper/1.900.1/pgi/14.6/lib"
>
> setenv JASPERINC "/usr/local/jasper/1.900.1/pgi/14.6/include"
>
> setenv NCARG "/home/wrf/descargas/ncl_ncarg-6.1.2"
>
> setenv NCARG_ROOT "/home/wrf/ncarg"
>
> setenv LD_LIBRARY_PATH "$H5DIR/lib:$ZDIR/lib:$NCDIR/
> lib:$NFDIR/lib:/usr/local/jasper/1.900.1/pgi/14.6/lib:/
> usr/local/mpich3/lib:/usr/local/libpng/1.6.25/pgi/14.6/
> lib:/usr/local/pgi2014/linux86-64/14.6/lib:/usr/
> local/pgi2014/linux86-64/14.6/libso:/usr/local/maui/lib:/
> usr/local/torque/lib"
>
> setenv CPPFLAGS "-I$NCDIR/include -I${NFDIR}/include -I$MPICH3/include
> -I$H5DIR/include"
>
> setenv LDFLAGS "-L$NCDIR/lib -L$NFDIR/lib -L$MPICH3/lib -L$H5DIR/lib"
>
> setenv LIBS "-lcurl -lnetcdff -lnetcdf"
>
>
>
> thanks
>
>
>
> [image: Description: http://www.cathalac.org/firma/format_02a.gif]
>
> *[image: Description: http://www.cathalac.org/firma/logocatha.gif]*
> <http://www.cathalac.org/>
> * Luis Alejandro Del Castillo Riley *
> *Gerente de Tecnologia*
> DIVISIÓN DE TECNOLOGÍAS DE LA INFORMACIÓN Y COMUNICACIÓN
> Tel: 507-317-3235
>
> *Email: **luis.delcastillo at cathalac.int <luis.delcastillo at cathalac.int>*
> <http://www.cathalac.org/>[image: Description:
> http://www.cathalac.org/firma/facebook.png]
> <https://www.facebook.com/cathalac> [image: Description:
> http://www.cathalac.org/firma/twitter.png]
> <http://twitter.com/#!/CATHALAC> [image: Description:
> http://www.cathalac.org/firma/linkindin.png]
> <http://www.linkedin.com/company/2324157> [image: Description:
> http://www.cathalac.org/firma/youtube.png]
> <http://www.youtube.com/user/CATHALACTV>
>
>
>
>
>
> _______________________________________________
> 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/20161027/2cc5252d/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 629 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2cc5252d/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 471 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2cc5252d/attachment-0007.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3990 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2cc5252d/attachment-0008.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 329 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2cc5252d/attachment-0009.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 357 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2cc5252d/attachment-0010.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3374 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2cc5252d/attachment-0011.png 


More information about the ncl-install mailing list