Skip to content

Commit

Permalink
Removed two debug flags rejected by new Intel ICX compiler.
Browse files Browse the repository at this point in the history
This is to allow compiling with debugging on Narwhal.
  • Loading branch information
emkemp committed Nov 9, 2023
1 parent 4c14b26 commit f69fcbd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lis/arch/Config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,11 @@
$sys_c_opt .= " -Wunused-function -Wunused-parameter";
$sys_c_opt .= " -Wunused-variable -Wwrite-strings";
# Run-time flags
$sys_c_opt .= " -check=conversions,stack,uninit";
#EMK 20231109...Disabled several flags that are rejected by the new ICX
#compiler on Narwhal.
#$sys_c_opt .= " -check=conversions,stack,uninit";
$sys_c_opt .= " -fp-stack-check -fp-trap=common -fp-trap-all=common";
$sys_c_opt .= " -ftrapuv";
#$sys_c_opt .= " -ftrapuv";
}
elsif($sys_arch eq "linux_pgi") {
print "Optimization level $opt_lev is not defined for $sys_arch.\n";
Expand Down

0 comments on commit f69fcbd

Please sign in to comment.