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)
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)
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)
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)
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)
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)
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)
hi,
I have this script in python
#!/usr/bin/env python
from Crypto.Cipher import DES3
def desEncrypt(key, data):
d = des4me(key)
return d.encrypt(data)
def des4me(key):
return DES3.new(key, DES3.MODE_ECB)
... (8 Replies)
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)
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)
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)
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)
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)
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)
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)
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)