[Tutor] use python to log to a remote supercomputer and transfer files

Mats Wichmann mats at wichmann.us
Mon May 7 11:28:26 EDT 2018

On 05/07/2018 05:53 AM, ruiyan wrote:
> Hello everyone, 
> I need to conduct massive simulation computations using a software called 'lammps' on a remote supercomputer whose operating system is Linux every day. It's extremely annoying to log to the remote supercomputer,  upload files to and download files from the supercomputer using WinSCP and Putty on my windows desktop computer. I want to know whether it is possible to write some scripts and let python do these things for me, i.e., I want to log to the remote supercomputer automatically, upload and download files with a simple hit in python (of course with the files specified). Is this possible? If it is possible, which packages do I need? 

There are lots of methods for this.  If you're already using Putty, you
probably want to continue using ssh protocol, so you can look into a
Python package called Paramiko.

More information about the Tutor mailing list