[MITgcm-devel] build on sunos_sun4u_g77

Constantinos Evangelinos ce107 at ocean.mit.edu
Thu Dec 9 19:15:16 EST 2004


On Thursday 09 December 2004 15:40, Patrick Heimbach wrote:

> Hi Ed,
>
> great, thanks!
> Is this something to check in, or platform-dependent?
> (should I have followed some recent discussions on this list?).
>
> Anyways, similar problems seem to occur with testreport
>
> > ./testreport -t global_ocean.90x40x15  -of
>
> ../tools/build_options/sunos_sun4u_g77
> parsing options...  OK
> creating the comparison code...  /usr/ucb/cc:  language optional software
> package not installed
>
> (with or without specifying the optfile).
> So it seems that testreport uses cc before it gets
> the info from the optfile which cc to use.
> (not a big deal for me for now).

2 Issues:
a) g77 code quality on Sparcs is significantly behind the Sun compilers so 
unless one has a reason to use it, one should not. Especially for v8plusb (or 
V9b for 64-bit) code generation targetting UltraSparc III & IV.
b) /usr/ucb/cc is actually a driver calling the Sun compiler with BSD default 
language settings (whatever that means exactly). One wants to pick up the cc 
from SUNWspro - this is a PATH issue.

Constantinos



More information about the MITgcm-devel mailing list