How to Build the Project¶
Step-by-Step Instructions¶
Assuming you already have the project available locally and your Docker container is running with /workspace
set as the project root, follow these steps to build the project:
-
Navigate to the Project Root:
Ensure you are in the project root directory (i.e.,
/workspace
). You can verify this by running:It should display
/workspace
(the project root). -
Run the Build Script:
From the project root, execute the build script to configure and compile the project:
This script will:
- Create a build directory
- Change into the build directory.
- Run CMake to generate the build system.
- Invoke make to compile the source code into executables.
- Return you to the project root once the build is complete.
-
Run the Executables:
You can now run the executables using the
run
command from anywhere. For example:-
Compare the serial implementation with the OpenMP implementation:
-
Compare the serial implementation with the MPI implementation:
-