Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Running MATLAB under Sun Grid Engine

Asked by Jason on 15 Jul 2011

I've encountered a curious problem when trying to run MATLAB jobs under the Sun Grid Engine. Jobs that run normally when executed from the local machine either hang or produce boost::thread_resource_errors when delegated to the same machine by SGE.

I've tried the -nojvm, -nodisplay, -nodesktop, -nosplash, and -singleCompThread launch options all to no avail. The only solution I've found is to manually increase the virtual memory allotted to MATLAB using SGE submission options. Even the simplest programs require 4GB of virtual memory before they can run successfully.

This occurs on a 64-bit machine with MATLAB releases 2011a, 2010b, 2009b, 2008b, trying to run both the 32-bit and 64-bit executables.

Has anyone encountered a similar problem?

2 Comments

Chuck on 12 Sep 2011

No, but I would be interested in getting as far as you have gotten. What resources can you point me towards to get MATLAB and SGE integrated?

Paul on 30 Nov 2012

I am attempting the same thing with R2012a, what were the parameters that you used for job submission? Based on your comment, I'm using "-l h_vmem=24G" and still getting the boost error.

-=[ Paul S ]=-

Jason

Products

No products are associated with this question.

0 Answers

Contact us