[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "ISO-8859-10" character set. ]
[ Some special characters may be displayed incorrectly. ]
Hi,
We are experiencing problems running SGE in Xen virtual machines. The
problems are related to the way SGE detects the architecture using the
"$SGE_ROOT/util/arch" script. It looks up the architecture of the OS
based on the value of the uname output (i.e. based on the arch of the
kernel in the system).
In our virtual machines this is what we get:
[root at sa3-ce root]# $SGE_ROOT/util/arch
strings: /lib64/libc.so.6: No such file or directory
lx24-amd64
[root at sa3-ce root]# uname -a
Linux sa3-ce.xxx 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 14:59:01 EDT
2006 x86_64 x86_64 x86_64 GNU/Linux
To have a x86_64 kernel does not mean *necessarily* that you have 64 bit
libraries installed in the system. This is for example the case in our
virtual machines where we use a 64 bit Xen kernel but have RHEL3 32 bit
OS installed. So the libraries in the system are 32 bit and not 64.
To overcome this problem I have modified the arch script:
[root at sa3-ce root]# diff -Naur $SGE_ROOT/util/arch $SGE_ROOT/util/arch.orig
--- /usr/local/sge/pro/util/arch 2007-03-30 14:36:31.000000000 +0200
+++ /usr/local/sge/pro/util/arch.0 2007-03-30 14:32:26.000000000 +0200
@@ -163,10 +163,6 @@
;;
x86_64)
lxmachine=amd64
- # Additional check in case we are in a x86_64 machine (JLC)
- if [[ ! -r /lib64/libc.so.6 && -r /lib/libc.so.6 ]]; then
- lxmachine=x86
- fi
;;
ia64)
lxmachine=ia64
I would like to know your opinion about this problem and if there are
other ways to solve it.
Cheers,
Javier
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net