problem in using matlab mpi for parallel processing..

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

回答(2 个)

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

类别

帮助中心File Exchange 中查找有关 Adding custom doc 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by