RE: amber-developers: Re: compile problem with evb_input.f (ifort on linux)

From: David Mathews <David_Mathews.urmc.rochester.edu>
Date: Tue, 28 Mar 2006 07:57:10 -0700

Hi All:


At 11:14 PM 3/27/2006, Ross Walker wrote:
>Hi Dave,
>
>Check the file is definitely in unix text format - I found several errors
>recently with files having stray Carriage returns at the end of lines -
this
>can cause unexplained compiler errors.

I tried this suggestion using dos2unix, but it did not work.

Instead, I found that moving the line breaks (and continuation marks)
fixed
the problem for the compiler.

I propose changing the line from (starting line 567):

write(6,'((5x,2(a,i4),a,2x,a,f10.5))') ( 'emap(', emap(n)%ist, ',' &
              , emap(n)%jst, ') ::', 'lambda = ' &
              , emap(n)%lambda, n = 1, nbias )

to

write(6,'((5x,2(a,i4),a,2x,a,f10.5))') &
       ( 'emap(', emap(n)%ist, ',', emap(n)%jst, &
       ') ::', 'lambda = ', emap(n)%lambda, n = 1, nbias )


This works with ifort 8.1.025.


Sincerely,
Dave




> >
> > Hi All,
> >
> > I am also using 8.1.025. I tried the quick
> > replacement of "% "
> > with "%", but it did not work. I read the line several times
> > and I do not
> > see anything wrong with it. I will try breaking the
> > statement into pieces
> > tomorrow morning to try to infer where the problem is. I
> > suspect that this
> > is a compiler bug and I will try for a work-around. (Bob and
> > I can't be
> > the only people who will want to compile on 8.1.025.)
> >
> > Sincerely,
> > Dave
> >
> >
> >
Received on Wed Apr 05 2006 - 23:49:33 PDT
Custom Search