Run mex on AWS cluster?

조회 수: 3 (최근 30일)
Philip
Philip 2014년 10월 3일
답변: Philip 2014년 10월 3일
Is it possible to run a mex function on an AWS cluster via MDCS? I use Windows 7 on my PC. Is it correct that I would need to compile it on Linux and then call then indicate in my parfor loop to use the Linux version of the mex?

채택된 답변

Titus Edelhofer
Titus Edelhofer 2014년 10월 3일
Hi Philip,
yes, that's right. You will need to recompile on a Linux box (64 Bit, since I hope you run on AWS 64 Bit as well). In your parfor loop you don't need to "indicate": since you just write the name of the function without the extension (suppose your mex file is foo.mexw64, then you write foo(...)), MATLAB will always look out for the mex file with the "correct" extension, i.e. foo.lgnx64).
Titus

추가 답변 (1개)

Philip
Philip 2014년 10월 3일
Great, thanks!

카테고리

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