You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should be able to build architecture optimised code with the setup.py arch option.
Additionally this option is poorly documented not covered in CI AFAIK.
Actual behavior
setup.cfg has string quotes making the option invalid
march="native" 👎
march=native 👍
Additionally -march is not a valid flag for MSVC, instead the -arch: flag must be used
Code to reproduce the behavior
Uncomment march="native" in setup.cfg and install with setup.py
Current version of MDAnalysis
Which version are you using? (run python -c "import MDAnalysis as mda; print(mda.__version__)") 2.1.0-dev0
Which version of Python (python -V)? 3.8.8
Which operating system? MacOS
The text was updated successfully, but these errors were encountered:
…3429)
Fixes#3428
## Work done in this PR
- Replaces `march` keyword in setup with `extra_cflags` allowing user defined c/c++ flags to be passed at compile time
- Fixes the code paths so that the optimisation flags are parsed properly & not applied to the encore compile flags
Expected behavior
You should be able to build architecture optimised code with the setup.py
arch
option.Additionally this option is poorly documented not covered in CI AFAIK.
Actual behavior
setup.cfg has string quotes making the option invalid
march="native"
👎march=native
👍Additionally
-march
is not a valid flag for MSVC, instead the-arch:
flag must be usedCode to reproduce the behavior
Uncomment
march="native"
in setup.cfg and install withsetup.py
Current version of MDAnalysis
python -c "import MDAnalysis as mda; print(mda.__version__)"
) 2.1.0-dev0python -V
)? 3.8.8The text was updated successfully, but these errors were encountered: