kernsuite / packaging

Use this repository to report issues with packages or request new packages
13 stars 4 forks source link

chgcentre Illegal instruction (core dumped) due wrong compilation. #216

Closed Chanka2019 closed 4 years ago

Chanka2019 commented 4 years ago

Hello,

I am trying to change the phase centre of the HERA measurement set using 'chgcentre tool', after running the command: chgcentre zen.2458115.31193_split.ms 03h30m53.1s -30d46m38.74s

I got a warning: chgcentre Illegal instruction (core dumped) due to wrong compilation

I had to get in touch with Andre Offringa, and below is his comment

This probably has to do with your setup, as your command works fine on my machine with your measurement set. If you compile chgcentre on one machine, and run it on another (which is the most common cause of an 'illegal instruction' error that you get), you have to pass "-DPORTABLE=True" to cmake during compilation.

gijzelaerr commented 4 years ago

hi! Thanks for reporting this. But this is actually a duplicate of https://github.com/kernsuite/packaging/issues/195

We hope to solve this issue in a future KERN release at some point.