[GE users] change arch in configuration

Ionel GARDAIS ionel.gardais at tech-advantage.com
Fri May 11 10:42:38 BST 2007


    [ 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 again Mark,

I've just noticed that when forcing arch via a loadsensor, the SGE_ARCH
environment variable still refers to the sge_execd's compiled-in
architecture.
(I make no use of SGE_ARCH but readers could be interested by this issue)

Ionel


Olesen, Mark wrote:
>> As I understood from a previous post, the util/arch script pick the
>> good binary but the arch returned to qmaster is hardcoded *in* the
>> binary.
>>     
>
> For simple solution, you can pickup the real arch and send it via a
> loadsensor (assume that you already have some running).
>
> UQHOST=$(echo $HOST | cut -f1 -d.)
>
> #
> # the real (not compiled in) architecture
> #
> os_arch=`$SGE_ROOT/util/arch`
>
> host_info()
> {
>    echo "$UQHOST:arch:$os_arch"
> }
>
> while :
> do
>    read input || exit 1         # wait for input
>    [ "$input" = quit ] && exit 0
>
>    echo begin                   # begin load report
>    host_info                    # host information
>    echo end                     # end load report
>
> done
> exit 0                  # we never get here, but just in case
>
>
> This lets you use the lowest common denominator for the binaries, and use
> the load report for the real values.
>
> Setting the arch complex directly in the exec host config instead should
> probably work too.
>
> /mark
> This e-mail message and any attachments may contain 
> legally privileged, confidential or proprietary Information, or 
> information otherwise protected by law of ArvinMeritor, Inc., 
> its affiliates, or third parties. This notice serves as marking of 
> its "Confidential" status as defined in any confidentiality 
> agreements concerning the sender and recipient. If you are 
> not the intended recipient(s), or the employee or agent 
> responsible for delivery of this message to the intended 
> recipient(s), you are hereby notified that any dissemination, 
> distribution or copying of this e-mail message is strictly 
> prohibited. If you have received this message in error, please 
> immediately notify the sender and delete this e-mail message 
> from your computer.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>   

-- 
Ionel GARDAIS
System-Network Engineer



    [ Part 2: "Attached Text" ]

    [ 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. ]

---------------------------------------------------------------------
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