-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Test script: use intel-oneapi-mpi when testing wheels on BB5. - Add `NRN_WHEEL_BUILD` variable for use inside the CMake configuration when tuning build options for Python wheels. - Bump submodule past BlueBrain/CoreNeuron#785. - Don't print single-MPI variables when dynamic MPI is enabled. - When running `nrnivmodl` on user machines in GPU wheel installations, modify libnrniv.so before linking to it: - Remove link dependencies on bundled NVIDIA runtime libraries, so these are not duplicated when the same runtimes from the user's system are implicitly linked by `nvc++`. - Require `patchelf` on the user's system to achieve this. - Don't add single-MPI include directories in dynamic MPI builds. - Make the CMake logic to translate target dependencies into compiler flags more verbose. - Build GPU wheels with `-tp=haswell` instead of the default (`-tp=host`), but remove this from the Makefiles used by `nrnivmodl` on user machines. Co-authored-by: Pramod Kumbhar <[email protected]> Co-authored-by: Alexandru Săvulescu <[email protected]>
- Loading branch information
1 parent
b08f55f
commit 4defcc3
Showing
9 changed files
with
80 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule coreneuron
updated
18 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
instdir="$1" | ||
|
||
# We build the GPU wheels with -tp=haswell for portability, but we don't want to | ||
# embed this in the Makefiles in the wheels themselves to (hopefully) give | ||
# better performance when users run nrnivmodl themselves. | ||
for makefile in bin/nrnmech_makefile share/coreneuron/nrnivmodl_core_makefile | ||
do | ||
sed -i.old -e 's#-tp=haswell##g' "${instdir}/${makefile}" | ||
! diff -u "${instdir}/${makefile}.old" "${instdir}/${makefile}" | ||
rm "${instdir}/${makefile}.old" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters