Last change
on this file since 7248 was
5779,
checked in by steve, 16 years ago
|
Added the old version of pypar which works with Numeric. Necessary for parallel code until we move anuga to numpy (and then we can use pypar as distribute via sourceforge).
|
File size:
203 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | # |
---|
3 | # Copy all files in this dir to bergen |
---|
4 | |
---|
5 | import sys, os |
---|
6 | |
---|
7 | dir = os.getcwd() |
---|
8 | user = os.environ['USERNAME'] |
---|
9 | host = 'bergen' |
---|
10 | |
---|
11 | s = 'scp * %s@%s:%s' %(user,host,dir) |
---|
12 | print s |
---|
13 | os.system(s) |
---|
Note: See
TracBrowser
for help on using the repository browser.