Subject: Re: SGE 5.3p6 ported to NetBSD, call for beta testers
To: Ron Chen <ron_chen_123@yahoo.com>
From: Nicolas Joly <njoly@pasteur.fr>
List: tech-cluster
Date: 05/17/2004 11:00:14
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Fri, Apr 30, 2004 at 07:17:02PM -0700, Ron Chen wrote:
> It's checked into the project's cvs tree, compiles and
> runs fine, but missing qmake, qmon, and qtcsh for now.
>
> Anyone interested in testing it?
I just made some tests on 2 of our machines running NetBSD -current.
If it works fine on a i386 box, problems arise with platforms where
${MACHINE} != ${MACHINE_ARCH} such as amd64.
NetBSD lanfeust.sis.pasteur.fr 2.0E NetBSD 2.0E (LANFEUST) #13: Mon May 10 15:39:54 CEST 2004 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/LANFEUST amd64
njoly@lanfeust [gridengine/source]> ./aimk -only-depend
oops - no mapping for architecure "nbsd-amd64" defined yet
`dist/util/arch' report `nbsd-amd64' as architecture, but all other
files expect `nbsd-x86_64' instead.
I don't known who is right ... But one solution is to teach `arch' to
use processor architecture instead of machine name for NetBSD (patch
attached).
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="grid-nbsdarch.diff"
Index: source/dist/util/arch
===================================================================
RCS file: /cvs/gridengine/source/dist/util/arch,v
retrieving revision 1.7.2.16
diff -u -r1.7.2.16 arch
--- source/dist/util/arch 24 Apr 2004 18:13:52 -0000 1.7.2.16
+++ source/dist/util/arch 17 May 2004 08:57:55 -0000
@@ -55,6 +55,7 @@
if [ -x /usr/bin/uname ]; then
os="`/usr/bin/uname -s`"
ht="`/usr/bin/uname -m`"
+ ha="`/usr/bin/uname -p`"
osht="$os,$ht"
case $osht in
Darwin,*)
@@ -64,7 +65,7 @@
ARCH=fbsd-$ht
;;
NetBSD,*)
- ARCH=nbsd-$ht
+ ARCH=nbsd-$ha
;;
esac
fi
--IJpNTDwzlM2Ie8A6--