Jean Zay: Access and shells

Access to the machines

Jean Zay:

Connection to the Jean Zay front end is done by ​ssh from a machine registered at IDRIS:

$ ssh [email protected]

followed by entering your password if you have not configured the ​ssh key.

The jean-zay front end is the only machine which is visible and directly accessible by the users and offers the following functionalities: interactive connection, compilation for the other nodes of the cluster; preparation, submission and monitoring of your jobs with the Slurm batch manager. Parallel jobs must be executed from the front end via the ​Slurm batch manager.

Jean Zay pre- and post-processing:

Interactive connection to the pre-/post-processing front end is done by ssh from a machine registered at IDRIS:

$ ssh [email protected]

followed by entering your password if you have not configured the ssh key.

The pre-/post-processing architecture installed at IDRIS consists of four HPE machines: each equipped with 3 TiB of memory, two Intel Cascade Lake 6132 12-core processors and a Nvidia V100 GPU. The ​jean-zay-pp​ front end offers the following functionalities: interactive connection, compilation, preparation; submission and monitoring of your jobs with the ​Slurm batch manager.

To use the pre- and post-processing nodes in batch, it is sufficient to specify the prepost partition when preparing a job, whether you are using the jean-zay or the jean-zay-pp front end.

Connection by SSH key

Connections using a pair of SSH keys (private key / public key) are possible on Jean Zay.

ATTENTION: We plan to strengthen our security policy regarding access to the jean-zay machine. Therefore, we ask you to test, as of now, the usage of certificates for your SSH connections instead of the usual SSH key pairs (private key / public key) by following the procedures detailed here.

SSH connection with certificate

With the objective of reinforcing the security when accessing Jean Zay, we ask you to test the usage of certificates for your SSH connections instead of the usual SSH keys (private key/public key). The creation and usage of certificates are done by respecting the procedures detailed here.

During the test phase, connections via classic SSH keys will remain possible. Please let us know of any problems you may encounter with the usage of certificates.

Managing the environment

Your ​$HOME space is common to all the Jean-Zay front ends.​ Consequently, every modification of your personal environment files is automatically applied on all the machines.

What shells are available on the IDRIS machines?

The Bourne Again shell (bash) is the only command-line interpreter supported as login shell on the IDRIS machines: IDRIS does not guarantee that the user environment by default will be correctly defined with the other shells. The bash is an important evolution of the Bourne shell (formerly sh) with advanced functionalities. However, other command-line interpreters (​ksh,​ ​tcsh,​ ​csh​) are also installed on the machines to allow the execution of scripts using these shells.

Which environment files are invoked during the launching of a login session in bash?

The .bash_profile, if it exists in your HOME, is executed at the login only one time per session. If not, it is the .profile file which is executed, if it exists. It's in one of these files that we place the environment variables, the programs to be launched at the connection. The definition of the aliases, the personal functions and the module loading are to be placed in the .bashrc file which is run at the launching of each sub-shell.

It is preferable to use only one environment file: .bash_profile or .profile. Caution: Overwriting the PATH variable inevitably leads to major problems. For this reason, it is always advised to keep the PATH provided by the machine. If you wish to add a research directory for the execution of local commands during all your future sessions, you must proceed in the following way in your .bash_profile or .profile :

$ export PATH=$PATH:directory_to_add

How is a user-friendly environment defined in bash?

The bash proposes two edition modes: You may choose the mode you prefer by using the set command:

$ set -o emacs # to be in emacs mode
$ set -o vi # to be in vi mode