On Tue, Jan 31, 2012 at 2:00 PM, Reuti <[email protected]> wrote:
> Am 31.01.2012 um 19:51 schrieb Lane Schwartz:
>
>> On Tue, Jan 31, 2012 at 1:12 PM, Reuti <[email protected]> wrote:
>>> Am 31.01.2012 um 18:10 schrieb Lane Schwartz:
>>>
>>>> On Fri, Jan 27, 2012 at 3:42 PM, Rayson Ho <[email protected]> 
>>>> wrote:
>>>>> On Fri, Jan 27, 2012 at 2:49 PM, Lane Schwartz <[email protected]> wrote:
>>>>>> I have encountered a problem where sometimes (but not always) my jobs
>>>>>> ignore the -cwd or -wd flags and run in my home directory instead of
>>>>>> the specified working directory. I can run the same job multiple times
>>>>>> launching from the same directory, and sometimes the job correctly
>>>>>> runs from the current directory, and sometimes it runs from my home
>>>>>> directory.
>>>>>
>>>>> I ran over 100 test jobs and all of them ran in directory specified in
>>>>> -cwd or -wd. How easy is it to reproduce the issue?? Is the home
>>>>> directory on NFS or some kind of network or cluster storage??
>>>>
>>>> The home directory is mounted via NFS. The correct directory (where
>>>> the jobs are launched from) is also on NFS.
>>>
>>> Do you use automounter or is it a hard mount?
>>>
>>> (/scratch4 is mounted on all the exechosts if I get you right)
>>
>> The /scratch4 directory is hard mounted on all of the hosts.
>
> Do you have any facility to source .bashrc, as by default it's not used for 
> submitted jobs (or is it a feature of SoGE?).

I'm not sure what you mean. When I log in to a normal bash shell
~/.bashrc is sourced. When I submit my job I am passing it the -V
flag, so everything in my current environment should be passed to the
job.

What is SoGE?

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

Reply via email to