Variant 3
cd bin/lab<number>
~/local/bin/mpicxx ../../lab<number>/main.cxx -o lab<number> -g
~/local/bin/mpirun -np 4 lab<number>
Square root calculation of x with accuracy 1e-8
1.5 // value under the square root
1.224744873
Integration of f(x) = log2(x^3) with accuracy 1e-4 using right rectangles method.
5 // a
1500 // b
0.0001 // accuracy
1.224744873