Hi,
This is a report of installing ncl_ncarg-6.1.2 on a sandybridge
(CentOS 6) machine with Intel composer xe 2011. I had issues with
netCDF4. Namely, errors like this would appear:
NclNetCDF4.c:(.text+0x835): undefined reference to `nc_inq_grpname'
The install system insisted to build the stubs for netCDF4. Here's what I
did eventually:
1) Ran ./Configure and answered specifically and carefully "no" on
almost every possible external. Including netCDF4 support. Section (2)
details the result no matter how many times I cleaned everything
completely and redid this stage.
2) After 'make me', the root Makefile that was generated had the
following settings
.
.
NC4STUFF:
@echo "y"
NETCDF4STUFF:
@echo "n"
.
.
.
3) Then, 'make Makefiles'
looking inside ni/src/ncl/Makefile I saw that the netCDF4 stuff was
declared there. So I emptied all the variables that had inclusion of
NC4_FEATURES_DEFS NC4_FEATURES_SRCS NC4_FEATURES_OBJS
4) After adjusting the Makefile manually, I compiled
make clean; make includes; make depend; make all;
5) as superuser 'make install'
6) Last, ncl was still not available in $NCARG_ROOT, so as su again I did
make -C ni/src/ncl/ install-local
Please note that last time I compiled the exact same package with the
same compiler on another machine with no visible problems.
Attachments:
1) Attached is the Site.local file....
2) uname -a
Linux engine01.cluster 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16
23:51:20 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
3) ifort -v
Version 12.0.0
4) cat /etc/*release*
CentOS release 6.4 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
cpe:/o:centos:linux:6:GA
Guy
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.1.8 : Fri Nov 22 2013 - 09:36:32 MST