------- Comment #5 from sgk at troutmask dot apl dot washington dot edu 2007-09-10 18:28 ------- Subject: Re: GFORTRAN OPTIMIZATION ERROR ABOVE -O0 FOR MPICH2 TEST F90_RMA/BASEATTRWINF90.F90
On Mon, Sep 10, 2007 at 04:03:21PM -0000, longb at cray dot com wrote: > > gcc version 4.2.1 20070719 (rpm:3) > > Note: The version of gcc we are using is not the same as the one you > noted, and for the XT systems all linking is static. I checked my version again, and it was 4.2.1 20070523. There aren't many significant changes between this version and yours to at least the Fortran front-end. I just rebuild 4.2.2 (note it's been marked for a release) and get GNU F95 version 4.2.2 20070905 (prerelease) (x86_64-portbld-freebsd7.0) Your program with my addition and static linking gives node10:kargl[254] ../mpich2/bin/mpiexec -machinefile mf1 -n 1 ./long Got right value for WIN_DISP_UNIT ( 4 , should be 4 ) node10:kargl[255] ./long Got right value for WIN_DISP_UNIT ( 4 , should be 4 ) > Our version of mpich2 appears to be older. I can ask the MPI group for > a newer version. The mpich2 changelog suggests that there may be some changes which effect gfortran+mpich2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33339