From 2ab77743d9f93822ba8857c0d7ff3cb32804af54 Mon Sep 17 00:00:00 2001 From: Bram Veenboer <bram.veenboer@gmail.com> Date: Thu, 10 Aug 2023 11:34:46 +0200 Subject: [PATCH] Update README --- README.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 91d876d..405b560 100644 --- a/README.md +++ b/README.md @@ -11,15 +11,7 @@ _Astronomy and Astrophysics_, 656(A32), pages 1-4, December 2021). ## Brief overview on how to use the Tensor-Core Correlator library: -Clone the repository (`git clone https://git.astron.nl/RD/tensor-core-correlator.git`) - -Build the library: -``` -mkdir build-$(arch) -cd build-$(arch) -cmake .. -make -``` +Clone the and build the repository, see below. Include `libtcc/Correlator.h`, and link with `libtcc/libtcc.so`. Create a `tcc::Correlator` object with the number of receivers, channels, etc. @@ -72,6 +64,10 @@ Limitations: (i.e., 32, 16, or 8 for 4-bit, 8-bit, or 16-bit input, respectively). ## Building, testing, and installation +Clone the repository: +```bash +git clone https://git.astron.nl/RD/tensor-core-correlator.git +``` To build and install the project, run: ```bash @@ -94,9 +90,11 @@ make -C build make -C build test ``` The tests require a GPU. -On the DAS cluster you can request a GPU node and run the tests with the command: +On the DAS-6/ASTRON cluster you can request a GPU node and run the tests with the command: ```bash -srun -N 1 -C gpunode --gres=gpu:1 make -C build test +srun -N 1 --gres=gpu:A4000:1 make -C build test ``` +Note that in the command above a node with a NVIDIA A4000 GPU is requested, because the tests require a GPU that has tensor cores. + Contact John Romein (romein@astron.nl) to report bugs/feedback -- GitLab