Running MATLAB under Sun Grid Engine

2 views (last 30 days)
Jason
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
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
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 ]=-

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!