I'm trying to run a c++ code (BCparallel.cpp) using MPI; compiling the code with:
mpic++ BCparallel.cpp -o BCparallel
is well succeed, but when I pass the line
mpiexec -np 4 BCparallel file.txt
It returns
[proxy:0:0@lps-Inspiron-5537] HYDU_create_process
(utils/launch/launch.c:75): execvp error on file BCparallel (No such
file or directory)
[proxy:0:0@lps-Inspiron-5537] HYDU_create_process
(utils/launch/launch.c:75): execvp error on file BCparallel (No such
file or directory)
[proxy:0:0@lps-Inspiron-5537] HYDU_create_process
(utils/launch/launch.c:75): execvp error on file BCparallel (No such
file or directory)
[proxy:0:0@lps-Inspiron-5537] HYDU_create_process
(utils/launch/launch.c:75): execvp error on file BCparallel (No such
file or directory)
What am I doing wrong?