Afraid I don't have access to Intel compilers (oddly enough), but my immediate thought would be that there is some variable size difference - possibly a default change between 64 and 32 bit for "int"? Your output offset just looks to me like you wrapped the field.
I believe the MPI interfaces all expect 32-bit ints, so it might be worth checking. On Jan 17, 2014, at 12:12 PM, Brock Palen <bro...@umich.edu> wrote: > I never saw any replies on this. Has anyone else been able to produce this > sort of error? It is 100% reproducible for me. > > Brock Palen > www.umich.edu/~brockp > CAEN Advanced Computing > XSEDE Campus Champion > bro...@umich.edu > (734)936-1985 > > > > On Jan 9, 2014, at 11:46 AM, Brock Palen <bro...@umich.edu> wrote: > >> Attached you will find a small sample code that demonstrates the problem but >> ether MPI_File_seek() or MPI_File_get_position() is screwing up on me. This >> only happens with this version of the intel compiler: >> >> Version 14.0.0.080 Build 20130728 >> >> You can compile and run the example with: >> >> mpicc -g -DDEBUG mkrandfile.c -o mkrand >> mpirun -np 2 mkrand -f data -l 1 >> >> 1.6.5 works with gcc 4.7.0, >> openmpi/1.6.5/gcc/4.7.0 >> 0: my current offset is 0 >> 1: my current offset is 8388608 >> >> openmpi/1.6.5/intel/14.0 >> 0: my current offset is 4294967297 >> 1: my current offset is 4294967297 >> >> I passed the code through ddt, and the calculations for the offset for each >> rank gets the correct values passed to MPI_File_seek() but what I get back >> from MPI_File_get_position() is the above gibberish. >> >> I also cannot produce the problem with openmpi/1.6.4/intel/13.0.1 or with >> openmpi/1.6.5/pgi/13.5 >> >> Our builds all like this: >> >> PREFIX=/home/software/rhel6/openmpi-1.6.5/pgi-13.5 >> MXM=/home/software/rhel6/mxm/2.0 >> FCA=/home/software/rhel6/fca/2.5 >> COMPILERS='CC=pgcc CXX=pgCC FC=pgf90 F77=pgf77' >> ./configure \ >> --prefix=${PREFIX} \ >> --mandir=${PREFIX}/man \ >> --with-tm=/usr/local/torque \ >> --with-openib --with-psm \ >> --with-io-romio-flags='--with-file-system=testfs+ufs+nfs+lustre' \ >> --with-mxm=$MXM \ >> --with-fca=$FCA \ >> --disable-dlopen --enable-shared \ >> $COMPILERS >> >> >> Brock Palen >> www.umich.edu/~brockp >> CAEN Advanced Computing >> XSEDE Campus Champion >> bro...@umich.edu >> (734)936-1985 >> >> >> <mkrandfiles.c> > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users