problem when using Intel compiler and Xeon EMT64 arch. on Fedora Core2

From: Erika Harnett (eharnett AT ess.washington.edu)
Date: Fri Mar 18 2005 - 16:55:09 MST


I'm having trouble compile the source code on a new dual Xeon EMT 64
machine running Fedora core 2. I have inter compilers versions
l_cce_pc_8.1.024
l_fce_pc_8.1.024

I think I am actually having two different problems.

The big one is that when make hits ps.c and ncarlogo2ps.c, a process
called mcpcom suddenly starts taking up 100% of one of the CPUs and the
make processes hangs. From what I can tell, the intel compilers are
running into a lack-of-memory problem (the machine has 2G of RAM and I
run the stacksize up to the hard limits). If I kill the mcpcom process I
get the following

compilation aborted for ps.c (code 4)
make[5]: *** [ps.o] Error 4

and then make continues on.

Inspecting the make-output file it looks like I am also having an X11
problem because I am getting the following errors

-----------------------------------------------------------------------
Making ./ncarg2d/src/bin/pre2ncgm
make[5]: Entering directory `/opt/ncarg-4.4.1/ncarg2d/src/bin/pre2ncgm'
ifort -O2 -o pre2ncgm.prog alover.o clipit.o frm.o garg.o intcnv.o
lodctb.o
        mmdef.o multi.o patdrw.o patset.o pltclp.o pltit.o pnt.o
posit.o
pwt.o setop.o setrng.o trndt2.o trnmch.o twobyt.o xmdef.o xmopdf.o
fndarg.o metred.o mninst.o trans.o trassn.o trlate.o trndat.o
../../../.././ncarg2d/src/libncarg_gks/awi/ggkwdr_stub.o -L../../../.././ncarg2d/src/libncarg
-lncarg -L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/lib
ncarg_c -lncarg_c -L/usr/local/ncarg/lib -L/usr/X11R6/lib -L/usr/local/lib
-L/usr/lib -L/lib -L/opt/intel_fce_80/lib -L/opt/intel_cce_80/lib
-L/opt/HDF/lib
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
make[5]: Leaving directory `/opt/ncarg-4.4.1/ncarg2d/src/bin/pre2ncgm'
Making ./ncarg2d/src/bin/psplit
make[5]: Entering directory `/opt/ncarg-4.4.1/ncarg2d/src/bin/psplit'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/opt/ncarg-4.4.1/ncarg2d/src/bin/psplit'
Making ./ncarg2d/src/bin/tdpackdemo
make[5]: Entering directory `/opt/ncarg-4.4.1/ncarg2d/src/bin/tdpackdemo'
ifort -O2 -o tdpackdemo TdpackDemo.o -L../../../.././ncarg2d/src/libncarg -l
ncarg -L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/libncarg_c -lncarg_c -L/usr/local/ncarg/lib -L/usr/X11R6/lib
-L/usr/local/lib -L/usr/lib -L/lib -L/opt/intel_fce_80/lib -L/opt/intel_cce_80/lib
-L/opt/HDF/lib -lXpm -lX11 -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXpm.so when searching
for -lXpm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXpm.a when searching
for -lXpm
/usr/bin/ld: cannot find -lXpm
make[5]: *** [tdpackdemo] Error 1

---------------------------------------------------------------------------
I haven't made any changes to the installed packages. I'm using the
factory install of Fedora.

My options in the LINUX configuration file are:

---------------------------------------------------------------------------
#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/X11R6/lib
#define ArchRecIncSearch -I/usr/X11R6/include
-----------------------------------------------

which are what is listed in the LINUX.64.INTEL file except for the
modifications I made to the following lines

#define CcOptions -ansi -size_lp64
#define FcOptions -size_lp64

because I was getting warning messages saying -size_lp64 wasn't
recognized.

Any help on either problem would be much appreciated.

Thanks
Erika

-- 
_______________________________________________________________________
Dr. Erika Harnett                       |      Space Physics
Department of Earth and Space Sciences  |
University of Washington, Box 351310    |
Seattle, WA 98195-1310,  USA            |
________________________________________|____________________________
eharnett AT unknown
_______________________________________________________________________
That's not a bug, that's a feature!
----------------------------------------------------------------------
_______________________________________________
ncarg-talk mailing list
ncarg-talk AT unknown
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



This archive was generated by hypermail 2b29 : Sun Mar 20 2005 - 13:30:30 MST