[ncl-install] installing ncl

Luis del Castillo luis.delcastillo at cathalac.int
Thu Oct 27 17:59:19 MDT 2016


Hi Mary I did it because on a previous post Gerry told me about using a binary file could be tricky to run it on my system configuration.

But right now I got it work from the source code the version 6.1.2.
The error finding the –lnetcdf file was fixed changing the LINUX and the Site file on config/ I was able to add to the #define ArchRecLibSearch the -L/usr/local/netcdf/4.4.0/pgi/14.6/lib which is the location of my netcdf libs. I was hoping as part of the installation process the configuration file read my .tcshrc because on it I have all the variables set.
So thanks Its working now

Previous post

I'd wait for a definitive answer from Mary Haley before you do. I will also see if I can find a package for RHEL/CentOS6 that you might use. Not sure where I'll have that, but I think I do.
gerry

On Fri, Oct 21, 2016 at 11:41 AM, Luis del Castillo <luis.delcastillo at cathalac.int<mailto:luis.delcastillo at cathalac.int>> wrote:
Thanks I will try to compile it from the source code.
regards
From: Gerry Creager - NOAA Affiliate [mailto:gerry.creager at noaa.gov<mailto:gerry.creager at noaa.gov>]
Sent: viernes, 21 de octubre de 2016 7:52 a. m.
To: Luis del Castillo
Cc: ncl-install at ucar.edu<mailto:ncl-install at ucar.edu>
Subject: Re: [ncl-install] NCL installation

In general, the CentOS 7 binary will not work for a 6.8 installation, While RHEL and CentOS back-port things, the gcc version just won't work. You might try getting gcc-4.8.2 from EPEL, but I suspect you'll have other issues.
gerry

On Fri, Oct 21, 2016 at 3:05 AM, Luis del Castillo <luis.delcastillo at cathalac.int<mailto:luis.delcastillo at cathalac.int>> wrote:
Hi fellows I am wondering which would be your recommendation If I have Centos 6.8  Netcdf 4.4.0 and All my installation is on 64 bits. I try with a couple of your precompiled binarys but the only one for Centos is the
ncl_ncarg-6.3.0.Linux_CentOS7.0_x86_64_gcc482.tar.gz     But my gcc is  4.4.7
I don’t know if I change my gcc version is going to be an issue for my others binaries

From: Mary Haley [mailto:haley at ucar.edu]
Sent: jueves, 27 de octubre de 2016 5:46 p. m.
To: Luis del Castillo
Cc: ncl-install at ucar.edu
Subject: Re: [ncl-install] installing ncl

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<mailto: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

[Description: http://www.cathalac.org/firma/format_02a.gif]

[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<tel:507-317-3235>
Email: luis.delcastillo at cathalac.int<mailto:luis.delcastillo at cathalac.int>
<http://www.cathalac.org/>[Description: http://www.cathalac.org/firma/facebook.png]<https://www.facebook.com/cathalac> [Description: http://www.cathalac.org/firma/twitter.png] <http://twitter.com/#!/CATHALAC>  [Description: http://www.cathalac.org/firma/linkindin.png] <http://www.linkedin.com/company/2324157>  [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/2a5700a4/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3374 bytes
Desc: image001.png
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2a5700a4/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3990 bytes
Desc: image002.png
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2a5700a4/attachment-0007.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 329 bytes
Desc: image003.png
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2a5700a4/attachment-0008.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 471 bytes
Desc: image004.png
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2a5700a4/attachment-0009.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 357 bytes
Desc: image005.png
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2a5700a4/attachment-0010.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 629 bytes
Desc: image006.png
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161027/2a5700a4/attachment-0011.png 


More information about the ncl-install mailing list