Subject: Re: CCM3 questions
From: Jim Rosinski (rosinski@cgd.ucar.edu)
Date: Thu Feb 15 2001 - 16:52:14 MST
On Fri, 9 Feb 2001, Zong-Liang Yang wrote:
> Dear All,
>
> I was trying to use build.cray_ncar.csh (downloaded from
> http://www.cgd.ucar.edu/cms/ccm3/source.shtml the CCM3.6.6 Source Code)
> on NCAR Cray (ouray).
> In compile_log.atm, I have messages saying
>
> Macro "CRAY" has an incompatible redefinition.
>
> #define CRAY
> ^
>
> CC-47 cpp: WARNING File = /tmp/zong/ccm/run/obj/./misc.h, Line = 3
> Macro "CRAY" has an incompatible redefinition.
>
> Once the executable is generated, it cannot be run. For instance, when
> I type atm, a message says "no such device".
>
> This must be easy to fix, but I have no clue at the moment.
> Can anyone help? Thanks.
Try the following: delete the "-f indef" specification from the Makefile.
As I recall, this "no such device" problem occurs when "-f indef" is
specified, and first materialized in an OS release from at least a year ago.
I don't believe the macro redefinition has anything to do with the problem,
but you could try deleting it from the .h file.
Good to see Cray jumps right on these problems.
Jim Rosinski
CCM Core Group
This archive was generated by hypermail 2b27 : Tue Jan 22 2002 - 11:15:42 MST