[Bug fortran/33339] GFORTRAN OPTIMIZATION ERROR ABOVE -O0 FOR MPICH2 TEST F90_RMA/BASEATTRWINF90.F90
sgk at troutmask dot apl dot washington dot edu
gcc-bugzilla@gcc.gnu.org
Sat Sep 8 19:18:00 GMT 2007
------- Comment #3 from sgk at troutmask dot apl dot washington dot edu 2007-09-08 19:17 -------
Subject: Re: GFORTRAN OPTIMIZATION ERROR ABOVE -O0 FOR MPICH2 TEST
F90_RMA/BASEATTRWINF90.F90
>
> >>> ftn -o x -O2 bug2867.f90
> >>> aprun -n 1 ./x
> >>>
> >> Got incorrect value for WIN_SIZE ( 140733193389056 , should be
> >>
> >> 1024 )
> >> Got wrong value for WIN_DISP_UNIT ( 140733193388036 , should be
> >>
> >
> > What is ftn? On my system, when I build MPICH2 I get mpf90.
> >
>
> ftn is a script that allows the user to see a common interface for all
> the compilers we document. Which compiler is used is controlled by the
> module facility. Library sets are selected based on the compiler and OS
> combinations. The same command is used for both serial and parallel
> programs.
>
Any chance that you can skip the script and use mpif90 directly?
Also, I have MPICH2 1.05p4. Can you this version? Is the
version of MPICH2 that you used patched by Cray?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33339
More information about the Gcc-bugs
mailing list