Start an *.exe with MDCS

조회 수: 1 (최근 30일)
Christian Alteheld
Christian Alteheld 2018년 5월 22일
답변: Nagarjuna Manchineni 2018년 5월 24일
Hi,
I would like to start an *.exe on a worker. I know the directory on the worker, where the specific *.exe can be found. However it does not work. The client shows that it is busy but the *.exe is not started on the worker.
Code example:
n = 2;
parfor i = 1:n
dos('$path\*.exe');
end
I hope somebody can help me.
Thanks

답변 (1개)

Nagarjuna Manchineni
Nagarjuna Manchineni 2018년 5월 24일
Hi Christian,
I believe that the execution of executable might not have happened successfully. For verifying that, can you check the results of the dos command. For example,
>> [status,results] = dos('foo.exe') % this will display the status of the execution and the results of the execution
I see that you are using '$path' in the dos command. Make sure that the MDCS server is installed on the Windows machine (workers running on Windows) and the executable is present in the correct location which you are referring to and the MDCS server (workers) have access to the executable.
I will be surprised if there is any other reason that could be the cause of the issue.
Also, I am curious to know how you are verifying that the executable is not launched?
Note that MDCS workers run on their designated cluster machines and might not have access to your local file system unless configured explicitly.

카테고리

Help CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by