Hi Giacomo
Some programs fail with segmentation fault
because the stack size is too small.
[But others because of bugs in memory allocation/management, etc.]
Have you tried
ulimit -s unlimited
before you run the program?
Are you using a single machine or a cluster?
If you're using infiniband you may need also to make the locked memory
unlimited:
ulimit -l unlimited
I hope this helps,
Gus Correa
On 05/05/2016 05:15 AM, Giacomo Rossi wrote:
gdb /opt/openmpi/1.10.2/intel/16.0.3/bin/mpif90
GNU gdb (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/openmpi/1.10.2/intel/16.0.3/bin/mpif90...(no
debugging symbols found)...done.
(gdb) r -v
Starting program: /opt/openmpi/1.10.2/intel/16.0.3/bin/mpif90 -v
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6858f38 in ?? ()
(gdb) bt
#0 0x00007ffff6858f38 in ?? ()
#1 0x00007ffff7de5828 in _dl_relocate_object () from
/lib64/ld-linux-x86-64.so.2
#2 0x00007ffff7ddcfa3 in dl_main () from /lib64/ld-linux-x86-64.so.2
#3 0x00007ffff7df029c in _dl_sysdep_start () from
/lib64/ld-linux-x86-64.so.2
#4 0x00007ffff7dddd4a in _dl_start () from /lib64/ld-linux-x86-64.so.2
#5 0x00007ffff7dd9d98 in _start () from /lib64/ld-linux-x86-64.so.2
#6 0x0000000000000002 in ?? ()
#7 0x00007fffffffaa8a in ?? ()
#8 0x00007fffffffaab6 in ?? ()
#9 0x0000000000000000 in ?? ()
Giacomo Rossi Ph.D., Space Engineer
Research Fellow at Dept. of Mechanical and Aerospace Engineering,
"Sapienza" University of Rome
*p: *(+39) 0692927207 | *m**: *(+39) 3408816643 | *e:
*giacom...@gmail.com <mailto:giacom...@gmail.com>
<mailto:giacomo.ro...@uniroma1.it>
Member of Fortran-FOSS-programmers
<https://github.com/Fortran-FOSS-Programmers>
2016-05-05 10:44 GMT+02:00 Giacomo Rossi <giacom...@gmail.com
<mailto:giacom...@gmail.com>>:
Here the result of ldd command:
'ldd /opt/openmpi/1.10.2/intel/16.0.3/bin/mpif90
linux-vdso.so.1 (0x00007ffcacbbe000)
libopen-pal.so.13 =>
/opt/openmpi/1.10.2/intel/16.0.3/lib/libopen-pal.so.13
(0x00007fa9597a9000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fa9594a4000)
libpciaccess.so.0 => /usr/lib/libpciaccess.so.0 (0x00007fa95929a000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fa959096000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007fa958e8e000)
libutil.so.1 => /usr/lib/libutil.so.1 (0x00007fa958c8b000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fa958a75000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa958858000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fa9584b7000)
libimf.so =>
/home/giacomo/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64/libimf.so
(0x00007fa957fb9000)
libsvml.so =>
/home/giacomo/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64/libsvml.so
(0x00007fa9570ad000)
libirng.so =>
/home/giacomo/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64/libirng.so
(0x00007fa956d3b000)
libintlc.so.5 =>
/home/giacomo/intel/compilers_and_libraries_2016.3.210/linux/compiler/lib/intel64/libintlc.so.5
(0x00007fa956acf000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa959ab9000)'
I can't provide a core file, because I can't compile or launch any
program with mpifort... I've always the error 'core dumped' also
when I try to compile a program with mpifort, and of course there
isn't any core file.
Giacomo Rossi Ph.D., Space Engineer
Research Fellow at Dept. of Mechanical and Aerospace
Engineering, "Sapienza" University of Rome
*p: *(+39) 0692927207 <tel:%28%2B39%29%200692927207> | *m**:
*(+39) 3408816643 <tel:%28%2B39%29%203408816643> | *e:
*giacom...@gmail.com <mailto:giacom...@gmail.com>
<mailto:giacomo.ro...@uniroma1.it>
Member of Fortran-FOSS-programmers
<https://github.com/Fortran-FOSS-Programmers>
2016-05-05 8:50 GMT+02:00 Giacomo Rossi <giacom...@gmail.com
<mailto:giacom...@gmail.com>>:
I’ve installed the latest version of Intel Parallel Studio
(16.0.3), then I’ve downloaded the latest version of openmpi
(1.10.2) and I’ve compiled it with
`./configure CC=icc CXX=icpc F77=ifort FC=ifort
--prefix=/opt/openmpi/1.10.2/intel/16.0.3`
then I've installed and everything seems ok, but when I try the
simple command
' /opt/openmpi/1.10.2/intel/16.0.3/bin/mpif90 -v'
I receive the following error
'Segmentation fault (core dumped)'
I'm on ArchLinux, with kernel 4.5.1-1-ARCH; I've attache to this
email the config.log file compressed with bzip2.
Any help will be appreciated!
Giacomo Rossi Ph.D., Space Engineer
Research Fellow at Dept. of Mechanical and Aerospace
Engineering, "Sapienza" University of Rome
*p: *(+39) 0692927207 <tel:%28%2B39%29%200692927207> | *m**:
*(+39) 3408816643 <tel:%28%2B39%29%203408816643> | *e:
*giacom...@gmail.com <mailto:giacom...@gmail.com>
<mailto:giacomo.ro...@uniroma1.it>
Member of Fortran-FOSS-programmers
<https://github.com/Fortran-FOSS-Programmers>
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2016/05/29093.php