From 4c96c6fa1e6843763d154d31d3632417873734d6 Mon Sep 17 00:00:00 2001 From: Hamidreza Date: Wed, 30 Apr 2025 19:01:51 +0330 Subject: [PATCH] test --- doc/mdDocs/howToBuild-V1.0.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/mdDocs/howToBuild-V1.0.md b/doc/mdDocs/howToBuild-V1.0.md index 3e3bbe78..7d42ec3b 100644 --- a/doc/mdDocs/howToBuild-V1.0.md +++ b/doc/mdDocs/howToBuild-V1.0.md @@ -5,26 +5,29 @@ You can build PhasicFlow for CPU or GPU. You can have a single build or oven mul If you want to install PhasicFlow on **Windows OS**, just see [this page](https://www.cemf.ir/installing-phasicflow-v-1-0-on-ubuntu/) for more information. # Required packages + You need a list of packages installed on your computer before building PhasicFlow: + * git, for cloning the code and package management * g++, for compiling the code * cmake, for generating build system * Cuda-12.x or above (if GPU is targeted), for compiling the code for CUDA execution. - ### Installing packages -Execute the following commands to install the required packages (Except Cuda). tbb is installed automatically. + +Execute the following commands to install the required packages (Except Cuda). tbb is installed automatically. ```bash sudo apt update sudo apt install -y git g++ cmake cmake-qt-gui ``` - ### Installing Cuda for GPU execution -If you want to build PhasicFlow to be executed on an nvidia-GPU, you need to install the latest version of Cuda compiler (Version 12.x or above), which is compatible with your hardware and OS, on your computer. + +If you want to build PhasicFlow to be executed on an nvidia-GPU, you need to install the latest version of Cuda compiler (Version 12.x or above), which is compatible with your hardware and OS, on your computer. # How to build? + Here you will learn how to build PhasicFlow for single execution mode. Follow the steps below to install it on your computer. Tested operating systems are: * Ubuntu-22.04 LTS @@ -111,6 +114,7 @@ cmake ../ -DpFlow_Build_Cuda=On -DpFlow_Build_Double=Off ``` ### Step 5: Testing + In the current terminal or a new terminal enter the following command: ```bash @@ -118,6 +122,7 @@ checkPhasicFlow ``` This command shows the host and device environments and software version. If PhasicFlow was build correctly, you would get the following output: + ``` Initializing host/device execution spaces . . . Host execution space is Serial