Indeed, it works fine, thanks. Both qstat and qhost now show the short name.
Regards, Julien 2016-12-06 13:04 GMT+01:00 Reuti <re...@staff.uni-marburg.de>: > Hi, > > > Am 06.12.2016 um 10:58 schrieb Julien Nicoulaud < > julien.nicoul...@gmail.com>: > > > > Hi, > > > > I'm deploying SGE in an AWS cloud environment (using elasticluster). > > > > The hosts file looks like this: > > XXX.XXX.XXX.XXX ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal > ip-XXX-XXX-XXX-XXX compute001 > > XXX.XXX.XXX.XXX ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal > ip-XXX-XXX-XXX-XXX compute002 > > XXX.XXX.XXX.XXX ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal > ip-XXX-XXX-XXX-XXX compute003 > > XXX.XXX.XXX.XXX ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal > ip-XXX-XXX-XXX-XXX compute004 > > XXX.XXX.XXX.XXX ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal > ip-XXX-XXX-XXX-XXX compute005 > > XXX.XXX.XXX.XXX ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal > ip-XXX-XXX-XXX-XXX compute006 > > XXX.XXX.XXX.XXX ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal > ip-XXX-XXX-XXX-XXX compute007 > > XXX.XXX.XXX.XXX ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal > ip-XXX-XXX-XXX-XXX compute008 > > XXX.XXX.XXX.XXX ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal > ip-XXX-XXX-XXX-XXX compute009 > > > > SGE uses the "ip-XXX-XXX-XXX-XXX" in qhost, and > "ip-XXX-XXX-XXX-XXX.eu-west-1.compute.internal" in qstat. > > > > Is there a way I can force it to use the short hostnames (computeXXX) > for display ? > > The usual trick is to list the short nickname in the /etc/hosts file as > the first name (or even disregard any FQDN completely therein). I don't > know whether this will work in your case though. > > -- Reuti >
_______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users