<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.10/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.10/ http://www.mediawiki.org/xml/export-0.10.xsd" version="0.10" xml:lang="en">
  <siteinfo>
    <sitename>UFAL AIC</sitename>
    <dbname>mediadb</dbname>
    <base>https://aic.ufal.mff.cuni.cz/index.php/Main_Page</base>
    <generator>MediaWiki 1.32.1</generator>
    <case>first-letter</case>
    <namespaces>
      <namespace key="-2" case="first-letter">Media</namespace>
      <namespace key="-1" case="first-letter">Special</namespace>
      <namespace key="0" case="first-letter" />
      <namespace key="1" case="first-letter">Talk</namespace>
      <namespace key="2" case="first-letter">User</namespace>
      <namespace key="3" case="first-letter">User talk</namespace>
      <namespace key="4" case="first-letter">UFAL AIC wiki</namespace>
      <namespace key="5" case="first-letter">UFAL AIC wiki talk</namespace>
      <namespace key="6" case="first-letter">File</namespace>
      <namespace key="7" case="first-letter">File talk</namespace>
      <namespace key="8" case="first-letter">MediaWiki</namespace>
      <namespace key="9" case="first-letter">MediaWiki talk</namespace>
      <namespace key="10" case="first-letter">Template</namespace>
      <namespace key="11" case="first-letter">Template talk</namespace>
      <namespace key="12" case="first-letter">Help</namespace>
      <namespace key="13" case="first-letter">Help talk</namespace>
      <namespace key="14" case="first-letter">Category</namespace>
      <namespace key="15" case="first-letter">Category talk</namespace>
    </namespaces>
  </siteinfo>
  <page>
    <title>Main Page</title>
    <ns>0</ns>
    <id>1</id>
    <revision>
      <id>139</id>
      <parentid>137</parentid>
      <timestamp>2026-03-21T19:07:31Z</timestamp>
      <contributor>
        <username>Straka</username>
        <id>7</id>
      </contributor>
      <comment>/* Access */</comment>
      <model>wikitext</model>
      <format>text/x-wiki</format>
      <text xml:space="preserve" bytes="3669">&lt;div style='text-align: center;'&gt;CZ.02.2.69/0.0/0.0/17_044/0008562&lt;/div&gt;
&lt;div style='text-align: center;'&gt;Podpora rozvoje studijního prostředí na Univerzitě Karlově - VRR&lt;/div&gt; 
[[File:OP_VVV_logo.jpg|frameless|center|upright=2.5]]

== Welcome to AIC ==

AIC (Artificial Intelligence Cluster) is a computational grid with sufficient computational capacity for research in the field of [https://en.wikipedia.org/wiki/Deep_learning deep learning] using both CPU and GPU. It was built on top of [https://slurm.schedmd.com/ SLURM] scheduling system. MFF students of Bc. and Mgr. degrees can use it to run their experiments and learn the proper ways of grid computing in the process.

=== Access ===
AIC is dedicated to UFAL students who will get an account if requested by authorized lector.

To change the password, this link is available: https://aic.ufal.mff.cuni.cz/pw-manager

There is a restriction on resources allocated by one user in group &lt;code&gt;students&lt;/code&gt; at a given time.
By default, this is set to a maximum of 30 CPUs and 2 GPUs.

=== Jupyterlab ===
AIC provides also Jupyterlab portal on top of your AIC account and HOME directory. It can be found at https://aic.ufal.mff.cuni.cz/jlab . Pre-installed extensions: R, ipython, Rstudio (community), Slurm Queue Manager.

=== Connecting to the Cluster (directly) ===
Use SSH to connect to the cluster:
  ssh LOGIN@aic.ufal.mff.cuni.cz

===== SSH key fingerprints =====
&lt;pre&gt;
256 SHA256:swUTOKfIaSDevXnO9MS6OIqtc71ra7/fvBiG9tHqXJA (ECDSA)
256 SHA256:aba/fvUgJEOz8ERPYDtsu8hOkboitkKSBgTVFcgFLF4 (ED25519)
1024 SHA256:fh1CjkMk04SMNl2+wxPSLuVsNMpuJs+XMoNCNvCkqdU (DSA)
2048 SHA256:JOOHAvJ7jctdzPtPtOEZ+8JFltbv4RpiJm76mBHAjjc (RSA)
&lt;/pre&gt;

=== Basic HOWTO ===

The following HOWTO is meant to provide only a simplified overview of the cluster usage. It is strongly recommended to read some further documentation ([[Submitting_CPU_Jobs|CPU]] or [[Submitting_GPU_Jobs|GPU]]) before running some serious experiments.
More serious experiments tend to take more resources. In order to avoid unexpected failures please make sure your [[Quotas|quota]] is not exceeded.

'''Rule 0: NEVER RUN JOBS DIRECTLY ON aic.ufal.mff.cuni.cz HEADNODE. Use &lt;code&gt;srun&lt;/code&gt; to get computational node shell!'''

Suppose we want to run some computations described by a script called &lt;code&gt;job_script.sh&lt;/code&gt;:

 #!/bin/bash
 #SBATCH -J helloWorld					  # name of job
 #SBATCH -p cpu 	 		       		  # name of partition or queue (default is cpu)
 #SBATCH -o helloWorld.out				  # name of output file for this submission script
 #SBATCH -e helloWorld.err				  # name of error file for this submission script
 # run my job (some executable)
 sleep 5
 echo "Hello I am running on cluster!"

We need to ''submit'' the job to the cluster which is done by logging on the submit host &lt;code&gt;aic.ufal.mff.cuni.cz&lt;/code&gt; and issuing the command:&lt;br&gt;
&lt;code&gt;sbatch job_script.sh&lt;/code&gt;

This will enqueue our ''job'' to the default ''partition'' (or ''queue'') which is &lt;code&gt;cpu&lt;/code&gt;. The scheduler decides which particular machine in the specified queue has ''resources'' needed to run the job. Typically we will see a message which tells us the ID of our job (3 in this example):

 Submitted batch job 3

The options used in this example are specified inside the script using the ''#SBATCH'' directive. Any option can be specified either in the script or as a command line parameter (see ''man sbatch'' for details).

We can specify custom arguments '''before''' the name of the script:

 sbatch --export=ARG1='firstArg',ARG2='secondArg' job_script.sh

These can be accessed in the job script as &lt;code&gt;$ARG1&lt;/code&gt; and &lt;code&gt;$ARG2&lt;/code&gt;.</text>
      <sha1>jewacrxmwv1p6pjqctjpbx5mllu0whw</sha1>
    </revision>
  </page>
</mediawiki>
