Using Spyder (Python 3.4) to run code on remote server

2,688 views
Skip to first unread message

Asaf Miron

unread,
Oct 21, 2015, 8:53:44 AM10/21/15
to spyder
Hello everyone,
I'm a graduate physics student and am rather new to Python and programming in general.
For my research I'm running simulations which I've learnt to write in Python.
I use Spyder as my IDE and am working on a Windows 7 PC (with an i7 processor and 16GB RAM).
I'm running many IPython Consoles off of my computer at the same time and the runtime of my simulations is often quite long (few hours to few days each).

I have access to an on-campus Linux Ubuntu 10.04.4 LTS server which I can use. The problem is that our computer person doesn't know how I can use it and neither do I.

Is there a simple way which would allow me to write me code on my Windows PC, use the server only to run my code?

Any help would be greatly appreciated,
Asaf Miron

Andy Anderson

unread,
Oct 22, 2015, 8:11:04 AM10/22/15
to spyder
Hi, Asaf,

Here’s what we do: turn on Samba on the Linux side and share appropriate disks, then map (mount) them locally on your Windows computer. Then they will appear in your file browser and you can just copy them over. You can continue to edit them and test them as if they were local while they are on the mapped disk.

As far as running them is concerned, the simplest possibility is to install an ssh client on your PC and then use that to log in to the Linux computer and run your scripts, e.g. from the iPython console:

!! ssh linux-host-name python script

— Andy

Weimin D.

unread,
Apr 12, 2016, 11:12:44 AM4/12/16
to spyder
Try browser-based Rodeo. 



On Wednesday, October 21, 2015 at 8:53:44 AM UTC-4, Asaf Miron wrote:

Ariel Balter

unread,
Nov 21, 2016, 5:11:22 PM11/21/16
to spyder
Can you please point me to information about browser-based Rodeo? It sounds interesting. I can't find anything at the Rodeo website.

http://blog.yhat.com/posts/introducing-rodeo.html
Reply all
Reply to author
Forward
0 new messages