English | Chinese
By Qianyu Cheng (qycheng@mail.ustc.edu.cn)
Note: Tutorial in Chinese is here!!!
- Security
- Disable
sudofor all users (exceptubuntu) - ❌ Isolate bare-metal environment from clients by
headnode. - Allocate, execute and deallocate the environment in container mode (based on our scripts)
env_alloc [-d <DeviceID[,...]>] [-s] [-p] [-i <Image>] [-v <Toolchain=20xx.x>] # allocate env_exec # execute env_dealloc # deallocate
- Reserve data in
/datadirectory of the container only (i.e./home/$USERdirectory of host) - User creation script (
sudopermission needed)/home/ubuntu/new_user_init.sh <username>
- Disable
- Resource Management
- Allocate FPGA cards (
-d DeviceID,...) - Shared/exclusive allocation (with
-sor without-s) - Release FPGA cards with timers (after 2 hours)
- Allocate FPGA cards (
- Service
Portainer(Web-based container management) support (https://<IP>:2000)- Multi-version environment switched by
-v - Create an extended environment by
Dockerfilefromvitis:mainenvironment Jupyter Lab(Python IDE) (-p) andX11 Forwarding(GUI) support- Automatic port forwarding in
<IP>:2001-2010