oph:cluster:startupguide
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
oph:cluster:startupguide [2023/04/12 18:49] – [Problems and Troubleshooting] carlo.cintolesi@unibo.it | oph:cluster:startupguide [2025/02/10 11:29] (versione attuale) – aggiornato indirizzo IP del frontend mario.petroli@unibo.it | ||
---|---|---|---|
Linea 7: | Linea 7: | ||
To access the cluster, two things are required: that you have an Unibo account (of the type // | To access the cluster, two things are required: that you have an Unibo account (of the type // | ||
- | Once authorised, could access the cluster via an ssh protocol. The required password is that one of your university e-mail. From the Linux terminal, type the following instruction: | + | Once authorised, |
- | | + | ssh name.surname00@137.204.165.41 |
- | * if you are a **staff member**: '' | + | (you can use any other ophfeX address instead of 137.204.165.41) |
- | Once logged-in, you will be landed | + | Once logged in, you will land on the [[oph: |
<WRAP center round alert 60%> | <WRAP center round alert 60%> | ||
- | Do not use the Frontend to execute | + | Do not use the Frontend to execute |
</ | </ | ||
- | ===== Setup the Environme | + | ===== Setup the Environment |
The first time you access the cluster, you must set up your working environment. Here are a few tips to help you manage your account and data correctly. In particular, attention must be paid to the correct use of data storage areas, see [[oph: | The first time you access the cluster, you must set up your working environment. Here are a few tips to help you manage your account and data correctly. In particular, attention must be paid to the correct use of data storage areas, see [[oph: | ||
Linea 24: | Linea 24: | ||
==== Working storage area: /home ==== | ==== Working storage area: /home ==== | ||
- | At the first connection to the cluster, the system automatically generates a folder for you in the ''/ | + | At the first connection to the cluster, the system automatically generates a folder for you in the ''/ |
- | You can manage the data in this folder directly from the Frontend and to your liking, as long as you limit the storage space used and the number of files saved. | + | You can manage the data in this folder directly from the Frontend and to your liking, as long as you limit the storage space used. |
==== Data storage area: /scratch ==== | ==== Data storage area: /scratch ==== | ||
Linea 34: | Linea 34: | ||
Create your own folder in ''/ | Create your own folder in ''/ | ||
- | mkdir -p /scratch/atmos/ | + | mkdir -p /scratch/astro/ |
Then create the symbolic link in the folder accessible from the Frontend: | Then create the symbolic link in the folder accessible from the Frontend: | ||
- | ln -s /scratch/atmos/ | + | ln -s /scratch/astro/ |
in this way, when you access the Frontend, you will immediately find a folder named '' | in this way, when you access the Frontend, you will immediately find a folder named '' | ||
Linea 44: | Linea 44: | ||
<WRAP center round alert 60%> | <WRAP center round alert 60%> | ||
- | The /scratch area cannot handle folders with a large number of files. Data folders in this area must be compacted into archives (e.g., .tgz or .zip) unless in imminent use. | + | The /scratch area cannot handle folders with a large number of files. Data folders in this area must be compacted into archives (e.g., .tgz or .zip). |
</ | </ | ||
- | **Please pay attention to this policy**: | + | **Please pay attention to this policy**: the stable number of files saved in /scratch shall not exceed a few thousand per user. Otherwise, the system becomes incredibly slow and unstable. Periodic checks on the number of files of each user are carried out automatically. |
+ | **Note to student supervisors **: Once you have created the data write folder for your students, you can request read and write rights to access the files through '' | ||
===== Run a Job ===== | ===== Run a Job ===== | ||
- | The job executed (in parallel or serial) on the cluster | + | The job executed (in parallel or serial) on the cluster |
The submission of a job is done via a bash-type script, consisting of: the header with metadata for users, the execution settings (e.g. number of processors, memory, execution time), the modules and the executable to be run. See the section [[oph: | The submission of a job is done via a bash-type script, consisting of: the header with metadata for users, the execution settings (e.g. number of processors, memory, execution time), the modules and the executable to be run. See the section [[oph: | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | An example job script with comments can be downloaded here and adapted to personal | + | An example job script with comments can be downloaded here and adapted to personal |
</ | </ | ||
To run the job, the script has to be submitted by: | To run the job, the script has to be submitted by: | ||
- | sbatch runParallel.sh | + | sbatch runParallel.sh |
The output of the job execution is redirected into two files: '' | The output of the job execution is redirected into two files: '' | ||
Linea 71: | Linea 71: | ||
* '' | * '' | ||
+ | |||
* '' | * '' | ||
+ | |||
* '' | * '' | ||
Linea 80: | Linea 82: | ||
The cluster management requires quite a lot of time and energy at this stage. The management team kindly asks not to contact the technical administrators except for urgent matters or serious problems (which do not allow work to continue). Reports of malfunctions may be sent without guarantee of an immediate response. | The cluster management requires quite a lot of time and energy at this stage. The management team kindly asks not to contact the technical administrators except for urgent matters or serious problems (which do not allow work to continue). Reports of malfunctions may be sent without guarantee of an immediate response. | ||
- | * For information on accounting and cluster access problems, please contact the contact | + | * For information on accounting and cluster access problems, please contact the [[oph: |
- | * For problems accessing memory and executing jobs on the cluster, contact the technical administrator Diego Zuccato | + | * For problems accessing memory and executing jobs on the cluster, contact the system administrators at '' |
The technical administrators do not offer assistance for problems related to the use of Slurm (see [[https:// | The technical administrators do not offer assistance for problems related to the use of Slurm (see [[https:// | ||
- | Thank you for understanding. | + | Thank you for your cooperation and understanding. |
oph/cluster/startupguide.1681325352.txt.gz · Ultima modifica: 2023/04/12 18:49 da carlo.cintolesi@unibo.it