File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 22/.vscode
33* .cache
44* .code-workspace
5+ miscs /apptainer /vortex.sif
Original file line number Diff line number Diff line change 11# Apptainer Build Process
22
3- Use the Slurm scheduler to request an interactive job on Flubber9
3+ Use the Slurm scheduler to request an interactive job on Flubber1
44```
5- salloc -p rg-fpga --nodes=1 --ntasks-per-node=64 --mem=16G --nodelist flubber9 --time=01 :00:00
5+ salloc -p rg-fpga --nodes=1 --ntasks-per-node=16 --mem=16G --nodelist flubber1 --time=08 :00:00
66```
77
88Go to ` apptainer ` directory
@@ -96,7 +96,7 @@ Apptainer> verilator --version
9696Verilator 5.026 2024-06-15 rev v5.026-43-g065f36ab5
9797
9898Apptainer> cd hw/syn/xilinx/xrt
99- Apptainer> PREFIX=test1 PLATFORM=xilinx_u50_gen3x16_xdma_5_202210_1 TARGET=hw NUM_CORES=1 make > build_u50_hw_1c.log 2>&1 &
99+ Apptainer> PREFIX=test1 PLATFORM=xilinx_u50_gen3x16_xdma_5_202210_1 TARGET=hw NUM_CORES=1 make JOBS=<number of cores allocated> > build_u50_hw_1c.log 2>&1 &
100100Creates ../test1_xilinx_u50_gen3x16_xdma_5_202210_1_hw/bin/vortex_afu.xclbin
101101```
102102
@@ -108,8 +108,8 @@ Apptainer> pwd
108108
109109Apptainer> make -C runtime/ clean
110110
111- Apptainer> FPGA_BIN_DIR=hw/syn/xilinx/xrt/test1_xilinx_u50_gen3x16_xdma_5_202210_1_hw/bin TARGET=hw PLATFORM=xilinx_u50_gen3x16_xdma_5_202210_1 ./ci/blackbox.sh --driver=xrt --app=demo
111+ Apptainer> FPGA_BIN_DIR=/home/vortex/build/ hw/syn/xilinx/xrt/test1_xilinx_u50_gen3x16_xdma_5_202210_1_hw/bin TARGET=hw PLATFORM=xilinx_u50_gen3x16_xdma_5_202210_1 ./ci/blackbox.sh --driver=xrt --app=demo
112112
113113Verify following line being printed:
114114info: device name=xilinx_u50_gen3x16_xdma_base_5, memory_capacity=0x200000000 bytes, memory_banks=32.
115- ```
115+ ```
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ From: ubuntu:22.04
4444 openjdk-11-jre-headless libcairo2 librsvg2-2 librsvg2-common \
4545 openjdk-11-jre-zero libtheora0 libavcodec58 libcairo-gobject2 \
4646 ca-certificates-java libchromaprint1 software-properties-common perl-modules bzip2 \
47- unzip zlib1g-dev libtinfo5 g++ usbutils gawk bison gcc make tar python3.9 locales zstd uuid-dev ccache || true
47+ unzip zlib1g-dev libtinfo5 g++ usbutils pciutils gawk bison gcc make tar python3.9 locales zstd uuid-dev ccache \
48+ libboost-filesystem1.74.0 libboost-program-options1.74.0 libboost-system1.74.0 libboost-chrono1.74.0 libboost-thread1.74.0 environment-modules || true
4849
4950 ln -s /usr/bin/python3 /usr/bin/python
5051
@@ -97,4 +98,4 @@ From: ubuntu:22.04
9798 locale
9899 lsusb || echo "lsusb not available"
99100 ls -l /dev/null
100- echo "Container test successful!"
101+ echo "Container test successful!"
You can’t perform that action at this time.
0 commit comments