This set of routines HAS TO BE COMPILED ON THE HPC Don't forget to do a module load intel before compiling