[Swift-devel] Coasters failing on Teraport - cant find Java?

Michael Wilde wilde at mcs.anl.gov
Tue Feb 3 08:36:30 CST 2009


The approach I'm testing is this:

if user has a .coasterinit file
   source it to put java in PATH
else if java is in PATH
   use it
else source /etc/profile

(executed under a non-login shell, i.e never use /bin/sh -l)

Right now I have the above in a different order (.coasterinit last) and 
it works on ranger, mercury and teraport.

.coasterinit is a more flexible alternative to a per-site option that 
points to java. Im not sure which is better.

On 2/2/09 11:58 AM, Mihael Hategan wrote:
> On Mon, 2009-02-02 at 17:38 +0000, Ben Clifford wrote:
>> On Tue, 27 Jan 2009, Michael Wilde wrote:
>>
>>> 1) On OSG sites, the jobmanager(s) are modified to inset OSG env vars and set
>>> the PATH to contain OSG stuff. So if you do a globus-job-run of
>> This isn't universal OSG behaviour. Some sites give you 
>> PATH=/bin:/usr/bin
>>
> 
> Which happens to be useless.
> 
> I suppose, for those sites, we need have an option to explicitly set
> where Java is, if that doesn't already work somehow.
> 



More information about the Swift-devel mailing list