Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

irunner3(1) [debian man page]

IRUNNER(1)																IRUNNER(1)

NAME
irunner - interactive runner interface SYNOPSIS
irunner [options] file_to_run DESCRIPTION
irunner is an interface to the various interactive runners available in IPython's irunner module. It can used to run scripts as if they where typed up interactively. The already implemented runners are listed below; adding one for a new program is a trivial task, see the source for examples. OPTIONS
-h, --help show this help message and exit --ipython IPython interactive runner (default). --python Python interactive runner. --sage SAGE interactive runner. EXAMPLE
irunner.py --python -- --help will pass --help to the python runner. Similarly, irunner.py --ipython -- --interact script.ipy SEE ALSO
ipython(1) AUTHOR
irunner is an extension of Ken Schutte <kschutte-AT-csail.mit.edu>'s script contributed on the ipython-user list: http://mail.scipy.org/pipermail/ipython-user/2006-May/003539.html This manual page was written by Bernd Zeimetz <bernd@bzed.de>, for the Debian project (but may be used by others). Modified by Fernando Perez <Fernando.Perez@berkeley.edu> for inclusion in IPython. July 15, 2011 IRUNNER(1)

Check Out this Related Man Page

IPCLUSTER(1)															      IPCLUSTER(1)

NAME
ipcluster - IPython parallel computing cluster control tool SYNOPSIS
ipcluster {piexec,local,mpirun,pbs,ssh} [options] DESCRIPTION
ipcluster is a control tool for IPython's parallel computing functions. IPython cluster startup. This starts a controller and engines using various approaches. Use the IPYTHONDIR environment variable to change your IPython directory from the default of .ipython or _ipython. The log and security subdirectories of your IPython directory will be used by this script for log files and security files. POSITIONAL ARGUMENTS
The first positional argument should be one of: {mpiexec, local, mpirun, pbs, ssh}, which are the available cluster types. For detailed help on each, type "ipcluster TYPE --help". Briefly: local run a local cluster mpirun run a cluster using mpirun (mpiexec also works) mpiexec run a cluster using mpiexec (mpirun also works) pbs run a pbs cluster ssh run a cluster using ssh, should have ssh-keys setup OPTIONS
-h, --help show help message and exit EXAMPLE
ipcluster local -n 4 This command will start 4 IPython engines on the local computer. SEE ALSO
ipython(1),ipcontroller(1),ipengine(1) AUTHOR
ipcluster is a tool that ships with IPython, created by the IPython Development Team. This manual page was written by Stephan Peijnik <debian@sp.or.at>, for the Debian project (but may be used by others). Modified by Fer- nando Perez <Fernando.Perez@berkeley.edu> for inclusion in IPython. October 28, 2008 IPCLUSTER(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

running cd from a script

is there anyway to change directories in a script and have it actually work? when u put something like cd /var/tmp in a script named runner. when u run that runner script, the current directory is still what it is. it doesn't change to /var/tmp. what can be done about this? (5 Replies)
Discussion started by: SkySmart
5 Replies

2. Shell Programming and Scripting

Environment Variables in Shebangs

Hello, I have a bunch of legacy CGIs, each supposed to work with a certain version of python (2.2, 2.3, 2.4, etc.). Configuring the shebangs of those is a cumbersome task and backwards compatibility is not always maintained in python releases, so simply putting python2.5 in the shebang of those... (6 Replies)
Discussion started by: neked
6 Replies

3. Homework & Coursework Questions

How to write script that behaves both in interactive and non interactive mode

Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines. It then prompts for deletion of the file. If user supplies arguments with the script , then it works on those files... (8 Replies)
Discussion started by: rits
8 Replies

4. Shell Programming and Scripting

Comparing two files

Hello all, I am not a programmer, but I require a little help with a project I am doing. I did read several posts and looks like awk or python may help me, though I know very little about using them. Here is my question: I have first file with 6 column. CHR SNP A1 A2 MAF ... (5 Replies)
Discussion started by: genehunter
5 Replies

5. Shell Programming and Scripting

Getting current time from wolfram.com using python

Hello to all, I am looking of a python script that can fetch date & time from wolfram or any website that gives correct time. 1. Open woflram.com website 2. Search query "time" 3. Search result displays the time. The script has to contact the website with the search query, take that... (5 Replies)
Discussion started by: frozensmilz
5 Replies

6. UNIX for Dummies Questions & Answers

Numpy and scipy installatin to unix server

Hello, i very need to install numpy and scipy packages to pyhton on my unix server. All my tries was unssuccesalbe. Can anybody tell me how can resolve my problem. (6 Replies)
Discussion started by: daggeto
6 Replies

7. Shell Programming and Scripting

how to set/get shell env variable in python script

greetings, i have a sh script that calls a python script. the sh script sets an env variable BIN: export BIN=bin64i need to get that BIN variable's value and use it within this python script. anyone know how to do this? thanx in advance. (5 Replies)
Discussion started by: crimso
5 Replies

8. Shell Programming and Scripting

Changing Line in Txt File

So I have a python program that I run, which runs accordingly to options I have listed in a text file (ie user_prefs). Now there are many options listed in this user_prefs.txt, but the one of most interest to me is that of the file path of the time series. I have over a hundred of these time... (8 Replies)
Discussion started by: Jimmyd24
8 Replies

9. Shell Programming and Scripting

Problem with python script

I have a txt file of 8GB with same type of messages in it. for eg: MTQ_BQUOTE, Length: 40, Timestamp: 4:00:52.064 MsgKey: symbol: XXX | reportingExchange: 11 Symbol: XXX, hash 004C5746 QS Symbol: XXX, market 1 Security Type: EQUAL (1) Symbol Type: Equity.Share.Single.None Session: XX_XXX (0)... (9 Replies)
Discussion started by: Vijeta Laad
9 Replies

10. Shell Programming and Scripting

[Solved] Unable to call a python script from bash

Hi, I am trying to run a python script embedded in bash script. But is throwing me an error. Please help. Script: #!/bin/bash nohup /usr/bin/python /opt/web/http.py & Error: /usr/bin/python: can't open file '/opt/web/http.py': No such file or directory Please help me on this. (6 Replies)
Discussion started by: maddy26615
6 Replies

11. Shell Programming and Scripting

Display-performance in terminal, bash or python?

Heyas I've been working on my project TUI (Text User Interface) for quite some time now, its a hobby project, so nothing i sit in front of 8hrs/day. Since the only 'real' programming language i knw is Visual Basic, based upon early steps with MS-Batch files. When i 'joined' linux 3 years ago,... (7 Replies)
Discussion started by: sea
7 Replies

12. Shell Programming and Scripting

Passing arguments to interactive program through bash script, here document

Dear Users, I have installed a standalone program to do multiple sequence alignment which takes user parameters to run the program. I have multiple sequence files and want to automate this process through a bash script. I have tried to write a small bash code but its throwing errors. Kindly... (13 Replies)
Discussion started by: biochemist
13 Replies

13. Shell Programming and Scripting

If condition after raw input in python

Hi, I have a python script which is completely interactive. I have almost 10+ raw input statements like below which are collected from user one by one. req_number = raw_input("Please enter request number or Q to Quit: ") if (req_number in ): sys.exit() Is it possible for a more... (6 Replies)
Discussion started by: ctrld
6 Replies

14. Shell Programming and Scripting

Unable to print python array in shell script loop.

I am unable to loop print a python string array in my unix shell script: ~/readarr.sh '{{ myarr }}' more readarr.sh echo "Parameter 1:"$1 MYARRAY= $1 IFS= MYARRAY=`python <<< "print ' '.join($MYARRAY)"` for a in "$MYARRAY"; do echo "Printing Array: $a" done Can you... (10 Replies)
Discussion started by: mohtashims
10 Replies

15. Shell Programming and Scripting

Python: Refer a properties file from different location

Hi All, I'm having a python script: test.py in /path/to/script/test.py I'm using a properties file: test_properties.py (it is having values as dictionary{}) which is in same DIR as the script. Sample Properties file: params = { 'target_db' : 'a1_db' 'src_db' : ... (15 Replies)
Discussion started by: saps19
15 Replies