Why do I get error when submitting a job to an LSF cluster from a Windows MATLAB client?

3 views (last 30 days)
When submitting a job to an LSF cluster from a Windows client I receive the following error:
??? Error using ==> distcomp.lsfscheduler.pSubmitNonSharedJob at 128
Error executing the LSF script command 'bsub'. The reason given is
Oct 12 12:35:41 2007 3852:3304 3 7.01 createPipes: procStart_ failed cc=75 error=6
Oct 12 12:35:41 2007 3852:3304 3 7.01 getEData: createPipes() failed, Unable to fork child.
Request aborted by esub. Job not submitted.
If I try to call the LSF cluster directly using the bang operator (!), I also get the same error.
For example running:
!bsub sleep 10
throws the same error within MATLAB. I can run that same command in a Windows command prompt without error.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 4 Jan 2012
This error may be the result of how MATLAB is making the call to system commands. This issue is present in MATLAB versions R2006b - R2007b. To resolve this issue, try downloading the appropriate .mexw32 file. Once you have the appropriate .mex32 file, launch it once before making calls to the LSF cluster.
If this resolves the issue, you will need to call the .mex32 file each time you start MATLAB. This can be done by placing the file in the MATLAB startup folder, or by creating a startup.m file that calls the file at launch time.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!