Build NCAR Graphics on Redhat V.5 with Intel 64(R) Fortran and C Compilers

From: Arthur Mizzi <amizzi_at_nyahnyahspammersnyahnyah>
Date: Sat, 15 Sep 2007 23:02:08 -0600

I'm trying to build NCAR Graphics v.4.4.2 on an SGI Altix XE 240 with
Redhat Enterprise V.5.0, in 64-bit mode with Intel Fortran (ifort) and
C++ (icc) compilers (the Intel(R) 64 versions). To invoke these
compilers, I used the following LINUX file in the configure directory
(NOTE: this was adapted from the LINUX.INTEL.64 file.):

 

#define HdfDefines -DIA64

#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 -lm -lifcore

#define CcOptions -ansi

#define FcOptions

#define COptimizeFlag -O2

#define FOptimizeFlag -O2

#define XToolLibrary -lXt -lSM -lICE

#define BuildShared NO

#define XLibrary -lXpm -lX11 -lXext

 

#define ArchRecLibSearch -L/usr/lib

#define ArchRecIncSearch -I/usr/include

 

The beginning of the make-output file is as follows:

 

Making <Everything>.

make[1]: Entering directory `/home/amizzi/bin/ncarg-4.4.2'

Making Makefile in .

make[1]: Leaving directory `/home/amizzi/bin/ncarg-4.4.2'

make[1]: Entering directory `/home/amizzi/bin/ncarg-4.4.2'

 

      NCAR Graphics - Version Installation Configuration

 

System File LINUX

Binary Install Directory /home/amizzi/bin/ncarg-4.4.2/bin

Library Install Directory /home/amizzi/bin/ncarg-4.4.2/lib

Include Install Directory /home/amizzi/bin/ncarg-4.4.2/include

Manpage Install Directory /home/amizzi/bin/ncarg-4.4.2/man

Config Install Directory
/home/amizzi/bin/ncarg-4.4.2/lib/ncarg/config

Data Base Directory /home/amizzi/bin/ncarg-4.4.2/lib/ncarg/database

Programmer Doc Dir /home/amizzi/bin/ncarg-4.4.2/lib/ncarg/doc

Reloc Obj. Directory /home/amizzi/bin/ncarg-4.4.2/lib/ncarg/robj

Examples Directory /home/amizzi/bin/ncarg-4.4.2/lib/ncarg/examples

Tutorial Directory /home/amizzi/bin/ncarg-4.4.2/lib/ncarg/tutorial

Test Directory /home/amizzi/bin/ncarg-4.4.2/lib/ncarg/tests

X App. Def. Directory /home/amizzi/bin/ncarg-4.4.2/lib/ncarg/xapp

f77 Compiler ifort

f77 Flags -O2

C Compiler icc

cc Flags -ansi -O2 -I./include -I/usr/include -DSYSV
-D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto

make[1]: Leaving directory `/home/amizzi/bin/ncarg-4.4.2'

Fri Sep 14 22:53:02 MDT 2007

 

However, during the build, the make can't find stddev.h or stdarg.h
because they are not included Redhat Linux Enterprise v.5 (at least I
didn't find them). As a result, a number of utilities, like ctrans, are
not built. My questions are: is the LINUX file set up properly for
Redhat Linux Enterprise v.5 in 64-bit mode (i.e. Intel(R) 64) with
corresponding Intel fortran and c++ compilers? If so, can I simply copy
stddev.h and stdarg.h from another Unix system and place in the
appropriate directory to solve this problem?

 

 

 

 

 

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Sat Sep 15 2007 - 23:02:08 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 24 2007 - 11:44:57 MDT