...
This session will cover following topics
Info | ||
---|---|---|
| ||
|
...
|
1. Connecting to remote working space
1.1 Connecting to ITER cluster
You will probably want to use an SSH client that supports remote X for graphical environment. The host hpc-login4.iter.org supports NX clients such as NoMachine whilst you can connect to hpc-app1.iter.org with X2go.
You can use your ITER username and password, which is the same for the collaborative websites
1.2
...
Connection to the EUROfusion Gateway
In order to use Gateway, you have to meet following requirements:
- You have to have Gateway account (in case you don't have one, you have to request it) - refer to this link
- You have to install NX client
Note | ||
---|---|---|
|
...
|
...
|
...
Gateway specific configuration of NX can be found here: here |
...
2.Setting IMAS
1.1. Setting IMAS @ EUROfusion Gateway
You can switch to IMAS environment using:
Code Block |
---|
module load imasenv
imasdb <machine_name> |
...
Loading all the IMAS modules. You will get access to libraries and most commonly used tools (FC2K, Kepler, Matlab interfaces, Python interfaces, etc.)
...
2.1. Setting IMAS @ ITER Cluster
The fastest way to setup the environment for Kepler, IMAS and all the other dependencies is to load kepler module
Code Block |
---|
module load fc2k kepler |
Please
...
1.2. Setting IMAS @ ITER cluster
Please follow this >link< to get detailed instructions how to set-up IMAS environment on ITER cluster
3. Setting up tutorial environment
Warning |
---|
Make sure to initialize database structure. Simply follow the steps below. |
2.2. Setting IMAS @ EUROfusion Gateway
You can switch to IMAS environment using:
Code Block |
---|
module load imasenv
|
2.3. Setting IMAS @ JET (Freia)
You can switch to IMAS environment using:
Code Block | ||
---|---|---|
| ||
module load imas-modules # add all imas modules to module path
module load imas/3.17.1 # or other version of your choice; default is older
module swap mdsplus/7.7.11 # the default version 6.1 loaded by JAC module is too slow with IMAS
module load pyual |
The JET installation is maintained by Jonathan Hollocombe.
3. Database initialization
In order to work with MDSPlus database you have to create and initialize MDSPlus database structure (details can be found here). This can be done by issuing following command:
Code Block |
---|
imasdb <machine_name>
e.g.:
imasdb test |
4. Getting tutorial sources and input data
4.1. Copying examples
Copy tutorial examples. You can install them by issuing following command from Terminal.
4.1.1 IMAS @ ITER
|
4.1.2 IMAS @ EUROfusion Gateway
|
4.2. Copying input data
Copy data files used throughout the tutorial:
4.2.1 IMAS @ ITER
|
4.2.2 IMAS @ EUROfusion Gateway
|
4.3. Set TUTORIAL_DIR variable
4.3.1 IMAS @ ITER
shell> export TUTORIAL_DIR=$HOME/tutorials/2018-03-ITER
4.3.2 IMAS @ EUROfusion Gateway
shell> setenv TUTORIAL_DIR $HOME/tutorials/2018-03-ITER
5. Java memory settings
Please do not forget to set JAVA memory settings:
Code Block |
---|
export _JAVA_OPTIONS="-Xss20m -Xms1g -Xmx4g" |