[MITgcm-devel] MITgcm on SunOS

Martin Losch mlosch at awi-bremerhaven.de
Thu Dec 16 03:32:49 EST 2004


My favorite topic, I know Patrick will appreciate this:

I have changed the sunos_sun4u_f77 build_options file to replace the 
option
-xarch=v9
by
-xarch=native
An alternative is to remove this option altogether (along with some 
other options that are not really necessary). The -xarch=v9 option 
prevented me from using netcdf, because my libraries have not been 
compile with thi -xarch=v9 option (I guess).

The other problem is xmakedepend. Because SunOS doesn't have a working 
makedepend, we always have to specify $(TOOLSDIR)/xmakedepend. The 
first line in xmakedepend sets the CPP flags, the first flag is 
-tradititonal, something that not all Sun CPP's understand.
Do we need to have this option in xmakedepend? Wouldn't it make more 
sense to specify -traditional in the buildoptionsfiles along with a 
CPP='/some/cpp -P -traditional' if the traditional option is required?

Martin




More information about the MITgcm-devel mailing list