On 14 May 2013 18:52, Reuti <re...@staff.uni-marburg.de> wrote:
> Am 14.05.2013 um 18:17 schrieb Riccardo Murri:
>
>> Hi,
>>
>> On 14 May 2013 09:05, Reuti <re...@staff.uni-marburg.de> wrote:
>>>
>>> Am 14.05.2013 um 01:26 schrieb Riccardo Murri:
>>>
>>>> is there a prolog-like script that gets executed before a task spawned
>>>> by qrsh (as part of a parallel job) is run?  The usual prolog is only
>>>> run on the master node at the start of the job, but I'm trying to
>>>> intercept instances of `qrsh -V` spawned by OpenMPI's `mpiexec`.
>>>
>>> Why?
>>
>> To workaround the multi-line environment variables bug that's still
>> present in OGE 6.2u8.
>> (But I ended up using QRSH_WRAPPER for that purpose.)
>
> Why is it necessary to run the prolog as root for this purpose?

My idea was to hack $SGE_JOB_SPOOL_DIR/environment in the prolog to
prevent /bin/bash from complaining.
I've been able to do that using a mix of starter_method and
QRSH_WRAPPER so it's no longer relevant.

But we run the prolog as root anyway, because it performs node
health-checks which require root permissions.

Thanks,
Riccardo
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to