Hi,

I uncommented / commented the lines suggested by Dr. Bi at the end of this messege. Surprisingly, terrain.x works for ibyte=4 in domain.param though for SGI machine, it should have run for ibyte=1. While running terrain.x, its gives following warning. Does it matter ?

                  % terrain.x

                  rm -f *.o terrain

                  f90 -c -64 -trapuv -g terrain.f

"terrain.f": Warning: Stack frame size (92162448) larger than system limit (67108864)

"terrain.f": Warning: Stack frame size (92162448) larger than system limit (67108864)

f90 -o terrain terrain.o -64 -trapuv -g -L../../Commons/env/libsgi/ -lnetcdf

15345:./terrain: rld: Warning: The aggregate IEEE exceptions required (OEX_FPU_MIN) (0x10) not as complete as the aggregate IEEE exceptions permitted (OEX_FPU_MAX>>8)(0x8).

15345:./terrain: rld: Warning: Use "elfdump -op " to see the floating-point exceptions (OEX) flags for the latest object.

15345:./terrain: rld: Warning: Using aggregate 0x10 as OEX_FPU_MIN to add floating-point exceptions flags with set_fpc_csr().

15345:./terrain: rld: Warning: Calling set_fpc_csr with (0x1000800)

 

Then terrain.x and icbc.x runs properly. In regcm.x, following errors/warnings occurs few places:

rm -f aermix.o aeroppt.o...............

.........................

f90 -O -c aermix.F

f90 -O -c aeroppt.F

f90 -O -c aerout.F

f90 -O -c albedov.F

..........................

f90 -O -c init.F

"init.F": Warning: Olimit was exceeded on function init_; will not optimize.

To optimize use -OPT:Olimit=0 (off) or -OPT:Olimit=2424 or -OPT:Olimit_opt=on

"init.F": Warning: To override Olimit for all functions in file, use -OPT:Olimit=2424

f90 -O -c inidust.F

f90 -O -c initlk.F

.............................

f90 -o regcm -64 -g -trapuv aermix.o aeroppt.o...............

ld64: FATAL 12 : Expecting n64 objects: aermix.o is n32.

*** Error code 2 (bu21)

../Main/regcm - No such file or directory

./regcm - Command not found

Can U suggest ????

Shekhar

#################################
Dr. M. S. Shekhar
Scientist 'C'
Snow & Avalanche Study Establishment
DRDO R & D Centre, Him Parisar
Sector 37A, Chandigarh
#################################
 

From: XUNQIANG BI <bixq@ictp.it>
To: "M.Sudhanshu Shekhar" <gmraja75@hotmail.com>
CC: cdouvis@geol.uoa.gr, regcnet@lists.ictp.it
Subject: Re: RegCM3 in SGI
Date: Tue, 7 Nov 2006 09:15:52 +0100 (CET)
>
>Hi, Shekhar:
>
>In terrain.f, I added some patch code (commented with C_sgi),
>you need uncomment it and comment those lines
>
> like change
> byte icat(nxmax,nveg)
>C_sgi integer*1 icat(nxmax,nveg)
>
> to
>C byte icat(nxmax,nveg)
> integer*1 icat(nxmax,nveg)
>
>There are 3 places in terrain.f,
>
>
>And under Main directory, there are 5 places totally
>(2 in bdyin.F, 2 in init.F, 1 in param.F)
>
>I think after these fixes, the code works for SGI Origin.
>
>Regards,
>Bi


Live the life in style with MSN Lifestyle. Check out!