Questions tagged [mpiexec]

`mpiexec` is the command used to start [tag:MPI] applications. It replaces many earlier non-standard commands used by various implementations (including `mpirun`).

mpiexec is the command used to start applications. It replaces many earlier non-standard commands used by various implementations (including mpirun). All MPI implementations are now required to provide a command mpiexec to launch applications. This can be found in the most recent version (3.0) of the MPI Standard in Section 8.8, Portable MPI Process Startup

In some instances, mpiexec can also be used to refer to the process launcher that actually launches each local and remote instance of the application, however this is usually better described as the process launcher.

59 questions
1
vote
2 answers

mpiexec using wrong number of cpus

I am trying to set up a MPI Cluster. But I have the problem that the number of CPUs added to the mpd.conf file is not correctly used. I have three Ubuntu servers. opteron with 48 Cores calc1 with 8 Cores calc2 with 8 Cores. My mpd.hosts looks…
Bjoern
  • 21
  • 4
1
vote
1 answer

Supercomputer: Dead simple example of a program to run in supercomputer

I am learning how to use supercomputers to make the good use of resources. Let's say I have a python script, that will create a text file with given random number. myfile.py # Imports import random,os outdir = 'outputs' if not…
BhishanPoudel
  • 15,974
  • 21
  • 108
  • 169
1
vote
1 answer

How to pass signals through mpiexec on windows?

My mpi application has a signal handler to catch ctrl-C or ctrl-break one Windows, and when this application is run in serial in the cmd window, it is seen to work. It is intercepted, the code then does its last ouput, and the code quits…
JR Cary
  • 31
  • 4
1
vote
1 answer

Set number of processes mpi in cmake project at qtcreator

How can I set number of processes in qtcreator in a c++ MPI program? I add -n 4 into run arguments but the program was not run on 4 processes!! Should I change CMakeLists?
Ali Mirzaei
  • 1,496
  • 2
  • 16
  • 27
1
vote
0 answers

MPI_Reduce with user defined function keep crashing on some processes

When using MPI_Reduce, I need to deal with some complex data structure. So I need to define my own reduce function by using MPI_Op_create. But the thing is, one or more processes are keep crashing, even on the very simple user defined function,…
OwenShi
  • 11
  • 3
1
vote
0 answers

Mpiexec fails to terminate when program ends

I am running an mpi program on a cluster. When the program ends the job does not. And so I have to wait for it to time out. I am not sure how to debug this. I checked that the program got to the finalize statement in MPI, and it does. I am using lib…
exrhizo
  • 141
  • 2
  • 13
1
vote
1 answer

STDIN seems to be broken after call to "system" invoking mpiexec

This is my first ever post here, so please excuse any formatting issues. I have an interactive program which spawns external processes and monitors their IO. Things work fine until I spawn something off with "mpiexec", after which STDIN appears…
1
vote
0 answers

Why can't I get mpiexec to connect to another node?

I am trying to set up a distributed computing cluser via MPI (MPICH2), running on Windows XP. I am trying to run a single command, along the lines of >> mpiexec -hosts 2 localhost 1 other-computer 2 notepad.exe Aborting: unable to connect to…
0
votes
0 answers

MPI: How to use MPI_Reduce for several communicators independently?

I am trying to apply MPI_Reduce with MPI_SUM operation. There are 12 processes. Using MPI_Comm_split I get 4 communicators by 3 processes. Each process produces a value and sends the result to all other processes in the group. As a result, it is…
Koshy
  • 1
  • 1
0
votes
0 answers

Unrecognized argument oversubscribe when running mpiexec on WSL

When running the command: mpiexec -n 4 -oversubscribe ./mpi01 on WSL 2 I get the following error: mpiexec@John-Laptop] match_arg (utils/args/args.c:163): unrecognized argument oversubscribe [mpiexec@John-Laptop] HYDU_parse_array…
John_Mason27
  • 227
  • 4
  • 17
0
votes
0 answers

In a QT 5 based app,how to start mpiexec.exe in a managable way under Windows?

currently,MPI is started like this: QStringList params = QStringList{"mpiexec.exe", "-hosts", QString::number(nodes.size()), ips, solver.exe, "--mpi", "-p", QString::number(coreNum), …
Alex Luya
  • 9,412
  • 15
  • 59
  • 91
0
votes
0 answers

How make mpiexec.hydra use all cores

I have a test code like this: #include #include int main(int argc, char** argv) { MPI_Init(NULL, NULL); int world_size; MPI_Comm_size(MPI_COMM_WORLD, &world_size); int world_rank; MPI_Comm_rank(MPI_COMM_WORLD,…
Alex Luya
  • 9,412
  • 15
  • 59
  • 91
0
votes
1 answer

) was unexpected at this time. Script returned exit code 255

I am running into an error I don't quite understand. My windows and Batch are probably my worst so be gentle. I inherited this mess and I am trying to figure it out. I initially thought it was just a permissions error, as the team I took this…
Dvsmp
  • 1
  • 2
0
votes
0 answers

mpirun - Use each node's local env variables instead of master node's

I am trying to run mpirun from the master node. If I do the following: mpirun -np 2 -hostfile /job/hostfile --map-by node --tag-output -bind-to none hostname The output looks good, two different…
user
  • 30
  • 3
0
votes
0 answers

What's single copy mechanism into mpiexec command

Can anyone tell me what the btl_vader_single_copy_mechanism argument corresponds to when running the mpiexec command? Thanks in advance
Watin
  • 1