Re: illegal instruction (CPU mismatch)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016.09.16 at 13:00 +0200, Markus Trippelsdorf wrote:
> On 2016.09.16 at 12:57 +0200, Markus Trippelsdorf wrote:
> > On 2016.09.16 at 10:54 +0000, Mahmood Naderan wrote:
> > > >No, that's not necessary.
> > > 
> > > So, within GDB, I ran the program, but disas command says "no frame selected". please see below
> > > 
> > > $ cat sc.sh
> > > #!/bin/bash
> > > 
> > > ulimit -c unlimited
> > > 
> > > exec /share/apps/siesta/siesta-4.0/tpar/transiesta < trans-cc-bt-cc-163-20.fdf
> > > 
> > > $ cat sc2.sh
> > > 
> > > #!/bin/bash
> > > 
> > > /share/apps/siesta/openmpi-2.0.0/bin/mpirun -hostfile hosts.txt -np 15 sc.sh
> > > $ gdb --args bash sc2.sh
> > > (gdb) r
> > 
> > gdb --args /share/apps/siesta/openmpi-2.0.0/bin/mpirun -hostfile hosts.txt -np 15 sc.sh 
> 
> and perhaps:
> set follow-fork-mode child

And of course you should run this locally on the actual failing machine.
I have no idea how to debug Open MP jobs in general.

-- 
Markus



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux