Hi, Simon,
I met exactly the same problem like yours in the past few days. The reason is that the 'MAKECODE'file didn't invoke *.F files into *.f. You may check if the path of 'cpp' in your 'MAKECODE' is right. I Hope this could be helpful to you.
In my case, I checked the 'cpp' path, and also deleted the first line (i.e., '#!/lib/csh -f'), and then the model seemed working well until it gave me another error of 'floating exception'as the following:
------------------------------
Writing output files in direct access format
******* OPENING NEW OUTPUT FILES: 1998062500
OPENING NEW OUT FILE: output/ATM.1998062500
OPENING NEW BAT FILE: output/SRF.1998062500
OPENING NEW RAD FILE: output/RAD.1998062500
OUT-history written date = 1998062500.
Floating Exception
Abort (core dumped)
---------------------------------
And I'm also asking for help on this "floating exception" error, because the model works well in Linux system with the same codes.
Best Regards,
Jing
>
>
> -----原始邮件-----
> 从: "Simon Krichak"
> 到: "Mark Snyder"
> 抄送: regcnet@lists.ictp.it
> 日期: 2006/07/19(三) 01:52am
> 主题: Re: [RegCNET] RegCM3 on an SGI Origin 2000
>
> Hi Marc,
>
> I am using the SGI version of the Makefile (see below).
> The diagnostic (repated below) is for aermix.o only.
>
> Simon
>
>
>
> ld64: FATAL 12 : Expecting n64 objects: aermix.o is n32.
> > *** Error code 2 (bu21)
>
>
> # Makefile for RegCM@
> # for SGI (by Zhang Yan)
>
> FFLAGS = -64 -g -trapuv
> #FFLAGS = -O2
> # DEBUG -- FFLAGS = -g -trapuv
> FC = f90
> LD = $(FC)
>
> SRC = \
> aermix.f aeroppt.f aerout.f albedov.f balanc.f balbak.f bconst.f bdyin.f
> bdyuv.f
> \
> bdyval.f blhnew.f BLOCKDATA001.f bmpara.f bndry.f \
> carbon.f cdiv.f chdrydep.f chemtap.f chrsetc.f chsrfem.f \
> cldefr.f cldems.f cldfrac.f co2.f colmod3.f conadv.f condch.f \
> condcq.f condtq.f conmas.f cumtran.f cupara.f \
> cuparan.f cupemandrv.f cupeman.f cup.f \
> depth.f deriv.f diffu.f diffut.f \
> dragdn.f drag.f drip.f dsflx.f EDDY.f elmhes.f eltran.f \
> eomb.f FINDDATE.f for_next.f frawat.f getdat.f grads_stuf.f \
> hadv.f holtbl.f \
> hqr2.f hqr.f htdiff.f ice.f inirad.f initb.f INITDATE.f init.f \
> inidust.f initlk.f interf.f intmax.f invmtrx.f isamax.f isrchfgt.f \
> isrchfle.f lakedrv.f lake.f lenchr.f lfdrag.f lftemp.f \
> ljchrn.f lshfch.f lutbl.f mapsmp.f maximi.f minimi.f MIXER.f mkfile.f \
> nconvp.f nudge.f o3data.f outprt.f output.f \
> outsav.f outsrf.f outsub.f outtap0.f outtap.f param.f pcp.f \
> radabs.f radclr.f radclw.f radcsw.f radctl.f radded.f radems.f \
> radini.f radinp.f radout.f radoz2.f radtap.f radtpl.f reorder.f regcm.f \
> resetr.f rg.f root.f satur.f saxpy.f sgedi.f sgefa.f slice.f slice3d.f \
> snow.f soilbc.f solar1.f spinit.f spline.f splitf.f \
>
>
> ----- Original Message -----
> From: "Mark Snyder"
> To: "Simon Krichak"
> Sent: Tuesday, July 18, 2006 7:12 PM
> Subject: Re: [RegCNET] RegCM3 on an SGI Origin 2000
>
>
> Hi Simon,
>
> In your Makefile, I would check to see if the ?4 flag is set in FFLAGS. I
> have a feeling that aermix.f is being compiled as 32 bit when it should be
> 64. Are you getting this message for all the .f files, or just this one?
>
> Mark
>
> --
> Mark A. Snyder
> Postdoctoral Researcher
> Climate Change and Impacts Laboratory
> Dept. of Earth and Planetary Sciences
> UC Santa Cruz
> (W) 831-459-3504
> msnyder@es.ucsc.edu
> http://es.ucsc.edu/~msnyder
> --
>
>
> On 7/18/06 10:00 AM, "Simon Krichak" wrote:
>
> > Dear all,
> >
> > I have the following compilation problem in the Main directory of the new
> > RegCM3 on the SGI Origin 2000.
> >
> > ld64: FATAL 12 : Expecting n64 objects: aermix.o is n32.
> > *** Error code 2 (bu21)
> > Any recommendation please.
> >
> > Simon
> >
> > Dr. Simon O. Krichak
> > Dept. of Geophysics and Planetary Sciences
> > Faculty of Exact Sciences,
> > Tel Aviv University, Ramat Aviv, Tel Aviv,
> > 69978, Israel
> > Tel: 972-3-6405694(o), 972-3-9515748
> > Fax: 972-3-6409282
> >
> > E-mail: shimon@cyclone.tau.ac.il,
> > simon.krichak@gmail.com
> >
> >
> > _______________________________________________
> > RegCNET mailing list
> > RegCNET@lists.ictp.it
> > https://lists.ictp.it/mailman/listinfo/regcnet
>
>
>
>
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.
>
>
> _______________________________________________
> RegCNET mailing list
> RegCNET@lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
>
>
***************************************
* Jing ZHENG, Ph.D. Student *
* Institute of Atmospheric Physics *
* Chinese Academy of Sciences *
* P.O.Box 9804, *
* Beijing 100029, China *
* E-mail: jzheng@mail.iap.ac.cn *
* Tel: 86-10-62063912 (Office) *
***************************************