Hi,
Am 05.03.2013 um 18:41 schrieb Vamsi Krishna:
> is there any way to run make -j <slots in node> when we submit to batch
> environment to use all the slots with -pe <slots in node>
please have a look at the `qmake` tool which is installed with SGE in case you
want to start the compilation on the command line (`man qmake`).
If you are submitting the complete `make` job to a batch queue already, you
could use:
make -j $NSLOTS
in your jobscript and it will be replaced at runtime with the requested number
of slots as you specified it as argument to `qsub -pe smp 4` or alike. If you
want to use always all cores in a machine:
qsub -l exclusive -pe smp -999 make.sh
will always use the maximum up to 999 cores in a machine ("exclusive" is a
complex being set up with "relop EXCL", "smp" a PE setup with "allocation_rule
$pe_slots") and set $NSLOTS accordingly at runtime.
-- Reuti
> Regards
> PVK
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users