Please get Gateway account before following this material
Please note that this material makes sense only in case you have already requested and gotten access to Gateway machine. Details can be found here
https://wiki.eufus.eu/doku.php
1. Logging in into Gateway
The easiest way to log in to Gateway account is to use NoMachine NX client. You can download it here: https://www.nomachine.com
Once you have installed NoMachine NX you can follow the steps here: Remote Access with NX
NoMachine NX provides you with a virtual desktop running on computing node. You can detach from the session and attach it agin later on - as long as NX services are running on server side.
Another way of connecting to Gateway is using SSH
- this is convenient for people who spend most of their time in Terminal
- you can use exactly the same credentials as in case of NoMachine NX. You can find details related to using SSH
at following location: Remote access with SSH
2. Setting IMAS environment
The easies way of setting up the environment is to load imasenv
module. This can be done following way
module load imasenv
3. Access Layer - Hig Level Interface examples
Once logged in on Gateway (after loading imasenv
) you can easily find examples of codes based on IMAS by looking inside: /gw/swimas/core/installer/src/${IMAS_VERSION}/ual/${UAL_VERSION}/examples
> module load imasenv > cd /gw/swimas/core/installer/src/${IMAS_VERSION}/ual/${UAL_VERSION}/examples
Very useful link to the Access Layer documentation (contains a lot of useful information): https://docs.psnc.pl/download/attachments/70879083/PDM_UserGuide_20210609.pdf?version=1&modificationDate=1631774904122&api=v2
4. Hands on on the environment settings and simple test.
This work has been carried out within the framework of the EUROfusion Consortium, funded by the European Union via the Euratom Research and Training Programme (Grant Agreement No. 101052200—EUROfusion). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them. The scientific work is published for the realization of the international project co-financed by Polish Ministry of Science and Higher Education in 2021 from financial resources of the program entitled "PMW” 5218/HEU - EURATOM/2022/2