Guten Tag Udo,

just write a little shell script for your users that generates two jobs
(see idea 2.).  Erik Soyez.


On Mon, 11 Jul 2011, Udo Waechter wrote:

Hi there.

I have come across a problem that I do not really know how to solve properly. I 
would like to implement a GE queue, where one would submit matlab jobs.
The idea is to use the Matlab Compiler to compile the M-File into a binary and 
then run the jobs itself. Why? Code compiled with mcc does not use licenses 
when it runs.

                                [ ... ]

2. * The prolog script submits a compile job and modifies the current job to 
hold until that one finishes
  ** Is it possible to configure a "default resource request" (like "-hold_jid 
mcc_compile") for a queue?

                                [ ... ]


I would like to configure this process as automagic as possible. The easiest 
would be for the users to do:

qsub -b y -q matlab myMatlabScript.m

Currently they would need to do:

qsub -b y -l lic_matlab=1,lic_statistics_toolbox=1,... -q matlab matlab -nojvm 
myMatlabScript.m

Any ideas and comments are highly appreciated.


--



--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to