Illegal instruction

Hello,

I am trying to run my code on a linux cluster and getting "Illegal instruction" and nothing else. My code uses only Boost:program_options lib and one c++ scientific computing lib which in turn uses pet4c, trilinos, boost and possibly something else.
The code runs well on my virtual machine with linux. I rebuild my code of course on the cluster.
Is there a way to troubleshoot this or build with special options that give more details?

The actual hardware may change every time I login, which is done via ssh though there is a possibility to request a particular CPU etc.
The code is built in debug mode.
Thank you.
Try running it through Valgrind. Make sure to build for debug.
Thanks. I found that it is due to external library that I use (gives same error even if I delete all my code). Will try to download new sources and rebuild
Topic archived. No new replies allowed.