Change default optimization level for gcc
Created by: paulromano
I didn't realize until recently that not specifying optimization when using the gcc compiler defaults to no optimization at all. There is a big difference in performance when using -O2 vs -O0, so this pull request simply changes the default when compiling OpenMC with gcc to use -O2. Using
-Doptimize=on will still use -O3.