Exercise 1: Setup
- Create a working directory.
- Open emacs and write your first program in FORTRAN(c) Submit a test job.
(d) Connect to the cluster spiro.fisica.unpd.it via ssh and repeat the execution
Exercise 2: Number precision
Integer and real numbers have a finite precision. Explore the limits of INTEGER and REAL in Fortran.
- Sum the numbers 2.000.000 and 1 with INTEGER*2 and INTEGER*4
- Sum the numbers 1032 and 2 1021 in single and double precision.
Exercise 3: Test performance
Matrix matrix multiplication is many times the bottleneck of linear algebra computations.
- Write explicitely the matrix-matrix multiplication loop in two different orders.
- Use the Fortran intrinsic function.
- Increase the matrix size and use the Fortran Function CPUTIME to monitor the code performance.
Use the compiler different optimization flags and monitor the performances

![[Solved] Quantum Physics Ex 1](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] Quantum Physics Ex 3-Subroutine used as a checkpoint for debugging](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.