[GE users] 5.x -> 6.0 transition question

Ron Chen ron_chen_123 at yahoo.com
Fri Feb 25 03:09:09 GMT 2005


--- "Bevan C. Bennett" <bevan at fulcrummicro.com> wrote:

> Is it possible to set up architecture aliases in
> SGE6, so that, for example, a request for a=glinux
> gets translated to the new a=lx24-x86?

May be you can try to write a qsub/qrsh wrapper?

>(ie: are the new arch codes compiled into the 
> binaries anywhere)?

Yes!

The arch names are mapped into the code.

If you know how to compile the source, may be you can
use my code change for this:

libs/uti/sge_arch.c:sge_get_arch()

const char *sge_get_arch(void)
{
  static const char *override = NULL;

  if (override = getenv("SGE_OVERRIDE_ARCH"))
    return override;

  ... rest of existing code

}

So, if you have SGE to report the 5.3 arch, set
SGE_OVERRIDE_ARCH to the old name in the environment
before starting the execds and other daemons. And
also, set symbolic links in the lib and arch
directory. This way, SGE will report the old arch
instead of the new one. When everything works, you can
remove $SGE_OVERRIDE_ARCH from the environment and
everything should be back to normal.


Also without any code changes, you can install SGE 6
into a seperate directory, and use another port, then
you can have both systems running in parallel on the
same cluster.

 -Ron


> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail:
> users-help at gridengine.sunsource.net
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list