A Fortran implementation of a quaternion class
export FC=gfortran # or ifort or pgfortran
mkdir build
cd build
cmake .. -DCMAKE_Fortran_COMPILER=$FC
make
./src/test_quaternions
- Fortran compiler
- GNU, version 8.0 or newer (
gfortran
) - Intel, version 18.0 or newer (
ifort
) - PGI, not tested (
pgfortran
)
- GNU, version 8.0 or newer (
- cmake, version 3.10 or newer