[osuosl-powerdev] something's wrong with $PATH and ccache at ibmcell.osuosl.org
Marian Such
toxygen1 at gmail.com
Tue Aug 5 20:14:59 UTC 2008
Ok, sure.
btw. may I ask, you mentioned earlier in this list that I/O of those
disks is very slow.
May I ask what is the reason why are they slow?
Regards
Marian
On Aug 5, 2008, at 10:11 PM, Lance Albertson wrote:
> Marian Such wrote:
>> You are right.
>> after setting $HOME to /data/toxygen it runs fine.
>> [toxygen at pecan toxygen]$ export HOME=/data/toxygen
>> [toxygen at pecan ~]$ gcc
>> gcc: no input files
>> [toxygen at pecan ~]$
>> this explains it, ccache probably cannot handle nfs.
>> So probably setting /home/<user>/.ccache as symlink to /data/
>> <user>/.ccache would help.
>> In fact, cache of code from other platform is not very feasible
>> to work with on another platform.
>> So this could involve even more problems for compiling itself; so
>> it is not reasonable to use the same .ccache directory for all
>> platforms.
>
> The whole NFS situation is causing more problems than good so I
> plan on us getting rid of it sometime in the future. But creating
> the symlink should resolve the issue for now. Sorry for the issues!
>
> Next time you have a problem, could you please send an email to
> support at osuosl dot org?
>
> Thanks-
>
>> On Aug 4, 2008, at 8:15 PM, Mark Wong wrote:
>>> On Mon, Aug 4, 2008 at 11:10 AM, Marian Such
>>> <toxygen1 at gmail.com> wrote:
>>>> open("/home/toxygen/.ccache/stats", O_RDWR) = 4
>>>> fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
>>>> len=1}
>>> I've been experiencing problems with working on the NFS mounted home
>>> directories, and the fact that this is the last line in your strace
>>> suggests you may be suffering from similar troubles. I've been
>>> working from the locally mounted /data/$USER directories with much
>>> more success.
>
>
> --
> Lance Albertson lance <at>
> osuosl.org
> Systems Administrator / Architect Open
> Source Lab
> Network Services Oregon State
> University
> Work: 541-737-9975 PGP Key:
> 0x27F4B742
> GPG Fingerprint 0423 92F3 544A 1282 5AB1 4D07 416F A15D 27F4
> B742
>
More information about the powerdev
mailing list