From: "W Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: A few questions about compiling code and performance
Date: Wed, 01 Nov 2000 18:50:24 -0600 [thread overview]
Message-ID: <3A00BA50.E8C6AC4D@paralleldata.com> (raw)
In-Reply-To: 3A00747D.4C5F5977@atipa.com
arthur m coucouvitis wrote:
>
> hi,
>
> maybe i can help witrh the 3rd ?
> > ...Any ideas about why this error occurs?
> >
> > f77 -O4 \
> > -o dimension dimension.f epsprg.o
> > param.h: In program `dimension':
> > In file included from dimension.f:39:
> > param.h:26:
> > parameter (nbound=max(nbins,ndatar))
> > ^
> > Invalid declaration of or reference to symbol `max' at (^) [initially seen
> > at (^)]
> > make: *** [dimension] Error 1
> max is a macro defined in a system include file.
> the error can be fixed by adding 'include <file-name.h>' to
> dimension.f,
> where file-name is the name of the file containing the
> definition of map().
> to find the file, you could try:
> grep -w map /usr/include/*.h
> grep -w map /usr/include/*/*.h, etc
>
If it were my code, I'd just do:
integer nbound
.
.
.
nbound=max(nbins,ndatar)
Not worth chasing this. It's trivial to change the code so the compiler
won't complain about it.
Wes
next prev parent reply other threads:[~2000-11-01 23:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-31 12:05 performance patches David Addison
2000-10-31 13:19 ` Rich Payne
2000-10-31 20:01 ` Custom AXP kernel Paul Allen
2000-11-01 1:05 ` Peter Petrakis
2000-11-01 1:55 ` rtlinux-3.0-pre8 running on an alpha pc164? Terry L. Ridder
2000-11-01 12:02 ` Custom AXP kernel Greg Lindahl
2000-11-01 14:36 ` A few questions about compiling code and performance J. Pedro Sousa do Amaral
2000-11-01 19:34 ` Ross A Knepper
2000-11-01 19:52 ` arthur m coucouvitis
2000-11-02 0:50 ` W Bauske [this message]
2000-11-01 1:48 ` performance patches Chai Mee Joon
-- strict thread matches above, loose matches on Subject: below --
2000-11-01 20:38 A few questions about compiling code and performance Eugene Chu
2000-11-01 22:26 Brad Lucier
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox