Comments (7)
More details from @nikizadehgfdl:
-march=core-avx2
is the needed update
-qno-opt-dynamic-align
might not be needed or wanted. It appears to disable a potential optimization (Intel docs)
Do we want this option, and if so, should it be removed from the ISA
definition and added elsewhere? (As it is not related to instruction sets)
-qopt-report-phase=vec
and -qopt-report=2
increase the verbosity only (do not affect results).
Do we want this additional verbosity all the time? There are some additional verbose flags that are not used normally in the templates:
https://github.com/NOAA-GFDL/mkmf/blob/master/templates/ncrc-intel.mk#L169-L173
If users want the additional verbosity all the time, these can be added to the CFLAGS and FFLAGS but probably should be removed from the ISA
definition as they are not instruction set-related.
If users want the additional verbosity rarely, they can be added to CFLAGS_VERBOSE and FLAGS_VERBOSE.
from mkmf.
Hi @bensonr, could you provide some feedback on the proposed changes to ncrc-intel.mk
by @nikizadehgfdl ?
Specifically, whether -qno-opt-dynamic-align
is needed and if so, should it be moved from ISA
for clarity?
And then for the two others that increase verbosity, should they be used all the time, or only if the VERBOSE
macro is set? (They shouldn't be part of the ISA
macro for clarity, I think)
from mkmf.
I just started compiling on t5 login node. With intel-oneapi/2022.0.2 I get the following warnings
ifx: command line warning #10148: option '-sox' not supported
ifx: command line warning #10148: option '-qno-opt-dynamic-align' not supported
ifx: command line warning #10121: overriding '-march=core-avx2' with '-march=core-avx2'
So, -qno-opt-dynamic-align is not even supported and there is no point putting it in the c5 template, neither is -sox.
And -march=core-avx2 seems to be the default.
from mkmf.
@nikizadehgfdl - this template is for intel classic ifort and not for use with ifx. The -qno-opt-dynamic-align is necessary for run-to-run reproducibility when using vector ISAs. Without this option, the runtime environment is free to change data alignment, which changes what data can be pipelined.
from mkmf.
I should also add that any C/C++ options will probably need to change with icx/icpcx due to it being a Clang-based front-end. I think that will make it hard to maintain a single intel.mk file in favor of a classic version and a new oneapi.mk version.
from mkmf.
Since -qno-opt-dynamic-align
is required for intel-classic and not supported in intel-oneapi, I agree with @bensonr's suggestion to maintain a classic version and a new intel-oneapi.mk version. We could support both in Bronx-20.
What about the options that increase verbosity (-qopt-report-phase=vec -qopt-report=2
)? I suggest they be used only when the VERBOSE macro is set.
from mkmf.
done, in #44
from mkmf.
Related Issues (20)
- Add option to include extra link options
- list_paths to find symlinks HOT 1
- git-version-string does not print the blob hash if file is not in a git repository
- Not all MPI compiler wrappers pass quotes the same
- list_paths should be rewritten to be POSIX compliant
- git-version-string adds spaces for uncommitted files HOT 7
- Update mkmf to use perl in environment rather than /usr/bin/perl HOT 2
- Erroneous REPRO/DEBUG logic in linux-intel.mk? HOT 1
- SHELL variable interferes with parallel make HOT 1
- GCC 10 requires two non-backward-compatible options HOT 1
- Use core-avx-i for gaea Intel templates
- Use of -fltconsistency in linux-intel.mk HOT 1
- Intel templates do not need $MAIN_PROGRAM in link line HOT 1
- Main branch renaming HOT 1
- Catch floating point exceptions in debug build HOT 2
- Change the main branch to `main` HOT 4
- Allowing r4 or r8 compilation on a component basis
- Add -DEBUG to compiler flags in for debug builds HOT 1
- intel template does not have -msse2 needed for reproducability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkmf.