problem in using matlab mpi for parallel processing..

7 views (last 30 days)
raheel mumtaz
raheel mumtaz on 11 Aug 2011
Answered: Abeera Tariq on 11 Nov 2014
M USING MPI FOR PARALLEL PROCESSING IN MATLAB... m using ssh for the remote connection... but when i run the 'basic' example code present in matlabmpi folder it gives the following in the command windo
....................................................................
No pid files found
Launching MPI rank: 1 on: Raheel@RAHEEL-PC
Launching MPI rank: 0 on: MINAAM@MINAAM-PC
unix_launch =
ssh Raheel@RAHEEL-PC "cd C:\Users\Public\MatlabMPI\src & MatMPI\Dos_Commands.Raheel@RAHEEL-PC.1.bat"
ssh MINAAM@MINAAM-PC "cd C:\Users\Public\MatlabMPI\src & MatMPI\Dos_Commands.MINAAM@MINAAM-PC.0.bat"
C:\Users\Public\MatlabMPI\src>ssh Raheel@RAHEEL-PC "cd C:\Users\Public\MatlabMPI\src & MatMPI\Dos_Commands.Raheel@RAHEEL-PC.1.bat"
bash: line 0: cd: C:UsersPublicMatlabMPIsrc: No such file or directory
bash: MatMPIDos_Commands.Raheel@RAHEEL-PC.1.bat: command not found
C:\Users\Public\MatlabMPI\src>ssh MINAAM@MINAAM-PC "cd C:\Users\Public\MatlabMPI\src & MatMPI\Dos_Commands.MINAAM@MINAAM-PC.0.bat"
bash: line 0: cd: C:UsersPublicMatlabMPIsrc: No such file or directory
bash: MatMPIDos_Commands.MINAAM@MINAAM-PC.0.bat: command not found
...................................................................
what should i do to fix this problem... thnx

Answers (2)

Walter Roberson
Walter Roberson on 11 Aug 2011
Either change the \ in the paths to be / such as
C:/Users/Public/MatlabMPI/src
or else put in two \ for each \ that must make it to the other side, such as
C:\\Users\\Public\\MatlabMPI\\src

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!