Problem installing ncl 5.1.0 and Intel compilers

From: Mark Keever <mark.keever_at_nyahnyahspammersnyahnyah>
Date: Wed, 22 Apr 2009 15:09:16 -0400 (EDT)

I am having problems building the NCL-5.1.0 package. (I had similar problems on this particular system with 5.0.0) I am trying to build ncarg only. I have built hdf, libpng, libz using Intel compilers, and all passed their built-in tests.

When I compile ncl, I am not getting all programs to compile successfully; in particular, I am not getting components of idt (if I run it, I get an illegal seek). I am using source code for 5.1.0 and both Intel C++ and FORTRAN compilers. The specifics are:

Linux: Redhat Enterprise Linux 5.3, kernel 2.6.18-128.1.1.el5
AMD Opteron architecture
Intel 10.1.018 C++ and FORTRAN

Some errors in the make-output file are:

Relocatable linking with relocations from format elf32-i386 (conraq.o) to format elf64-x86-64 (libconraq.o) is not supported - many similar
akedepend: warning: bcopyswap.c (reading /usr/include/bits/types.h, line 31): cannot find include file "stddef.h" – many similar
makedepend: warning: logic32.c (reading ../../.././include/ncarg/c.h, line 68): cannot find include file "stdarg.h"

A note about the .h files, they seem to be located in the /usr/include/linux directory on my machine, but if I include that directory, the “linux” is replaced with “1” in the makefile generation such as /usr/include/1

My LINUX file for Configure looks like this:
/*
 * Description: This file contains all the directives needed to
 * tell ymake how to build NCARG/NCL on a 64-bit Linux
 * system using the INTEL compilers.
 *
 * Copy this file to the LINUX file in this directory
 * before you start the NCL/NCARG build.
 */
#define HdfDefines -DLINUX64
#define StdDefines -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped
#define ByteSwapped
#define Cstatic
#define Cdynamic
#define CppCommand '/usr/bin/cpp -traditional'
#define CCompiler icc
#define FCompiler ifort
#define CtoFLibraries "-L/usr/local/packages/intel-fc/lib" -lm -lifcore
#define CcOptions -ansi -no-ipo
#define COptimizeFlag -O2
#define FOptimizeFlag -O2
#define XToolLibrary -lXt -lSM -lICE
#define BuildShared NO
#define XLibrary -lXpm -lX11 -lXext

#define ArchRecLibSearch -L/nv/hp5/rk47/local/zlib-1.2.3/lib -L/usr/lib64 -L/nv/hp5/rk47/local/hdf4.2r4/lib -L/nv/hp5/rk47/local/libpng-1.2.35/lib
#define ArchRecIncSearch -I/usr/include -I/usr/include/X11 -I/nv/hp5/rk47/local/zlib-1.2.3/lib -I/nv/hp5/rk47/local/hdf4.2r4/include -I/nv/hp5/rk47/local/libpng-1.2.35/include

FC = $(F77)

/*************** Redefine Macros from Rules ********************************/

/*
 * Macro: MakeDir
 *
 * Description: This rule creates a directory - if a parent dir doesn't exist
 * it attempts to create it.
 */
#ifndef MakeDir
#define MakeDir(dir) @if (test ! -d dir); then ($(MKDIRHIER) dir); fi
#endif

Thanks,

Mark

-- 
Mark Keever - IT Manager
Earth & Atmospheric Sciences 
Georgia Institute of Technology
email:  mark.keever_at_eas.gatech.edu
phone:  (404) 894-2289
fax:  (404) 894-5638 
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Wed Apr 22 2009 - 13:09:16 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 15:33:21 MDT