Hi, Rajesh:

On our SGI which is IRIX6.5, the 'cpp' is in the path of '/usr/lib/cpp'.
You can also use 'find / -name cpp -print' to find out any possible 'cpp' path on your SGI. Hope it's helpful for you.


Best Regards,

Jing Zheng
>
>
> -----原始邮件-----
> 从: "XUNQIANGBI"
> 到: "rajeshj"
> 抄送: regcnet@lists.ictp.it
> 日期: 2007/10/12(五) 07:28pm
> 主题: Re: [RegCNET] seek help on SGI platform
>
>
> Hi, Rajesh:
>
> In ICTP, there is no access to SGI (Origin, Octane, or other
> O-seris compters). So the following suggestion is just based
> on my previous experiences.
>
> In terrain.f (under RegCM/PreProc/Terrain)
> bdyin.F, init.F and param.F (under RegCM/Main)
>
> There are some lines commentted by C_sgi, please pay attention
> to these lines, and you need make the code change around these places
> if necessary.
>
> To fix your stacksize problem, you need "limit stacksize unlimited"
>
> To fix your cpp problem, you need type
> which cpp
>
> after find the right path, you replace the path in the scrpits under
> RegCM/Main/0options with the right path you found.
>
> Again, my experiences to SGI O????? computer might not suit for
> the latest configuration of yours. So my above comments are just
> some suggestions to you.
>
> Good luck !
> Xunqiang Bi
>
> On Fri, 12 Oct 2007, rajesh j wrote:
>
> > Dear RegCM users,
> > I had earlier posted one query about some error
> > message. I am trying to run RegCM3 on a SGI
> > workstation. But when i put 'ibyte=1' in domain.param
> > execution of terrain.x crashes. for a trial i gave it
> > 4. it does work still show some warnings.
> >
> >
> > sgi350 193% ./terrain.x
> > rm -f *.o terrain
> > f90 -c -64 -trapuv -g terrain.f
> > "terrain.f": Warning: Stack frame size (92162464)
> > larger than system limit (6710
> > 8864)
> > "terrain.f": Warning: Stack frame size (92162464)
> > larger than system limit (6710
> > 8864)
> > f90 -o terrain terrain.o -64 -trapuv -g
> > -L../../Commons/env/libsgi/ -ln
> > etcdf
> > 936962:./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).
> > 936962:./terrain: rld: Warning: Use "elfdump -op " to
> > see the floating-point exc
> > eptions (OEX) flags for the latest object.
> > 936962:./terrain: rld: Warning: Using aggregate 0x10
> > as OEX_FPU_MIN to add float
> > ing-point exceptions flags with set_fpc_csr().
> > 936962:./terrain: rld: Warning: Calling set_fpc_csr
> > with (0x1000800)
> >
> > I would like to know whether this RegCM tar is meant
> > for SGI machines or not. The MAKECODE file itself
> > showed errors when executed.
> >
> > it shows that there is not a file like /usr/bin/cpp
> > I am in a total chaos. Please someone come up and save
> > me.
> >
> > I would bring this especially to the kind attention of
> > RegCM3 users on SGI.
> >
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dr. Xunqiang Bi email:bixq@ictp.it
> Earth System Physics Group
> The Abdus Salam ICTP
> Strada Costiera, 11
> P.O. BOX 586, 34100 Trieste, ITALY
> Tel: +39-040-2240302 Fax: +39-040-2240449
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> _______________________________________________
> RegCNET mailing list
> RegCNET@lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
>
>