Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MTIP
spinifel
Commits
06d69ae7
Commit
06d69ae7
authored
Jun 10, 2022
by
Elliott Slaughter
Browse files
Put OLCF lib override back, but late in the build process to avoid breaking build.
parent
ac1158f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup/build_from_scratch.sh
View file @
06d69ae7
...
...
@@ -242,6 +242,29 @@ fi
#-------------------------------------------------------------------------------
#_______________________________________________________________________________
# Overwrite the conda libraries with system libraries => don't let anaconda
# provide libraries (like openmp) that are already provided by the system
# FIXME (Elliott): After this point, CMake will be BROKEN. If you try
# to do any further builds, they will NOT work. The error looks like:
#
# cmake: symbol lookup error: cmake: undefined symbol: uv_fs_get_system_error
#
# This is probably happening because we're overwriting important
# libraries from Conda with system ones. Unfortunately, this does not
# work. I think the long term solution needs to be more precise about
# exactly what system libraries we're going to get (e.g., OpenMP, but
# not others). What we've got right now is far too indiscriminant. But
# as an immediate hack, we'll just put this as late in the build as
# possible so that we hope we don't mess with anything important.
if
[[
${
target
}
=
*
"summit"
*
||
${
target
}
=
*
"ascent"
*
]]
then
${
root_dir
}
/../scripts/fix_lib_olcf.sh
fi
#-------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment