Main Page

From UFAL AIC
Revision as of 12:00, 4 June 2019 by Vodrazka (talk | contribs)

Welcome to AIC

AIC (Artificial Intelligence Cluster) is a computational grid with 96 CPU cores, a total of 1536 GB RAM and 16 Nvidia GTX 1080 GPUs. It was built on top of SGE 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

If you need to access AIC please consult your lector.

Basic HOWTO

Suppose we want to run some computations described by a script called job_script.sh:

#!/bin/bash
echo "This is just a test."
echo "printing parameter1: $1"
echo "prinitng parameter2: $2"


We need to submit the job to the grid which is done by logging on the submit host aic.ufal.mff.cuni.cz and issuing the command qsub -cwd -j y job_script.sh Hello World.

This will enqueue our job to the default queue which is cpu.q@*. 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 (82 in this example):

Your job 82 ("job_script.sh") has been submitted

The basic options used in this example are:

  • -cwd - the script is executed in the current directory (the default is your $HOME)
  • -j y - stdout and stderr outputs are merged and redirected to a file (job_script.sh.o82)

We have specified two parameters Hello and World. The output of the script will be located in your $HOME directory after the script is executed. It will be merged with stderr and it should look like this:

AIC:ubuntu 18.04: SGE 8.1.9 configured...                                                                                              
This is just a test.
printing parameter1: Hello
prinitng parameter2: World
======= EPILOG: Tue Jun 4 12:41:07 CEST 2019
== Limits:   
== Usage:    cpu=00:00:00, mem=0.00000 GB s, io=0.00000 GB, vmem=N/A, maxvmem=N/A
== Duration: 00:00:00 (0 s)
== Server name: cpu-node13