Exercises for the Numerical Simulation Laboratory course (year: 2021/2022).
To compile a single exercise run:
make ex*
with * a number between 1 and 10.
To compile all exercises run:
make all
If you want to clean object files and executable files run:
make clean
or:
make clean_ex*
To run a single exercise follow this (example with ex9):
cd ex9/
./9_1
Sometime the executable file requires additional arguments (see the terminal output for the correct one).
- In ex8 data file
8_2_psi2.txt
not present beacuse it exceeded 100MB (You need to run the exercise). - In ex10 you need to include
"mpi.h"
. - Part of the code in
mdmc/mdmc.cpp
is commented beacuse file is shared betweenex4
andex7
.
Please to visualize the final data analysis for all exercises run
jupyter-lab
before the ex* directories.