6.5. Llebeig cluster installation¶
The OmpSs-2@FPGA releases are automatically installed in the Llebeig cluster. They are available through a module file for each target architecture. This document describes how to load and use the modules to compile an example application. Once the modules are loaded, the workflow in the Llebeig cluster should be the same as in the Docker images.
6.5.1. General remarks¶
- The OmpSs@FPGA toolchain is installed in a version folder under the
/opt/bsc/
directory. - Third-party libraries required to run some programs are installed in the corresponding folder under the
/opt/lib/
directory. - The rest of the software (Xilinx toolchain, modules, etc.) is installed under the
/tools/
directory.
6.5.2. Logging into llebeig¶
Llebeig is accessible from HCA ssh.hca.bsc.es
Alternatively, it can be accessed through the 8412
port in HCA
and ssh connection will be redirected to the actual host:
ssh -p 8412 ssh.hca.bsc.es
Also, this can be automated by adding a llebeig
host into ssh config:
Host llebeig
HostName ssh.hca.bsc.es
Port 8412
6.5.3. Module structure¶
The ompss-2 modules are:
ompss-2/x86_64/*[release version]*
This will automatically load the default Vivado version, although an arbitrary version can be loaded before ompss:
module load vivado/2023.2 ompss-2/x86_64/git
To list all available modules in the system run:
module avail
6.5.4. Build applications¶
To generate an application binary and bitstream, you could refer to Compile OmpSs-2@FPGA programs as the steps are general enough.
Note that the appropriate modules need to be loaded. See Module structure.