-
Notifications
You must be signed in to change notification settings - Fork 3
Parameters updates, default to Broadwell #1
base: master
Are you sure you want to change the base?
Conversation
env-fenics.sh
Outdated
export DOLFINX_JIT_CACHE_DIR=${PREFIX}/cache | ||
export DOLFINX_JIT_CFLAGS="-O3 -march=native" | ||
mkdir -p ${HOME}/.config/dolfinx | ||
echo '{"cache_dir":"'${PREFIX}/.cache/fenics'", "cffi_extra_compile_args": ["-O3", "-march=haswell"]}' > ${HOME}/.config/dolfinx/dolfinx_jit_parameters.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens here if this file is sourced on multiple nodes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expect all are touching it. I didn't see any lock or hang, this must be somehow handled in the way how nodes access the $SCRATCH $HOME. Feel free to add a condition and echo
on first node only.
So I am getting
which is not entirely true. E.g. iris-066 has Intel(R) Xeon(R) CPU E5-2680 for which I get EDIT: Getting confused now as that doesn't work as well. |
Changed the approach now. Kept |
Compiling with
-march=native
onskylake
machines made it impossible to use onbroadwell
.Some updates for latest JIT parameters as well.