HPC implementations in the SHYFEM hydrodynamic model using the PETSc library and application to modern architectures