GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Scientific Computing » Linux OS » Batch Farm
Batch Farm [message #2317] Tue, 13 September 2005 11:32 Go to next message
wuestenf is currently offline  wuestenf
Messages: 138
Registered: June 2005
first-grade participant
From: lxg0426.gsi.de
How can I get a list off all available machines, that are in a specific queue? With the old system, the bqueues gave this list with the line "HOSTS", but now it gives only "batch_default/".

I need this list for my scripts to submit jobs.


Joern Wuestenfeld
Helmholtz - Zentrum Dresden - Rossendorf
01328 Dresden
Re: Batch Farm [message #2318 is a reply to message #2317] Tue, 13 September 2005 11:43 Go to previous messageGo to next message
Christopher Huhn is currently offline  Christopher Huhn
Messages: 88
Registered: December 2003
Location: GSI Darmstadt
continuous participant
super-utilisateur

From: lxdv17.gsi.de
I made this change to cleanup the LSF setup, since a lot of queues run on the same set of hosts.

The list of hosts can be obtained by
bhosts [I]host_group[/I]
, i. e.
bhosts batch_default
.

bhosts batch_default | cut -f 1  -d ' ' | grep -v "HOST_NAME"
will give you a scriptable names-only list.

Re: Batch Farm [message #2857 is a reply to message #2317] Fri, 10 February 2006 10:43 Go to previous message
wuestenf is currently offline  wuestenf
Messages: 138
Registered: June 2005
first-grade participant
From: lxg0423.gsi.de
I have a problem, running a simple perl command om the batch farm.

Depending on how I submitt the command, I get different result.
The command is:

perl -e "use Sys::Hostname; open host,">>/misc/wuestenf/Hydra/macros/Batch/hosts_problem.txt""


If I submit this command interactively (bsub -I -q quick ...)
I get no error message.

I I submit the same command non interactively, I get an error message.

From the report, the submitted command looks like:

perl -e "use Sys::Hostname; open \$host,\">>/misc/wuestenf/Hydra/macros/Batch/hosts_problem.txt\""


The error message is:

/misc/wuestenf/.lsbatch/1139564366.730234: line 8: perl -e "use Sys::Hostname; open \$host,\">>/misc/wuestenf/Hydra/macros/Batch/hosts_problem.txt\"": No such file or directory


Whats going wrong here?


Joern Wuestenfeld
Helmholtz - Zentrum Dresden - Rossendorf
01328 Dresden
Previous Topic: CGI Scripts@GSI
Next Topic: acroread via ssh -X from lxsarge32 locks XServer for 2 Minutes
Goto Forum:
  


Current Time: Wed Dec 04 04:12:41 CET 2024

Total time taken to generate the page: 0.00706 seconds