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

Problem in submitting job (MPI related) through HPC job manager

JSRhee
Beginner
632 Views

Hi 

 

I'm using fotran code and In my server we use both mpi from oneAPI and MSMPI

(Through Windows OS)

 

Actually, I have no problem in executing my mpi fotran code through oneAPI command prompt 

(ex) mpiexec  -np 1 program)

 

But in the cmd (original Command Prompt),  'mpiexec -np 1 program' causes an error "impi.dll is missing" 

 

It seems that library is not linked in the CMD.

I found out that if i execute vars.bat (in the mpi/latest/env directory), cmd is changed as "Intel(R) MPI Library build Environment for Intel(R) 64 applications" Then "mpiexec" works perfectly. 

 

It seems that mpi commands are linked to "MSMPI" in the cmd.  And i guess it's the problem. 

 

For this reason, when i submit jobs to clusters through command "mpiexec -np 1 program" (by HPC job manager) ,  same problem occur.

 

programs without using MPI have no issue.

 

How can i change the default MPI environment as "oneAPI" not "MSMPI"

 

or any other solutions ..?

 

Thank you in advance 

 

 

0 Kudos
1 Reply
TobiasK
Moderator
430 Views

@JSRhee 
please make sure that the PATH variable is correctly set up.

0 Kudos
Reply