diff --git a/AMSS_NCKU_source/makefile b/AMSS_NCKU_source/makefile index 7a746fa..c5750b8 100644 --- a/AMSS_NCKU_source/makefile +++ b/AMSS_NCKU_source/makefile @@ -9,9 +9,9 @@ PROFDATA = /home/$(shell whoami)/AMSS-NCKU/pgo_profile/default.profdata ifeq ($(PGO_MODE),instrument) ## Phase 1: instrumentation — omit -ipo/-fp-model fast=2 for faster build and numerical stability -CXXAPPFLAGS = -O2 -xHost -fma -fprofile-instr-generate \ +CXXAPPFLAGS = -O3 -xHost -fma -fprofile-instr-generate -ipo \ -Dfortran3 -Dnewc -I${MKLROOT}/include -f90appflags = -O2 -xHost -fma -fprofile-instr-generate \ +f90appflags = -O3 -xHost -fma -fprofile-instr-generate -ipo \ -align array64byte -fpp -I${MKLROOT}/include else ## opt (default): maximum performance with PGO profile data diff --git a/pgo_profile/default.profdata b/pgo_profile/default.profdata index 6036a08..156744d 100644 Binary files a/pgo_profile/default.profdata and b/pgo_profile/default.profdata differ diff --git a/pgo_profile/default_9725923726611433605_0.profraw b/pgo_profile/default_9725923726611433605_0.profraw index 4ffbddd..e38d300 100644 Binary files a/pgo_profile/default_9725923726611433605_0.profraw and b/pgo_profile/default_9725923726611433605_0.profraw differ