[Mauiusers] unexpected hostname expansion in HOSTLIST
Roy Dragseth
roy.dragseth at cc.uit.no
Sat Oct 30 04:48:56 MDT 2010
This is because of regexp mandates matches on the shortest substring found.
Put a word boundary marker, \b, at the end of the nodename and you should be
fine
In maui cfg
SRCFG[.....] HOSTLIST=node1\b,node2\b
on the commandline you need another quote
setres node1\\b
or
setres "node1\b"
r.
On Friday, October 29, 2010 14:12:14 Burkhard Bunk wrote:
> Hi,
>
> I'm using maui-3.3 to configure standing reservations,
> using the HOSTLIST parameter:
>
> #
> # maui.cfg
> #
> SRCFG[...] HOSTLIST=...
>
> There I discoverd by accident, that hostnames are always expanded:
> each nodename is completed in all possible ways.
> If I have "node1" and "node10", the specification of "node1" will always
> include "node10" as well (and "node" will include all possible
> completions).
>
> You can easily experiment with this "feature" on the command line:
>
> setres node1
>
> will display the list of affected nodes.
>
> The Maui documentions doesn't mention this "feature" at all, AFAIK.
>
> However, there is a discussion in the Moab Workload Manager
> Administrator's Guide, part 12.1.4. The control characters mentioned there
> don't seem to work for MAUI. They also mention a MOAB parameter
> "OBJECTELIST", which may be of some help, but the details are left as an
> execise. Could this work for MAUI as well?
>
> The simple problem remains: how to specify "node1" _only_, if other
> hostnames like "node10" are also around.
>
> Best regards,
> Burkhard Bunk.
> ----------------------------------------------------------------------
> bunk at physik.hu-berlin.de Physics Institute, Humboldt University
> fax: ++49-30 2093 7628 Newtonstr. 15
> phone: ++49-30 2093 7980 12489 Berlin, Germany
> ----------------------------------------------------------------------
> _______________________________________________
> mauiusers mailing list
> mauiusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/mauiusers
--
The Computer Center, University of Tromsø, N-9037 TROMSØ Norway.
phone:+47 77 64 41 07, fax:+47 77 64 41 00
Roy Dragseth, Team Leader, High Performance Computing
Direct call: +47 77 64 62 56. email: roy.dragseth at uit.no
More information about the mauiusers
mailing list