Hello Arthur,
This is from the config file that I use for NCARG 4.4.2 on a CentOS 5.0
Linux machine using Intel Fortran compilers v. 9.1.039 and Intel C++
compilers v. 9.1.047. The CentOS 5 is comparable to RHEL 5.0:
================
#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 "-L/opt/intel/fce/9.1.039/lib" -lm -lifcore
#define CcOptions -ansi -size_lp64 -no-ipo
#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/lib64 -L/usr/lib64/hdf
#define ArchRecIncSearch -I/usr/include/X11 -I/usr/include
================
This compiles very nicely for me generating ctrans and ictrans binaries. I
do not have stddev.h on my system, but do have stdarg.h:
----------------
[ncarg-4.4.2.intel]$ locate stddev.h
[ncarg-4.4.2.intel]$
[ncarg-4.4.2.intel]$ locate stdarg.h
/opt/intel/cc/9.1.047/include/stdarg.h
/usr/lib/bcc/include/stdarg.h
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stdarg.h
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include/stdarg.h
/usr/lib/syslinux/com32/include/stdarg.h
/usr/share/man/man0p/stdarg.h.0p.gz
----------------
Hope this helps,
Saurabh
-- Saurabh Barve sbarve_at_nps.edu 831-656-3396 > From: Arthur Mizzi <amizzi_at_walshenv.com> > Date: Sat, 15 Sep 2007 23:02:08 -0600 > To: <ncarg-talk_at_ucar.edu> > Conversation: Build NCAR Graphics on Redhat V.5 with Intel 64(R) Fortran and C > Compilers > Subject: Build NCAR Graphics on Redhat V.5 with Intel 64(R) > Fortran and C Compilers > > 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 _______________________________________________ ncarg-talk mailing list ncarg-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncarg-talkReceived on Mon Sep 17 2007 - 09:18:20 MDT
This archive was generated by hypermail 2.2.0 : Mon Sep 24 2007 - 11:44:57 MDT