This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33339] GFORTRAN OPTIMIZATION ERROR ABOVE -O0 FOR MPICH2 TEST F90_RMA/BASEATTRWINF90.F90
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2007 19:17:46 -0000
- Subject: [Bug fortran/33339] GFORTRAN OPTIMIZATION ERROR ABOVE -O0 FOR MPICH2 TEST F90_RMA/BASEATTRWINF90.F90
- References: <bug-33339-14710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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