[RegCNET] problems in SGI
XUNQIANG BI
bixq at ictp.it
Mon Oct 23 09:21:07 CEST 2006
On Mon, 23 Oct 2006, M.Sudhanshu Shekhar wrote:
>
> Dear all,
>
> I am having some problem in running regcm.x in SGI (Irix)
> machine. Terrain and icbc runs well, but regcm.x gives
> following errors. Can anyone help me to find out the solution
> ?
>
> ...........................
>
> ...........................
>
> f90 -O -c zengocn.F
>
> f90 -O -c zenith.F
>
> f90 -O -c zenitm.F
>
> f90 -o regcm -64 -g -trapuv aermix.o aeroppt.o aerout.o
> albedov.o balanc.o balbak.o
>
> ........................................
>
> zenith.o zenitm.o
>
> ld64: FATAL 12 : Expecting n64 objects: aermix.o is n32.
>
> *** Error code 2 (bu21)
Did you change the Makefile_SGI ?
If yes, I guess that you did something wrong.
In the message, you should see like
f90 -64 -g -trapuv aermix.f
If you haven't edit my Makefile_SGI, then you need do as foolws:
1. type
which cpp
to find the path of your cpp command
2 edit RegCM/Main/0options/0_NODIAG_SERIAL_CODE
and replace the "/usr/bin/cpp" with the path you found at 1st step.
3 redo the normal step in RegCM/Main directory, like
./MAKECODE
make clean
make
Hope it helps,
Xunqiang Bi
More information about the RegCNET
mailing list