Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

How to simulate several logical nodes on one phyisical node (MPI FFT)?

$
0
0

I'm trying to run my fftw3 mpi program compiled with icc compiler (wrapped within mpicc wrapper) on my single computer. When I was running regular (openmpi) mpirun I was able to run it with arbitrary number of nodes without extra settings. Printed ranks where different ranks as if I had several nodes although I have only one computer. That is logical nodes where created from one physical node.

However, when I started using Intel's mpiexec, I encountered problems. For example if I start program with 4 nodes, with line: mpiexec -n 4 ./a.out and I print out ranks within code, all the ranks are all 0 (0, 0, 0, 0), instead of 0, 1, 2, 3. How can I simulate 2 or 4 logical nodes on 1 physical node? I have a 2 core machine, so maybe 2 is maximum?

I know it has to do with settings in mpd.hosts file, but I don't know what to put in that file from few instructions available here on forum or anywhere else.

Thanks in advance.

 


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>