[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] condor 6.8.8, 32 and 64 bits : solution



Hi all,

Peter, you helped me very much, but in my case, the solution is slightly different. In my distribution (debian) , I don't have any 'uname -p' option, but 'uname -m' did the trick : it gives me either i686 or x86_64, so here is the solution : 

I have 2 directories (which are in reality symlinks to the actual version, so that updates will be easier/faster) : 
/nfs/condor_x86_64
/nfs/condor_i686

and my exported values are the following : 
export CONDOR_CONFIG=/nfs/condor_`uname -m`/etc/condor_config
export PATH="$PATH:/nfs/condor_`uname -m`/bin:/nfs/condor_`uname -m`/sbin"

Thank you Peter for your help :)

++
Nicolas
----------------
On Tue, 16 Jan 2007 17:08:41 -0000
"Peter Myerscough-Jackopson" <peter.myerscough-jackopson@xxxxxxxxxx> wrote:

> Nicolas,
> 
> An alternative could be to use the uname command, and set the path and
> condorconfig as so:
> 
> PATH=/nfs/condor/condor_`uname -p`/bin
> CONDOR_CONFIG=/nfs/condor/condor_`uname -p`/etc/condor_config 
> 
> Then maintain two directories under your /nfs/condor/ structure one
> labeled condor_amd64 and the other labeled say condor_x86
> 
> Then look at what uname -p returns on each computer and put a link in
> the /nfs/condor directory pointing to the correct version of condor.
> 
> Ie, if uname -p returns "athlon" then put a link from condor_athlon to
> condor_x86, use the ln command
> 
> This will then allow you to update the two different condor installs
> when condor is updated again, and you can add more links in the
> /nfs/condor directory when you add new and different cpus.
> 
> I think this will be better for you,
> 
> Peter
> 
> Dr Peter Myerscough-Jackopson  -  Engineer
> MULTIPLE ACCESS COMMUNICATIONS LIMITED
> Delta House, The University of Southampton Science Park, Southampton,
> SO16 7NS,
> United Kingdom.
> Tel: +44 (0)23 8076 7808 Fax: +44 (0)23 8076 0602
> Web: http://www.macltd.com/  Email:
> peter.myerscough-jackopson@xxxxxxxxxx
> 
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Steven Timm
> Sent: 16 January 2007 15:10
> To: Condor-Users Mail List
> Subject: Re: [Condor-users] condor 6.8.8, 32 and 64 bits
> 
> Hi Nicolas-- I have a mixed cluster of X86_64 linux and INTEL (x86)
> linux. I do it by using the rpm and installing the appropriate binaries
> I need on each node.
> As mentioned previously you may want to change the APPEND_REQUIREMENTS
> on the config file of the machine that runs your schedd otherwise it
> will make requirements that will only allow it to run on the same
> architecture from which it was submitted.
> 
> Steve Timm
> 
> 
> 
> On Tue, 16 Jan 2007, Nicolas GUIOT wrote:
> 
> > Hi,
> >
> > Until now, I had condor 6.7.x, and the same binaries were used for 32
> and 64 bits cpu. So I had setup all my lab so that each computer uses
> the binaires through NFS :
> >
> > PATH=/nfs/condor/bin
> > CONDOR_CONFIG=/nfs/condor/etc/condor_config
> >
> > Now, I would like to use 6.8.3. On the downlaod page, I found 3
> packages : Itanium, Opteron and Intel x86.
> > When I see the file names, it seems the good packages are intel_x86
> for my 32 bits, and Opteron for the 64 bits (I have debian machine, with
> "classical" kernel for 32 bits, and amd64 kernel for the 64 bits).
> >
> > So, now I have everything, here is the question : is it possible to
> have the same exported variables (PATH and CONDOR_CONFIG) for 32 and 64
> bits, then, according to the CPU type, it will "choose" the correct
> directory ?
> >
> > Did someone already made a mix of both technologies ? how did you do
> that ?
> >
> > Thanks in advance
> > Nicolas
> >
> > ----------------------------------------------------
> > CNRS - UPR 9080 : Laboratoire de Biochimie Theorique Institut de 
> > Biologie Physico-Chimique
> > 13 rue Pierre et Marie Curie
> > 75005 PARIS - FRANCE
> >
> > Tel : +33 158 41 51 70
> > Fax : +33 158 41 50 26
> > ----------------------------------------------------
> > _______________________________________________
> > Condor-users mailing list
> > To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx 
> > with a
> > subject: Unsubscribe
> > You can also unsubscribe by visiting
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >
> > The archives can be found at either
> > https://lists.cs.wisc.edu/archive/condor-users/
> > http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR
> >
> 
> --
> ------------------------------------------------------------------
> Steven C. Timm, Ph.D  (630) 840-8525
> timm@xxxxxxxx  http://home.fnal.gov/~timm/ Fermilab Computing Division,
> Scientific Computing Facilities, Grid Facilities Department, FermiGrid
> Services Group, Assistant Group Leader.
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
> a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at either
> https://lists.cs.wisc.edu/archive/condor-users/
> http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR
> 
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at either
> https://lists.cs.wisc.edu/archive/condor-users/
> http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR
> 

----------


----------------------------------------------------
CNRS - UPR 9080 : Laboratoire de Biochimie Theorique
Institut de Biologie Physico-Chimique
13 rue Pierre et Marie Curie
75005 PARIS - FRANCE

Tel : +33 158 41 51 70
Fax : +33 158 41 50 26
----------------------------------------------------