"vscode:/vscode.git/clone" did not exist on "5b9b5cc8bf0cbecf16e065af2b62561ce1bcac88"
Unverified Commit 4bbd7f51 authored by Ziyue Yang's avatar Ziyue Yang Committed by GitHub
Browse files

Benchmarks: Build Pipeline - Add FIO benchmark tool (#127)

**Description**
Add FIO benchmark tool into third-party dependency.

**Major Revision**
- Add FIO submodule into third-party directory and modify Makefile to enable it.
parent 419dea26
...@@ -8,3 +8,7 @@ ...@@ -8,3 +8,7 @@
[submodule "third_party/nccl-tests"] [submodule "third_party/nccl-tests"]
path = third_party/nccl-tests path = third_party/nccl-tests
url = https://github.com/NVIDIA/nccl-tests.git url = https://github.com/NVIDIA/nccl-tests.git
[submodule "third_party/fio"]
path = third_party/fio
url = https://github.com/axboe/fio.git
branch = master
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
SB_MICRO_PATH ?= "/usr/local" SB_MICRO_PATH ?= "/usr/local"
MPI_HOME_PATH ?= "/usr/local/mpi" MPI_HOME_PATH ?= "/usr/local/mpi"
.PHONY: all cutlass bandwidthTest nccl_tests perftest .PHONY: all cutlass bandwidthTest nccl_tests perftest fio
# Build all targets. # Build all targets.
all: cutlass bandwidthTest nccl_tests perftest all: cutlass bandwidthTest nccl_tests perftest fio
# Create $(SB_MICRO_PATH)/bin and $(SB_MICRO_PATH)/lib, no error if existing, make parent directories as needed. # Create $(SB_MICRO_PATH)/bin and $(SB_MICRO_PATH)/lib, no error if existing, make parent directories as needed.
sb_micro_path: sb_micro_path:
...@@ -49,3 +49,8 @@ ifneq (,$(wildcard perftest/autogen.sh)) ...@@ -49,3 +49,8 @@ ifneq (,$(wildcard perftest/autogen.sh))
cd perftest && ./autogen.sh && ./configure CUDA_H_PATH=/usr/local/cuda/include/cuda.h --prefix=$(SB_MICRO_PATH) && make -j && make install cd perftest && ./autogen.sh && ./configure CUDA_H_PATH=/usr/local/cuda/include/cuda.h --prefix=$(SB_MICRO_PATH) && make -j && make install
endif endif
# Build FIO from commit 0313e9 (fio-3.27 tag).
fio:
ifneq (,$(wildcard fio/Makefile))
cd ./fio && ./configure --prefix=$(SB_MICRO_PATH) && make -j && make install
endif
Subproject commit 0313e938c9c8bb37d71dade239f1f5326677b079
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment