[ET Trac] [Einstein Toolkit] #2093: Show if this machine matches the mdb
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Jan 23 18:11:30 CST 2018
#2093: Show if this machine matches the mdb
--------------------------+-------------------------------------------------
Reporter: sbrandt | Owner:
Type: enhancement | Status: review
Priority: unset | Milestone:
Component: SimFactory | Version: development version
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by rhaas):
If more than one pattern in the mdb matches the machine hostname then the
machine database if faulty since simfactory will end up having to use one
of them and which one it will use is at best not documented and at worst
depends on the order in which the machine.ini files are inspected (ie on
the order in which the file system presents them).
I am fine with whomami showing the auto-generated name since that is the
machine that I am on after all. After sim-setup is done there is no
difference anymore between machines whose description file is part of
simfactories repo and those which are generated by sim-setup so I do not
see how this command can distinguish between them.
The only reason it works is that sim-setup leaves aliaspattern to be
{{{^generic\.some\.where$}}} which seems like a good candidate to have
sim-setup to actually set to the hostname in the near future.
So it seems to me as if the only new thing that this command offers is to
detect if the current machine definition file was created by sim-setup or
not. However this detection is based on a side effect of sim-setup (and eg
could also happen if a user on a cluster does not set alias pattern).
To me it also seems as if a machine whose machine.ini file was created by
sim-setup and then adjusted by the user is explicitly supported (such as
my workstation, at least for me).
So I would like to rather not add this feature to the list-machines
command since it does not add much and what it adds is fragile as it
depends on details of the machine.ini file that we cannot enforce and do
not document.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2093#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list