IOAPI_3 built on System X!
I created the following Makeinclude file to get IOAPI to build with IBM xlf on System X:
sysx1:~/lmarr/cmaq/cmaq-4.5.1/lib/ioapi_3/src/ioapi jlinford$ cat Makeinclude.Darwin_ppcxlf
# @(#)$Header$
#
AR = ar
CC = cc
FC = xlf -w
M4 = m4
CPP = cpp
LINK = $(CC)
#MFLAGS = -tpp6 -traceback
OMPFLAGS =
OMPLIBS = -Vaxlib
COPTFLAGS = -O3 ${MFLAGS}
FOPTFLAGS = -O5 -qtune=auto -qarch=auth -qhot -qinitauto -qsave -qunroll ${MFLAGS}
FPPFLAGS =
FSFLAGS = -O5 -qtune=auto -qarch=auto -qhot -qinitauto -qsave
ARCHFLAGS = -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DAVOID_FLUSH=1
PARFLAGS =
ARCHLIB = -Bstatic -lc
M4DEFFILE = $(PVM_ROOT)/conf/$(PVM_ARCH).m4
PVMLIBS = -lpvm3
The library .o files are in /nfs/home/jlinford/lmarr/cmaq/cmaq-4.5.1/lib/ioapi_3/src/Darwin_ppcxlf
sysx1:~/lmarr/cmaq/cmaq-4.5.1/lib/ioapi_3/src/Darwin_ppcxlf jlinford$ pwd
/nfs/home/jlinford/lmarr/cmaq/cmaq-4.5.1/lib/ioapi_3/src/Darwin_ppcxlf
sysx1:~/lmarr/cmaq/cmaq-4.5.1/lib/ioapi_3/src/Darwin_ppcxlf jlinford$ ls
bilin.o currstep.o findc.o getstr.o julian.o locatsc.o opnlist3.o rdtflag.o sortis.o wrbndary.o
bmatvec.o currstepc.o findr1.o getyn.o julianc.o lustr.o opnlog3.o rdvars.o str2dble.o wrbuf3.o
bufint3.o daymon.o findr2.o grdchk3.o junit.o m3abort.o pcoef.o read3.o str2int.o wrcustom.o
cbarnes1.o daymonc.o findr3.o gridops.o kfindx.o m3err.o pgrdsum.o read3c.o str2real.o wrdict3.o
cbarnesN.o dble2real.o findr4.o hhmmss.o kfopen.o m3errc.o pmatvec.o read4d.o strlist.o wrgrdded.o
check3.o ddtvar3.o findsc.o hhmmssc.o kfread.o m3exit.o poly.o read4dc.o sync3.o wrgrnest.o
check3c.o ddtvar3c.o flush3.o index1.o kfwrite.o m3exitc.o promptdfile.o readsmet.o sync3c.o wriddata.o
chkfil3.o desc3.o gcd.o init3.o lambert.o m3mesgc.o promptffile.o realist.o syncfid.o write3.o
ckdesc3.o desc3c.o gctp.o init3c.o lblank.o m3msg2.o promptgrid.o rmfile.o synchtao.o write3c.o
ckfile3.o dmatvec.o get_endian.o initblk3.o len2.o m3warn.o promptmfile.o scanint.o systemf.o write4d.o
ckgeom.o dscgrid.o getdate.o initlog3.o libioapi.a m3warnc.o rdatt3.o sec2time.o time2sec.o write4dc.o
ckname.o dscgridc.o getdble.o inqatt3.o ll2utm.o mmddyy.o rdatt3c.o sec2timec.o time2secc.o wrpatch.o
cktflag3.o dt2str.o getdfile.o inqatt3c.o locat1.o mmddyyc.o rdbndary.o secsdiff.o trimlen.o wrprofil.o
close3.o dt2strc.o getdfilec.o interp3.o locat2.o name2fid.o rdbuf3.o secsdiffc.o ungridb.o wrsmatrx.o
close3c.o envgets.o getdttime.o interp3c.o locat3.o nameval.o rdcustom.o setsphere.o ungridi.o wrtflag.o
crdict3.o filchk3.o getefile.o intg2real.o locat4.o nextime.o rddict3.o shut3.o upcase.o wrvars.o
crlf.o filchk3c.o getefilec.o intlist.o locatc.o nextimec.o rdgrdded.o shut3c.o utm2ll.o xtbuf3.o
crtbuf3.o find1.o getffile.o iobin3.o locatr1.o open3.o rdgrnest.o skipl.o wkday.o xtract3.o
crtfil3.o find2.o getmenu.o ioparms3.o locatr2.o open3c.o rdiddata.o smatvec.o wkdayc.o xtract3c.o
crtkf.o find3.o getnum.o isdstime.o locatr3.o opnfil3.o rdprofil.o sortic.o wratt3.o year4.o
currec.o find4.o getreal.o jstep3.o locatr4.o opnkf.o rdsmatrx.o sortir.o wratt3c.o yr2day.o
sysx1:~/lmarr/cmaq/cmaq-4.5.1/lib/ioapi_3/src/Darwin_ppcxlf jlinford$

0 Comments:
Post a Comment
<< Home