Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28500 Discussions

localroot is an unrecognized argument when using Cluster Studio 19.2 and MPI

Anders_S_1
New Contributor III
706 Views

Hi,

I am running Cluster Studio 19 update 2 with Visual Studio 17, latest version. I use W10 Pro and MPI.

Everything works fine in Cluster Studio 18. With Cluster Studio 19 compiling and linking works fine but at run time I get the attached error message.

What can be done to get rid of this error?

Best regards

Anders S

Labels (1)
0 Kudos
5 Replies
jimdempseyatthecove
Honored Contributor III
693 Views

Does "mpiexec" no args show -localroot as an option (mine does).

Try -localonly or use -hosts YourHostNameHere

 

Jim Dempsey

 

Anders_S_1
New Contributor III
677 Views

Hi Jim,

Many thanks for quick answers!!

-localonly solved the problem!

Best regards

Anders S

0 Kudos
jimdempseyatthecove
Honored Contributor III
691 Views

On the Windows 10 desktop I am using to write this I can issue both:

C:\Program Files (x86)\IntelSWTools>mpiexec -hosts I72600K notepad

C:\Program Files (x86)\IntelSWTools>mpiexec -localroot notepad

 And four copies of Notepad launch (4 core CPU with host name I72600K).

Check where your mpiexec is located:

C:\Program Files (x86)\IntelSWTools>where mpiexec
C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.0.166\windows\mpi\intel64\bin\mpiexec.exe
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt\mpiexec.exe
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt\mpiexec.exe
C:\Program Files\Microsoft MPI\Bin\mpiexec.exe
C:\Program Files (x86)\Intel\MPI\5.0.2.044\intel64\bin\mpiexec.exe
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\mpirt\mpiexec.exe
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\mpirt\mpiexec.exe

On my system I see multiple copies, one of which is Microsof's the others are Intel's.

Try launching the Intel Parallel Studio (or Intel oneAPI) command prompt (32 or 64 bit as required), then CD-ing to the desired folder and then issuing your mpiexec.

 

Jim Dempsey

 

 

 

0 Kudos
jimdempseyatthecove
Honored Contributor III
689 Views

Note, explicitly running the Microsoft version gets your error message.

C:\Program Files (x86)\IntelSWTools>"C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" -localroot notepad
Unknown option: -localroot
0 Kudos
jimdempseyatthecove
Honored Contributor III
650 Views

Anders,

There may be different features/capabilities with the Intel MPI library that you do not have with the Microsoft MPI library. So I would suggest you find out. I took the liberty to make a query for you over here.

 

Jim Dempsey

0 Kudos
Reply