Discussion:
[OMPI users] stack overflow in routine alloca() for Java programs in openmpi-master with pgcc-18.4
Siegmar Gross
2018-11-13 13:21:44 UTC
Permalink
Hi,

I've installed openmpi-v4.0.x-201811110241-725f625 and
openmpi-master-201811100305-3dc1629 on my "SUSE Linux Enterprise
Server 12.3 (x86_64)" with pgcc-18.4. Unfortunately, I get the
following error for my Java programs for openmpi-master.

loki java 130 ompi_info | grep "Configure command line:"
Configure command line: '--prefix=/usr/local/openmpi-master_64_pgcc'
'--libdir=/usr/local/openmpi-master_64_pgcc/lib64'
'--with-jdk-bindir=/usr/local/jdk-11/bin'
'--with-jdk-headers=/usr/local/jdk-11/include' 'JAVA_HOME=/usr/local/jdk-11'
'LDFLAGS=-m64 -Wl,-z -Wl,noexecstack -L/usr/local/pgi/linux86-64/18.4/lib
-R/usr/local/pgi/linux86-64/18.4/lib' 'LIBS=-lpgm' 'CC=pgcc' 'CXX=pgc++'
'FC=pgfortran' 'CFLAGS=-c11 -m64' 'CXXFLAGS=-m64' 'FCFLAGS=-m64' 'CPP=cpp'
'CXXCPP=cpp' '--enable-mpi-cxx' '--enable-cxx-exceptions' '--enable-mpi-java'
'--with-valgrind=/usr/local/valgrind' '--with-hwloc=internal' '--without-verbs'
'--with-wrapper-cflags=-c11 -m64' '--with-wrapper-cxxflags=-m64'
'--with-wrapper-fcflags=-m64' '--enable-debug'
loki java 131 mpijavac InitFinalizeMain.java
warning: [path] bad path element
"/usr/local/openmpi-master_64_pgcc/lib64/shmem.jar": no such file or directory
1 warning
loki java 132 mpiexec java InitFinalizeMain
Error: in routine alloca() there is a
stack overflow: thread 0, max 8180KB, used 0KB, request 42B
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
Error: in routine alloca() there is a
stack overflow: thread 0, max 8180KB, used 0KB, request 42B
--------------------------------------------------------------------------
mpiexec detected that one or more processes exited with non-zero status, thus
causing
the job to be terminated. The first process to do so was:

Process name: [[47273,1],4]
Exit code: 127
--------------------------------------------------------------------------
loki java 133



Everything works as expected for openmpi-4.0.x.

loki java 108 ompi_info | grep "Configure command line:"
Configure command line: '--prefix=/usr/local/openmpi-4.0.0_64_pgcc'
'--libdir=/usr/local/openmpi-4.0.0_64_pgcc/lib64'
'--with-jdk-bindir=/usr/local/jdk-11/bin'
'--with-jdk-headers=/usr/local/jdk-11/include' 'JAVA_HOME=/usr/local/jdk-11'
'LDFLAGS=-m64 -Wl,-z -Wl,noexecstack -L/usr/local/pgi/linux86-64/18.4/lib
-R/usr/local/pgi/linux86-64/18.4/lib' 'LIBS=-lpgm' 'CC=pgcc' 'CXX=pgc++'
'FC=pgfortran' 'CFLAGS=-c11 -m64' 'CXXFLAGS=-m64' 'FCFLAGS=-m64' 'CPP=cpp'
'CXXCPP=cpp' '--enable-mpi-cxx' '--enable-cxx-exceptions' '--enable-mpi-java'
'--with-valgrind=/usr/local/valgrind' '--with-hwloc=internal' '--without-verbs'
'--with-wrapper-cflags=-c11 -m64' '--with-wrapper-cxxflags=-m64'
'--with-wrapper-fcflags=-m64' '--enable-debug'
loki java 109 mpijavac InitFinalizeMain.java
warning: [path] bad path element
"/usr/local/openmpi-4.0.0_64_pgcc/lib64/shmem.jar": no such file or directory
1 warning
loki java 110 mpiexec java InitFinalizeMain
Hello!
Hello!
Hello!
Hello!
Hello!
Hello!
Hello!
Hello!
Hello!
Hello!
Hello!
Hello!
loki java 111



I would be grateful, if somebody can fix the problem. Do you need anything
else? Thank you very much for any help in advance.


Kind regards

Siegmar

Loading...