use python to log to a remote supercomputer and transfer files

MRAB python at mrabarnett.plus.com
Mon May 7 16:33:09 EDT 2018


On 2018-05-07 13:29, 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?
> 
> 
> Thanks and best wishes,
> 
There are some examples about scripting in WinSCP here:

https://winscp.net/eng/docs/scripting



More information about the Python-list mailing list