Sorry, I was in a rush and missed that.
Here is some further information the compiler options used by me
for the 1.5.5 build:
[richard.walsh_at_bob linux]$ pwd
[richard.walsh_at_bob linux]$ make -n malloc.o
echo " CC " malloc.o;depbase=`echo malloc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
icc -DHAVE_CONFIG_H -I. -I../../../../opal/include -I../../../../orte/include -I../../../../ompi/include -I../../../../opal/mca/hwloc/hwloc122ompi/hwloc/include/private/autogen -I../../../../opal/mca/hwloc/hwloc122ompi/hwloc/include/hwloc/autogen -DMALLOC_DEBUG=0 -D_GNU_SOURCE=1 -DUSE_TSD_DATA_HACK=1 -DMALLOC_HOOKS=1 -I./sysdeps/pthread -I./sysdeps/generic -I../../../.. -I/share/apps/openmpi-intel/1.5.5/build/opal/mca/hwloc/hwloc122ompi/hwloc/include -I/usr/include/infiniband -I/usr/include/infiniband -DNDEBUG -g -O2 -finline-functions -fno-strict-aliasing -restrict -pthread -I/share/apps/openmpi-intel/1.5.5/build/opal/mca/hwloc/hwloc122ompi/hwloc/include -MT malloc.o -MD -MP -MF $depbase.Tpo -c -o malloc.o malloc.c &&\
mv -f $depbase.Tpo $depbase.Po
The entry point your code crashed in:
is renamed to:
rename.h:#define _int_malloc opal_memory_ptmalloc2_int_malloc
in the malloc.c routine in 1.5.5. Perhaps you should lower the optimization
level to zero and see what you get.
Parallel Applications and Systems Manager
CUNY HPC Center, Staten Island, NY
Miracles are delivered to order by great intelligence, or when it is
absent, through the passage of time and a series of mere chance
events. -- Max Headroom
From: users-bounces_at_[hidden] [users-bounces_at_[hidden]] on behalf of Götz Waschk [goetz.waschk_at_[hidden]]
Sent: Tuesday, January 31, 2012 3:38 AM
To: Open MPI Users
Subject: Re: [OMPI users] Latest Intel Compilers (ICS, version 184.108.40.206 Build 20110811) issues ...
On Mon, Jan 30, 2012 at 5:11 PM, Richard Walsh
> I have not seen this mpirun error with the OpenMPI version I have built
> with Intel 12.1 and the mpicc fix:
I haven't tried that version yet. I was trying to build a
supplementary package to the openmpi 1.5.3 shipped with RHEL6.2, the
same source, just built using the Intel compiler.
> and from the looks of things, I wonder if your problem is related. The
> solution in the original case was to conditionally dial-down optimization
> when using the 12.1 compiler to prevent the compiler itself from crashing
> during a compile. What you present is a failure during execution. Such
> failures might be due to over zealous optimization, but there seems to be
> little reason on the face of it to believe that there is a connection between
> the former and the latter.
Well, the similarity is that it is also a crash in the malloc routine.
I don't know if my optflags are too high, I have derived them from Red
Hat's, replacing the options unkown to icc:
-O2 -g -pipe -Wall -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=pentium4
> Does this failure occur with all attempts to use 'mpirun' whatever the source?
> My 'mpicc' problem did. If this is true and If you believe it is an optimization
> level issue you could try turning it off in the failing routine and see if that
> produces a remedy. I would also try things with the very latest release.
Yes, the mpicc crash happened every time, I could reproduce that.
I have only tested the most basic code, the cpi.c example. The funny
thing is, that mpirun -np 8 cpi doesn't always crash, sometimes it
finishes just fine.
Regards, Götz Waschk
users mailing list
Change is in the Air - Smoking in Designated Areas Only in effect.<http://www.csi.cuny.edu/tobaccofree>
Tobacco-Free Campus as of July 1, 2012.