On 20 May 2013 14:51, Kevin Buckley
<kevin.buckley.ecs.vuw.ac...@gmail.com> wrote:

Here's a patch to

inst_common.sh

that moves qmon from the list of

BINFILES

into a list of

WARNBINFILES

There's then a test for existence loop over WARNBINFILES that
spits out a message but doesn't set

missing=false

Oh yeah, this time, I have noticed that the reply seems to go to the
sender not the
list and so I have copied this to the list as well as re-sending my
previous reply to
Tina to the list.

Dave, I think my pathc for the spec file went only to you as well.

I'lll get the hang of this mailing list thing one day!

Kevin M. Buckley

eScience Consultant
School of Engineering and Computer Science
Victoria University of Wellington
New Zealand


============ previous mail that just went to Tina =======


On 15 May 2013 23:09, Tina Friedrich <tina.friedr...@diamond.ac.uk> wrote:

> The other thing is that I keep having to run it with -nobincheck, as far as
> I can tell simply because I didn't build qmon. Annoying - should it not just
> check for actually required binaries?

I have seen something like that, from a Xen-based test-grid at home that I was
looking to build from the last RPMs  I had at the time

gridengine-6.2u5-6.el6.x86_64
gridengine-execd-6.2u5-6.el6.x86_64

and I have found my notes about it, in case they are useful

I'd got as far as

----8<----------------8<----------------8<----------------8<----------------8<------------
./inst_sge -x
missing program >sge_qmaster< in directory >./bin/lx26-amd64<
missing program >qacct< in directory >./bin/lx26-amd64<

Missing Grid Engine binaries!

A complete installation needs the following binaries in >./bin/lx26-amd64<:

qacct           qlogin          qrsh            sge_shepherd
qalter          qmake           qselect         sge_coshepherd
qconf           qmod            qsh             sge_execd
qdel            qmon            qstat           sge_qmaster
qhold           qresub          qsub            qhost
qrls            qtcsh           sge_shadowd     qping
qquota

and the binaries in >./utilbin/lx26-amd64< should be:

adminrun       gethostbyaddr  loadcheck      rlogin         uidgid
authuser       checkprog      gethostbyname  now            rsh
infotext       checkuser      gethostname    openssl        rshd
filestat       getservbyname  qrsh_starter   testsuidroot

Installation failed. Exit.


[root@xen-36-104 gridengine]# ls bin/lx26-amd64/
qalter  qhold   qmod    qresub  qrsub    qsub            sge_shadowd
qconf   qhost   qping   qrls    qselect  qtcsh           sge_shepherd
qdel    qlogin  qquota  qrsh    qsh      sge_coshepherd  sgepasswd
qevent  qmake   qrdel   qrstat  qstat    sge_execd

Missing these two

qacct
sge_qmaster

but it doesn't actually need them, so edit util/install_modules/inst_common.sh
----8<----------------8<----------------8<----------------8<----------------8<------------

and of course as I was only doing an execd install, they were not
strictly needed.

Maybe you could edit  (patch ?)

util/install_modules/inst_common.sh

to reflect what you have compiled, ahead of the install, atlhough it
is likely to need
to be specific to your environment.

The CheckBinaries procedure in that file in SGE 8.1.x  still lumps all
the binaries
together

----8<----------------8<----------------8<----------------8<----------------8<------------
...
CheckBinaries()
{

   BINFILES="sge_coshepherd \
             sge_execd sge_qmaster  \
             sge_shadowd \
             sge_shepherd qacct qalter qconf qdel qhold \
             qhost qlogin qmake qmod qmon qresub qrls qrsh qselect qsh \
             qstat qsub qtcsh qping qquota sgepasswd"
...
----8<----------------8<----------------8<----------------8<----------------8<------------


I have recently found a way to have the SGE 8.1.x RPM spec file avoid
building qmon,
which is where you seem to have come in, but am now aware, because of
what you've
seen  that I haven't allowed for something outside of the build itself.

I'll need to take a looksee but editing/patching that file might be
enough for you?
It was for me.

Hope that helps,
Kevin M. Buckley

eScience Consultant
School of Engineering and Computer Science
Victoria University of Wellington
New Zealand

Attachment: sge-8.1.3-inst_common_sh.diff
Description: Binary data

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to