AMBER Archive (2004)

Subject: Re: AMBER: AMBER 8 installation trouble

From: David A. Case (case_at_scripps.edu)
Date: Tue Oct 12 2004 - 12:28:14 CDT


On Tue, Oct 12, 2004, Atro Tossavainen wrote:

> >
> >> FC1 compiles fine with Intel's v8 compiler, but running tests freezes
> >> the machine:
> >>
> >> cd tip5p; ./Run.tip5p
> >> forrtl: info: Fortran error message number is 174.

I'm pretty clueless here. People are using intel's version 8 compilers in all
sorts of environments, including FC2 here in my group. You might let us know
exactly which compiler version you have; here is ours:

born% ifort -V
Intel(R) Fortran Compiler for 32-bit applications, Version 8.0 Build
20040412Z Package ID: l_fc_pc_8.0.046

>
> #ifndef _Xconst
> #if defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus) || (FUNCPROTO&4)
> #define _Xconst const
> #else
> #define _Xconst
> #endif
> #endif /* _Xconst */

Your file looks like the one on my Solaris machine, but I don't get any errors
in compiling leap, with this environment:

godel% uname -a
SunOS godel 5.8 Generic_108528-21 sun4u sparc SUNW,Ultra-5_10
godel% cc -V
cc: Sun WorkShop 6 2000/04/07 C 5.1

My compiler and OS are slightly different, but this code has compiled
unchanged for 15 years on myriads of X installations.... Anyway, either add
__STDC__, or change _Xconst to const (I don't see that it would ever get
expanded into anything different).

>
> In the meantime, I fixed the ar problem by adding spaces to the command
> lines in the Makefiles. Why leave room for such a problem in the first
> place?
>

The Absoft windows compiler does not allow a space after the command, so the
attempt was to try to accommodate that syntax. Are you sure that your changes
to the Makefiles were correct? Your later message shows that the ar commands
are still not being expanded correctly. Again, my Solaris machine shows none
of these problems.

....dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu