| 
		
			| Batch Farm [message #2317] | Tue, 13 September 2005 11:32  |  
			| 
				
				
					|  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 #2857 is a reply to message #2317] | Fri, 10 February 2006 10:43  |  
			| 
				
				
					|  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
 |  
	|  |  |