Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
habrok:additional_information:faq [2023/03/22 13:02] fokkehabrok:additional_information:faq [2023/04/20 08:59] (current) – [When does my job start?] fokke
Line 10: Line 10:
 </code> </code>
  
-For more detailed information about the performance of your job, see [[habrok:advanced_job_management:job_profiling]]+For more detailed information about the performance of your job, see [[habrok:job_management:checking_jobs#using_jobinfo]]
 ===== How can I test small jobs on the cluster? ===== ===== How can I test small jobs on the cluster? =====
  
Line 22: Line 22:
 ===== How do I install a module in Python? ===== ===== How do I install a module in Python? =====
  
-A few Python modules are already installed on the Peregrine cluster, however if you want to use a module that is not installed yet, you can install it for your own user account. The Peregrine cluster automatically will detect that you have that package installed in your personal directory (/home/username/) where your username is something like "p123456". Installing a module is described on [[peregrine:software_environment:installation_of_extra_applications_or_libraries#python|this page]], but here is an short answer:+A few Python modules are already installed on the Hábrók cluster, however if you want to use a module that is not installed yet, you can install it for your own user account. The Hábrók cluster automatically will detect that you have that package installed in your personal directory (/home/username/) where your username is something like "p123456". Installing a module is described on [[habrok:software_environment:installation_of_extra_applications_or_libraries#python|this page]], but here is an short answer:
  
 <code bash> <code bash>
Line 33: Line 33:
 ===== How do I install a package in R? ===== ===== How do I install a package in R? =====
  
-In order to [[peregrine:software_environment:installation_of_extra_applications_or_libraries#r|install a package in R]], you have to start R in the cluster. This is done by loading the module R, starting R (by typing “R” in the terminal) and install the package as you normally install a package in R. After the installation you can quit R. The Peregrine cluster now will detect that you have this package installed when it is running a job which makes use of that particular package.+In order to [[habrok:software_environment:installation_of_extra_applications_or_libraries#r|install a package in R]], you have to start R in the cluster. This is done by loading the module R, starting R (by typing “R” in the terminal) and install the package as you normally install a package in R. After the installation you can quit R. The Hábrók cluster now will detect that you have this package installed when it is running a job which makes use of that particular package.
  
 ===== How do I know that my job is started or finished? ===== ===== How do I know that my job is started or finished? =====
  
-Depending of the amount of resources that are requested for a job, it can take a while for a job to get started. Therefore, it might be useful to get a notification of when the job is started. It also is very helpful to know when a job is completed if you need the results of the job for further research. With the information of the begin and completion time of a job, a better estimation can be made for running another similar job. An email notification can be requested by adding the following lines to your job script: +Depending of the amount of resources that are requested for a job, it can take a while for a job to get started. Therefore, it might be useful to get a notification of when the job is started. It also is very helpful to know when a job is completed if you need the results of the job for further research. With the information of the begin and completion time of a job, a better estimation can be made for running another similar job. 
- +
-<code> +
-#SBATCH --mail-type=BEGIN,FAIL,END +
-#SBATCH --mail-user=your@email.com +
-</code> +
- +
-These two lines send a mail to the email address provided in the script to notify when a job is started, has failed or finished. Alternatively you can also use the mail type ''ALL'' to be notified of even more status changes. More details can be found on [[peregrine:job_management:scheduling_system#other_job_parameters|this page]].+
  
 ===== How much memory do I need to request in my batch script? ===== ===== How much memory do I need to request in my batch script? =====
Line 55: Line 48:
 ===== Is it possible to provide parameters to the batch script? ===== ===== Is it possible to provide parameters to the batch script? =====
  
-Yes, this is possible. It can be done by simply providing the parameters like ''%%sbatch script.sh parameter1 parameter2%%''. Look [[peregrine:advanced_job_management:passing_parameters_to_a_job_script|here]] for an example with Python.+Yes, this is possible. It can be done by simply providing the parameters like ''%%sbatch script.sh parameter1 parameter2%%''. Look [[habrok:advanced_job_management:passing_parameters_to_a_job_script|here]] for an example with Python.
  
 ===== My password is not being accepted and I get “Access denied” errors when trying to log in. What is wrong? ===== ===== My password is not being accepted and I get “Access denied” errors when trying to log in. What is wrong? =====
Line 86: Line 79:
 </code> </code>
  
-When your requested resources are available to you, your job is started. You can add the following line in your batch script to get notified by email when your job has started and ended: +When your requested resources are available to you, your job is started.
- +
-<code> +
-#SBATCH --mail-type=BEGIN,FAIL,END +
-#SBATCH --mail-user=some@user.com +
-</code>+
  
-Some more information about your position in the queue and the estimated start time of your job can be found [[peregrine:advanced_job_management:job_prioritization|here]].+Some more information about your position in the queue and the estimated start time of your job can be found [[habrok:advanced_job_management:job_prioritization|here]].
  
 ===== Why does it take long for my job to start? ===== ===== Why does it take long for my job to start? =====
  
-The Peregrine cluster uses a priority queue. When you submit a lot of jobs, your priority decreases. This way, other users also get their share of the cluster. How this prioritization is done, can be found [[peregrine:advanced_job_management:job_prioritization|here]].+The Hábrók cluster uses a priority queue. When you submit a lot of jobs, your priority decreases. This way, other users also get their share of the cluster. How this prioritization is done, can be found [[habrok:advanced_job_management:job_prioritization|here]].
  
 ===== Why is my job in state PD (pending) with reason QOSGrpCpuLimit? ===== ===== Why is my job in state PD (pending) with reason QOSGrpCpuLimit? =====