[MITgcm-devel] netcdf on Sun

Martin Losch mlosch at awi-bremerhaven.de
Thu Dec 9 09:14:02 EST 2004


Sorry about this, I take everthing back about the netcdf problem, that 
was fixed by using gmake.
But the awk problem remains. I had to change AWK=awk into AWK=gawk in 
the tools/genmake2 to make it work.

Martin


On Dec 9, 2004, at 2:55 PM, Martin Losch wrote:

> Ed,
> I am trying to run the MITgcm on our "beloved" SunFire (in fact its a 
> heap of junk, but since it is there ...), and genmake2 stalls. When I 
> do a CTRL-C after 15 min I get this:
>>     packages are:   debug generic_advdiff mdsio mnc mom_fluxform 
>> mom_vecinv monitor rw timeave
>> ^CError: problem encountered while building source files in pkg/mnc:
>> rm -f *.o EEPARAMS.h utils.F PACKAGES_CONFIG.h CPP_OPTIONS.h SIZE.h 
>> mnc_test_utils.F mnc_test_utils.o
>> rm -f mnc_test_???.F mnc_test_??? test_???.nc t_out_???
>> cat  | sed -e 's/RX/RS/g' | sed -e 's/__V/_RS/g' > 
>> MNC_CW_READWRITE_RS.F
>>
>> *** MNC_CW_READWRITE_RS.F removed.
> So I turned off mnc in packages config and now I get a makefile but 
> also many (too many to even stay in term history) awk statements such 
> as:
>> awk: bailing out near line 1
>> awk: syntax error near line 1
>> awk: bailing out near line 1
>> awk: syntax error near line 1
>> awk: bailing out near line 1
>>   Writing makefile: Makefile
>>   Add the source list for AD code generation
>>   Making list of "exceptions" that need ".p" files
>>   Making list of NOOPTFILES
>>   Add rules for links
>>   Adding makedepend marker
>>
>> ===  Done  ===
>
> needless to say, that make depend doesn't link anything and that make 
> doesn't work either. Any experience with this? What can I do to trace 
> down the problem.
>
> Martin
>
> PS. It used to work long ago, there is even a config files in 
> build_options that is based on a contribution I once made.
>
>
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel




More information about the MITgcm-devel mailing list