You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

This short tutorial explains how to transfer files from ECMWF to Reading University for the workshop.

Before you begin

You must have been given a training account username, beginning with the letters 'troifs' and the security password in order to log into ECMWF computers.

Possible problem

If you see this error message when attempting to connect to cca:

% sftp troifs0@ecaccess.ecmwf.int
Unable to negotiate with 193.61.196.110 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
Couldn't read packet: Connection reset by peer

Make sure you have the following in your $HOME/.ssh/config file (create it if needed):

Host ecaccess.ecmwf.int
  KexAlgorithms=diffie-hellman-group1-sha1
  HostKeyAlgorithms=ssh-dss


Transfer files from ECMWF CCA to classroom PC

OpenIFS runs on the ECMWF Cray computer, called 'cca'. This example shows how to transfer a file or several files from the training account "scratch" directory.

Before you start make sure you are in the correct local directory on the classroom PC at Reading University!

Create the ftp connection using sftp and then navigate to the correct directory:

Retrieve files from cray from scratch directory (replace with your training ID username!)
sftp troifs1@ecaccess.ecmwf.int
Authorized access only.

***************************************************************
   For further information, read the ECaccess documentation at:

   https://software.ecmwf.int/wiki/display/ECAC/ECaccess+Home

   You can also use ECaccess to load & download files from your
   EChome, ECscratch or ECfs directories using the ECaccess FTP
   server:

   ftp://uid@ecaccess.ecmwf.int/

   Please note you must use your UID and ActivID code to login!
***************************************************************

troifs1@140.105.20.128's password:
Connected to ecaccess.ecmwf.int.
sftp> ls
CSOMARS    ECFS       ECHOME     ECHOST     ECJOBS     ECMARS     ECSCRATCH  
ECTMP      TMP
sftp> cd ECHOST
sftp> ls
cca     ecgate
sftp> cd cca
sftp> cd scratch/ectrain/troifs1/myexpt/output
sftp> get mslp.grib
sftp> bye
To transfer more than 1 file at once.. e.g.
sftp> mget mslp_*.grib

Retrieve files from PERM directory

To retrieve files from the $PERM directory on the training account is very similar to the above sequence.

Instead of:

sftp> cd ECHOST/cca/scratch/ectrain/troifs1

use the following pathname:

sftp> cd ECHOST/cca/perm/ectrain/troifs1



  • No labels