Am 14.08.2012 um 00:53 schrieb Joseph Farran:

> The issue is with qrsh.
> 
> With regular qsub I am able to load modules just fine.   With qsub, it finds 
> the module environment correctly.
> 
> With qrsh, it's a different story:
> 
> $ qrsh -V
> error: Unknown option -V

Yes, you will get a fresh new shell without any set PATH or other environment 
variables.

But the ~/.profile is sourced and you can define the module function therein.

-- Reuti


> On 08/13/2012 03:36 PM, Dave Love wrote:
>> Joseph Farran<[email protected]>  writes:
>> 
>>> For those here using the modules environment, you also need to add "-v 
>>> MODULEPATH".
>> The easy way to deal with modules is either to load the module before
>> submitting and use -V or, particularly if paths etc. could be different
>> on the compute hosts, do "module load" in the job script.
>> 
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


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

Reply via email to