-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #414 from KhiopsML/383-bis-khiops-command-return-e…
…rror-1-without-any-message 383 bis khiops command return error 1 without any message
- Loading branch information
Showing
6 changed files
with
34 additions
and
10 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
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
11 changes: 4 additions & 7 deletions
11
packaging/linux/common/khiops_env/use_environment_module.sh.in
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 |
---|---|---|
@@ -1,10 +1,7 @@ | ||
|
||
# Try to use environment modules to locate mpiexec if needed | ||
if ! command -v mpiexec &> /dev/null | ||
# Load @MPI_IMPL@ with environment modules | ||
if source /etc/profile.d/modules.sh &> /dev/null | ||
then | ||
if source /etc/profile.d/modules.sh &> /dev/null | ||
then | ||
module unload mpi | ||
module load mpi/@MPI_IMPL@-@CMAKE_SYSTEM_PROCESSOR@ | ||
fi | ||
module unload mpi | ||
module load mpi/@MPI_IMPL@-@CMAKE_SYSTEM_PROCESSOR@ | ||
fi |