Ah - that explains it, thanks. I just saw the big comment at the top of
the arch script explaining how changes must be propagated to arch.dist,
and assumed someone forgot!

I guess this could bite a few folk though since it detected 2.6 at
compile time but 2.4 at runtime (this was on CentOS 5.5/x86_64 BTW). 

Cheers,
James

On Thu, Mar 31, 2011 at 03:26:58PM +0100, Rayson Ho wrote:
> On Thu, Mar 31, 2011 at 6:55 AM, James Abbott <[email protected]> wrote:
> > I just hit a minor issue using 6.2u5p1 built from the Open Grid
> > Scheduler tarball - it seems the dist/util/arch and dist/util/arch.dist
> > scripts are not in sync:
> 
> Thanks for the bug report.
> 
> This *was* a feature, not a bug :-)
> 
> Ron, Reuti, and I (plus a few Sun developers) added this fix. The reason was:
> - Linux 2.4 was used as a build machine at Sun.
> - the 2.4 package needs to be used for both Linux 2.4 & Linux 2.6.
> 
> So other people build their own from source, and found that it is
> still not used (arch script points to lx 2.4 even on Linux 2.6). So we
> added the logic in the arch script to see when it should return 2.6 -
> when it is on Linux 2.6 and it detects 2.6 binaries.
> 
> However, as 2.4 is not commonly seen, and my build machine is 2.6, may
> be we should take that logic out...
> 
> Rayson
> 
> 
> 
> >
> > [root@bss-adm2 source]# ./dist/util/arch
> > lx26-amd64
> > [root@bss-adm2 source]# ./dist/util/arch.dist
> > lx24-amd64
> >
> > so everything is a bit broken since all the sripts are looking in the
> > wrong location for the binaries. Easily fixed by copying dist/util/arch from
> > the source tarball to $SGE_ROOT/util/arch.
> >
> > James
> > --
> > Dr. James Abbott
> > Bioinformatics Software Developer
> > Imperial College, London
> > _______________________________________________
> > users mailing list
> > [email protected]
> > https://gridengine.org/mailman/listinfo/users
> >
> 

-- 
Dr. James Abbott
Bioinformatics Software Developer
Imperial College, London
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to