Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2263 Discussions

Illegal Instruction Error when Testing MPI Compiler

gstaller
Beginner
942 Views

Hello all,

 

I have recently installed the HPC Toolkit via package manager and am looking to run the available tests in the mpi directory.

 

However, when I run

'mpiifx test.f90 -o test'

and then follow it with

'mpirun -np 4 ./test'

I receive the error 'forrtl: severe (168): Program Exception - illegal instruction'

 

For reference I am using Ubuntu 22.04 and the 2024.2 (most recent package manager option for HPC as of now) HPC Toolkit.

 

Please feel free to ask for any more details and I look forward to resolving this!

 

Thanks!

0 Kudos
4 Replies
MJM
Beginner
883 Views
0 Kudos
TobiasK
Moderator
875 Views

@gstaller 
please provide a little more details, e.g. at least your HW and SW environment.

 

Also please attach the output of I_MPI_DEBUG=10

 

@MJM that issue is very old and resolved so that should not be relevant anymore

0 Kudos
gstaller
Beginner
865 Views

Hello,

 

For HW: I am running on eight Intel Xeon CPU - E5420 - at 2.50 GHz, please let me know if you need more but I imagine the make of my CPU is good.

 

For SW: Running purely through Ubuntu 22.04 and am accessing the test directory of the latest MPI release, 2021.13.

 

I will be sure to try I_MPI_DEBUG=10. Is there a specific directory where this needs to be ran or is it rather an edit that must be made to a file? Also, does it matter if I am in the 2021.13 directory for MPI rather than 'latest'? They seem to be exact copies.

 

Thanks!

0 Kudos
TobiasK
Moderator
829 Views

@gstaller are you referring to this CPU?  https://www.intel.com/content/www/us/en/products/sku/33927/intel-xeon-processor-e5420-12m-cache-2-50-ghz-1333-mhz-fsb/specifications.html

I doubt that we still support this CPU. It is end of life since 2010.

The error that you see is actually from the Fortran runtime, not from MPI.

 

You may try to compile with SSE4.1:
mpiifx test.f90 -msse3 -o test

and run with
I_MPI_DEBUG=10 I_MPI_PLATFORM=auto mpirun -np 4 ./test

 

However, this CPU is just too old, I fear you are on your own if that does not help.

0 Kudos
Reply