This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: illegal instruction (CPU mismatch)
- From: Mahmood Naderan <nt_mahmood at yahoo dot com>
- To: "noloader at gmail dot com" <noloader at gmail dot com>, Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 16 Sep 2016 12:11:51 +0000 (UTC)
- Subject: Re: illegal instruction (CPU mismatch)
- Authentication-results: sourceware.org; auth=none
- References: <2070054246.1500449.1474012574681.ref@mail.yahoo.com> <2070054246.1500449.1474012574681@mail.yahoo.com> <20160916083133.GA313@x4> <CAH8yC8nTUXTxaTv=LjVzO249dZn+StsC-eX1LVRUe9rt30jWpA@mail.gmail.com>
- Reply-to: Mahmood Naderan <nt_mahmood at yahoo dot com>
Markus,
I ran "set follow-fork-mode child" on another terminal while I was connecting to the compute node. Please see the output of the gdb
$ gdb --args /share/apps/siesta/openmpi-2.0.0/bin/mpirun -hostfile hosts.txt -np 15 sc.sh
Reading symbols from /share/apps/siesta/openmpi-2.0.0/bin/mpirun...done.
(gdb) run
Starting program: /share/apps/siesta/openmpi-2.0.0/bin/mpirun -hostfile hosts.txt -np 15 sc.sh
[Thread debugging using libthread_db enabled]
[New Thread 0x2aaaaafcc700 (LWP 26346)]
[New Thread 0x2aaaab1cd700 (LWP 26347)]
[New Thread 0x2aaaab3ce700 (LWP 26348)]
[New Thread 0x2aaaab5cf700 (LWP 26349)]
Detaching after fork from child process 26350.
...
...
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 16401 on node compute-0-1 exited on signal 4 (Illegal instruction).
--------------------------------------------------------------------------
[Thread 0x2aaaab5cf700 (LWP 26349) exited]
[Thread 0x2aaaab3ce700 (LWP 26348) exited]
[Thread 0x2aaaab1cd700 (LWP 26347) exited]
[Thread 0x2aaaaafcc700 (LWP 26346) exited]
Program exited with code 0204.
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.6.x86_64 libibverbs-1.1.8-4.el6.x86_64 libnl-1.1-14.el6.x86_64 libudev-147-2.42.el6.x86_64
(gdb) disas
No frame selected.
(gdb)
This time the output has some more lines, so I think the "follow-fork-module" worked. But still the process is dead!
Regards,
Mahmood