if gcc is installed on your compute node, you can run

echo | gcc -v -E - 2>&1 | grep cc1

and look for the -march=xxx parameter
/* you might want to compare that with your fronted */

And/or you can run
grep family /proc/cpuinfo
on your compute node
Then
man gcc
on your front end node

>From my gcc, -march=bdver1 for Family 15h, -march=barcelona for family 10h

That being said, my best bet is you compile on a compute node ...

Cheers,

Gilles


On Thursday, September 15, 2016, Mahmood Naderan <mahmood...@gmail.com>
wrote:

> Although the CPUs are nearly the same, but the CPU flags are different.
> I noticed that the frontend has fma, f16c, tch, tce, tbm and bmi1 while
> the compute nodes don't have them.
>
> I guess that since the programs were compiled on the frontend (6380),
> there are some especial instructions in the optimization phase which aren't
> available in compute nodes (6282).
>
> Maybe this is not really related to OMPI, but anybody know which compiler
> flags are related to these special instructions?
>
>
>
>
> >Ok, you can try this under gdb
> >info proc mapping
> >info registers
> >x /100x $rip
> >x /100x $eip
>
> The process is dead, so some commands are invalid.
>
> Program terminated with signal 4, Illegal instruction.
> #0  0x00000000008da76e in ?? ()
> (gdb) info proc mapping
> No /proc directory: '/proc/5383'
> (gdb) info registers
> rax            0x0      0
> rbx            0x448f980        71891328
> rcx            0x7fff52810b00   140734577576704
> rdx            0x448f980        71891328
> rsi            0x448f980        71891328
> rdi            0x8      8
> rbp            0x448f980        0x448f980
> rsp            0x7fff52810ae8   0x7fff52810ae8
> r8             0x1      1
> r9             0x9c0    2496
> r10            0x44af480        72021120
> r11            0x44b1b80        72031104
> r12            0x8      8
> r13            0x8      8
> r14            0x9      9
> r15            0x13880  80000
> rip            0x8da76e 0x8da76e
> eflags         0x10246  [ PF ZF IF RF ]
> cs             0x33     51
> ss             0x2b     43
> ds             0x0      0
> es             0x0      0
> fs             0x0      0
> gs             0x0      0
> (gdb) x /100x $rip
> 0x8da76e:       Cannot access memory at address 0x8da76e
> (gdb) x /100x $eip
> Value can't be converted to integer.
> (gdb)
>
>
>
> Regards,
> Mahmood
> ​​
>
>
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to