On Tue, 17 May 2011, Chris Jewell wrote:
...
Mark,

Yes, this is certainly an option for batch jobs, and one that I wish to make use of. However, for interactive jobs (which can still be scheduled in my pe_slots SMP environment), you don't get the NSLOTS env variable. Hence the question...

I'll definitely post a solution when (if?) I get something working.

Cheers,

Chris

Hi Chris,

How are you launching your interactive jobs?

As long as matlab is in my path when I execute qrsh, the following command will launch matlab on a back-end compute node and variable NSLOTS will be defined:

  qrsh -V -cwd -pe smp 2 matlab

PE smp is defined as:

  pe_name            smp
  slots              100000
  user_lists         NONE
  xuser_lists        NONE
  start_proc_args    /bin/true
  stop_proc_args     /bin/true
  allocation_rule    $pe_slots
  control_slaves     FALSE
  job_is_first_task  FALSE
  urgency_slots      min
  accounting_summary TRUE

Mark
--
-----------------------------------------------------------------
Mark Dixon                       Email    : [email protected]
HPC/Grid Systems Support         Tel (int): 35429
Information Systems Services     Tel (ext): +44(0)113 343 5429
University of Leeds, LS2 9JT, UK
-----------------------------------------------------------------
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to