在Ubuntu上提升Fortran编译速度可从编译器选项、并行化、代码优化等方面入手,具体方法如下:
-O2
-O3
-march=native
-flto
-fopenmp
-fopt-info-vec