可尝试以下方法优化Fortran程序在Ubuntu上的运行速度:
gfortran
-O2
-O3
-funroll-loops
-fopt-info-vec
!$omp parallel do
-fopenmp
perf
gprof