<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi. I am installing ncl_ncarg-5.0.0 on the front end node
(fen) of our Blue Gene/L (SUSE Linux with powerpc chip). I get these messages
during the build:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: multiple definition of `abgcdp'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: multiple definition of `adgcdp'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here is a more extended excerpt for the first of these
messages, from a transcript of my build:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*********************************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>xlc -qstrict -qfullpath -qmaxmem=-1 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -O3 -o ncl Ncl.o io.o NclHLUObj.o scanner.o
parser.o MathFuncs.o NclTypedouble.o NclTypefloat.o
NclTypeint.o NclTypelogical.o
NclTypelong.o NclTypeobj.o
NclTypeshort.o NclTypestring.o
NclTypebyte.o NclTypechar.o TypeSupport.o
NclMultiDValData.o AddFileFormats.o AttSupport.o DataSupport.o
FileSupport.o Formats.o GetGrids.o
InitData.o Memory.o NclAtt.o NclCCM.o
NclCoordVar.o NclData.o NclFile.o NclFileVar.o
NclGRIB.o NclHDF.o NclMultiDValnclfileData.o
NclNetCdf.o NclOneDValCoordData.o NclType.o
NclTypelist.o NclVar.o VarSupport.o
ctoiee.o date.o qu2reg3.o rowina3.o scm0.o ncepcode.o NclGRIB2.o AddBuiltIns.o
AddHLUObjs.o
AddIntrinsics.o Execute.o
Machine.o OpsFuncs.o Printtoken.o SrcTree.o
Symbol.o Translate.o
NclHLUVar.o HLUSupport.o
NclMultiDValHLUObjData.o
BuiltInSupport.o BuiltInFuncs.o
HLUFunctions.o yywrap.o craybin.o
complete.o editline.o sysunix.o ListSupport.o
NclList.o NclMultiDVallistData.o fortranio.o -L../../.././ni/src/lib/nfp
-lnfp -L../../.././ni/src/lib/nfpfort -lnfpfort -L../../.././ni/src/lib/hlu -lhlu
-L../../.././ncarg2d/src/libncarg -lncarg -L../../.././ncarg2d/src/libncarg_gks
-lncarg_gks -L../../.././common/src/libncarg_c -lncarg_c -L../../.././ngmath/src/lib
-lngmath -L/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/lib
-L/usr/X11R6/lib -L/opt/ibmmath/lib -L/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/g2clib-1.0.5
-L/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/udunit-fen-final/udunits-1.12.4/lib
-L/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/netcdf-final/netcdf-3.6.2/lib
-L/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/jasper-1.900.1/lib
-L/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/hdf4-o3qstrict/HDF4.2r1/mfhdf/libsrc
-L/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/hdf4-o3qstrict/HDF4.2r1/hdf/src
-lnetcdf -lmfhdf -ldf -ljpeg -lz -ludunits -lgrib2c -ljasper
-L../../.././external/sphere3.1_dp -lsphere3.1_dp -L../../.././external/fftpack5_dp
-lfftpack5_dp -L../../.././external/lapack -llapack_ncl -L../../.././external/blas
-lblas_ncl -lX11 -lXext -L/opt/ibmcmp/xlf/bg/10.1/lib -lxlfmath -lxlf90 -lm -lm
-ldl</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>../../.././ni/src/lib/hlu/libhlu.a(SphericalGeometry.o)(.text+0x0):
In function `abgcdp':</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: multiple definition of `abgcdp'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>../../.././ni/src/lib/nfpfort/libnfpfort.a(sg_tools.o)(.text+0x1b80):
first defined here</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/usr/bin/ld: Warning: size of symbol `abgcdp' changed from
284 in ../../.././ni/src/lib/hlu/libhlu.a(SphericalGeometry.o) to 260 in
../../.././ni/src/lib/hlu/libhlu.a(SphericalGeometry.o)</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>********************************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>This multiple definition evidently arises because of the combination
of the following in libnfpfort.a (specifically the sg_tools.f
contribution to that library ):</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>DOUBLE PRECISION FUNCTION ABGCDP (AQDP,BQDP,CQDP)</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font>and <font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>the following in libhlu.a (the SphericalGeometry.c
contribution to that library):</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>double abgcdp(double*,double*,double*);</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I read the following in the NCL install doc file:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*********************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>If, however, your compiler does not append an underscore
(the IBM xlf/xlf90 compilers are</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>two such examples), then you need to set this macro as
follows:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> NgCallF reg</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>********************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Regarding that, I had confirmed earlier in the build process
that the $NCARG/config file that the build uses is “LINUX”:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>SYSTEM_INCLUDE
= "LINUX"</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>and NgCallF is in fact set correctly in that file. (My LINUX
file is listed in its entirety below). </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>So I’m puzzled by the multiple definition error. I’ve
googled this but can’t find anyone who has obtained this particular </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>multiple definition error.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>A second question: I thought the LINUX file that I had
constructed (see below), derived from templates in the NCL distribution, would
do a 32-bit build, yet in the build transcript I still see -Dppc64 in some
spots, e.g. in the following build session excerpt. Why is –Dppc64 being
used in the build, or is there some reason I shouldn’t worry about it? :</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>**********************************************************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>make[5]: Entering directory
`/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/ncl_ncarg-5.0.0/ncarview/src/lib/libncarg_ras'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>makedepend -s "# DO NOT DELETE" -- -I../../../.././include
-I/usr/X11R6/include -I/opt/ibmmath/include
-I/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/g2clib-1.0.5
-I/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/udunit-fen-final/udunits-1.12.4/include
-I/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/netcdf-final/netcdf-3.6.2/include
-I/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/jasper-1.900.1/include
-I/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/hdf4-o3qstrict/HDF4.2r1/hdf/src
-I/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/hdf4-o3qstrict/HDF4.2r1/mfhdf/libsrc
-DBuildRasterHDF -D_IBMR2 -DBuildRasterHPPCL -DBuildRasterNrif -DBuildRasterSun
-DBuildRasterXWD -DBuildRasterAVS -DBuildRasterSGI
-DBuildRasterAbekas -DBuildRasterBinary -DBuildRasterYUV
-DNGTMPDIR='"tmp"' -Dppc64 -DIBM -DSYSV -D_POSIX_SOURCE
-D_XOPEN_SOURCE -DNeedFuncProto -- raster.c cleartext.c error.c misc.c palette.c
dither.c resample.c composite.c ntsc.c color.c
rasterop.c generic.c memory.c hdf.c hppcl.c nrif.c sunraster.c
xwd.c avsraster.c sgiraster.c
abekas.c binary.c yuv.c</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*******************************************************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Some more background information:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I’m building everything to run on the fen, not the
compute nodes, i.e. I’m using native compilers, not cross compilers.
Also, the fen has a 64-bit architecture and</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>the build I am attempting is a 32-bit build. I previously
did 32-bit builds for the external software e.g. HDF4 .</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I set the following variables prior to the build:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>export F77=xlf</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>export FC=xlf</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>export F90=xlf90</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>export CXX=xlC</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>export CC=xlc</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> export
NCARG=/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>and the library and include paths
respectively that I provided during the configure are:</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/usr/X11R6/lib /gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/g2clib-1.0.5
/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/udunit-fen-final/udunits-1.12.4/lib
/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/netcdf-final/netcdf-3.6.2/lib
/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/jasper-1.900.1/lib
/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/hdf4-o3qstrict/HDF4.2r1/mfhdf/libsrc
<font color=navy><span style='color:navy'>/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/hdf4-o3qstrict/HDF4.2r1/hdf/src/</span></font></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>and</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/usr/X11R6/include /gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/g2clib-1.0.5
/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/udunit-fen-final/udunits-1.12.4/include
/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/netcdf-final/netcdf-3.6.2/include
/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/jasper-1.900.1/include
/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/hdf4-o3qstrict/HDF4.2r1/hdf/src
/gpfs/scratch2/slatest/ncl_ncar_5.0.0-final-o3qstrict/hdf4-o3qstrict/HDF4.2r1/mfhdf/libsrc</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>My complete LINUX file appears below. Do you see any changes
I should make?</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks,</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Len (<a href="mailto:slatest@bnl.gov">slatest@bnl.gov</a>)</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here is the complete LINUX file:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * $Id: LINUX.ppc64.xl,v
1.1 2007/10/06 </span></font><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>02:05:31</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> haley Exp $</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> */</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/************************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*
Copyright (C) 2005
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>* University
Corporation for Atmospheric
Research
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*
All Rights
Reserved
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>************************************************************************/</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * File:
LINUX.ppc32</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Author: Richard Grubin</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>National</span></font><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Center</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> for Atmospheric
Research</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>PO</span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> 3000, </span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Boulder</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>, </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Colorado</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Date: Sun
May 1 </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>16:56:33 MDT</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> 2005</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Description: This file
contains all the directives needed to</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *
tell ymake how to build NCAR Graphics on a PPC 32-bit LINUX</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *
system using the xlf/xlc compilers</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> */</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define HdfDefines -D_IBMR2</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define StdDefines -DSYSV -D_POSIX_SOURCE
-D_XOPEN_SOURCE</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define CCompiler xlc</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define FCompiler xlf</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define CcOptions -qstrict -qfullpath
-qmaxmem=-1</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define FcOptions -qstrict -qfullpath</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define LdCommand ld -melf32ppc</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define LdRelCommand ld -melf32ppc</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define ArCommand ar</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define COptimizeFlag -O3</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define FOptimizeFlag -O3</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define Cstatic -bnso</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define Cdynamic -bso</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define CtoFLibraries -L/opt/ibmcmp/xlf/bg/10.1/lib -lxlfmath
-lxlf90 -lm</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define NgCallF reg</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define CppCommand '/usr/bin/cpp -traditional'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define XToolLibrary -lXt -lSM -lICE</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define BuildShared NO</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define XLibrary -lX11 -lXext</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define ArchRecLibSearch -L/usr/X11R6/lib</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define ArchRecIncSearch -I/usr/X11R6/include</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/*************** Redefine Macros from Rules
********************************/</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Macro: MakeDir</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Description: This rule creates a directory - if a
parent dir doesn't exist</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * it attempts to create it.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> */</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#ifndef MakeDir</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define MakeDir(dir) @if (test ! -d dir); then ($(MKDIRHIER)
dir); fi</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#endif</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
</div>
</body>
</html>