Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Latest Intel Compilers (ICS, version 12.1.0.233 Build 20110811) issues ...
From: Richard Walsh (Richard.Walsh_at_[hidden])
Date: 2012-01-31 11:20:29


Gotz,

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
/share/apps/openmpi-intel/1.5.5/build/opal/mca/memory/linux

[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:

opal_memory_ptmalloc2_int_malloc

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.

Sincerely,

rbw

Richard Walsh
Parallel Applications and Systems Manager
CUNY HPC Center, Staten Island, NY
W: 718-982-3319
M: 612-382-4620

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 12.1.0.233 Build 20110811) issues ...

On Mon, Jan 30, 2012 at 5:11 PM, Richard Walsh
<Richard.Walsh_at_[hidden]> wrote:
> I have not seen this mpirun error with the OpenMPI version I have built
> with Intel 12.1 and the mpicc fix:
> openmpi-1.5.5rc1.tar.bz2

Hi,

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
users_at_[hidden]
http://www.open-mpi.org/mailman/listinfo.cgi/users

________________________________

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.