Let us explore the ECaccess Web Toolkit and ECaccess services. The web Toolkit can be installed on your local system; it is also available at ECMWF on ECS or HPC.
Is the Toolkit available to you?
In a terminal on ECS or HPC, try the following commands:
|
In a local terminal or on some of your servers, try the following command:
If the command is not found, you may need to update the PATH to point to the Web Toolkit, or may have to install the Toolkit locally. |
Optional: if you use the Web Toolkit at your local site, you will first need to create a valid certificate:
In a local terminal at your local site, try to run the command:
Either you will see the duration of validity of the different components of the Toolkit or you will be informed that there is no valid certificate found and you will be asked to create one:
Note that you will need to use the TOTP service to authenticate yourself to generate the Toolkit certificate. |
Where do you access the ECaccess web interface?
In a terminal session on ECS or HPC at ECMWF, you can run the command:
This will show you all the ECaccess gateways installed. If you can see one ECaccess gateway installed at your local site, you can point your local browser to its URL. |
You can access the ECaccess web interface on http://boaccess.ecmwf.int/ |
How to access ECMWF via ECaccess through sftp
In a local terminal session at your site you can run the command:
You will see the different ECMWF 'file systems', a.k.a. domains, available to you. |
In a local terminal session at your site you can run the command:
You will see the different ECMWF 'file systems', a.k.a. domains, available to you. |
How to list, upload, remove a file in $SCRATCH
In a terminal session, you can run the commands:
where <local_file> is any file available in your current working directory. |
How to submit, monitor, cancel a job through ECaccess
In a terminal session, you can run the commands:
Where 'my_slurm_job.cmd' is a SLURM job in your current working directory and ECaccess_Job_Id is the ECaccess job ID returned to you when you submitted the job. Note that ECaccess has its own batch job scheduling system. It can submit a job to different computing systems, possibly running different batch workload managers. The command 'ecaccess-queue-list' will show you which computing systems and which batch workload managers are available. |
How to setup an ectrans association?
In a terminal session, either at your local site, if the web Toolkit is installed, or at ECMWF on ECS or HPC, you can run the commands:
You will have to update the main parameters given below, to point to the destination system where you wnat to transfer files to, e.g.:
Note that the login requested is your login on the system (hostName) where you will transfer files to. The Protocol will usually be genericFtp or genericSftp. Once the association is defined, you should push it to the ECaccess gateway with, e.g.:
|
How to use ectrans?
In a terminal session, on ECS or HPC, you can run the commands:
where Ectrans_Id is the ectrans Identifier returned to you, when running ectrans (in asynchronous mode). If the transfer fails, see for what reason it failed. You may need to update the association used and push it back to ECaccess, before restarting the ectrans transfer:
|
How to submit a TC-1 job?
In a terminal session, either at your local site, if the web Toolkit is installed or at ECMWF, on ECS or HPC, you can run the commands:
At ECMWF, you can take a copy of all the sample SLURM jobs, including the realtime meteogram job, with:
You should adapt the sample job to your requirements. Note that you will have to update the SLURM '#SCRATCH -chdir=' directive. You can now submit the job, e.g. with:
The TC-1 job just submitted should be in 'Standby' mode. It will run when the 10-days realtime ENS meteograms for the 12Z run are available. If you no longer want one of your TC-1 jobs to run or if you need to make a correction to the job, you will have to remove the relevant ECaccess job in Standby mode, with 'ecaccess-job-delete'. If wanted, you can then adapt the job and resubmit it. |