source: branches/source_numpy_conversion/pypar-numeric/contrib/copy2bergen @ 7248

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
5import sys, os
6
7dir = os.getcwd()
8user = os.environ['USERNAME']
9host = 'bergen'
10
11s = 'scp * %s@%s:%s' %(user,host,dir)
12print s
13os.system(s)
Note: See TracBrowser for help on using the repository browser.