-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update khiops_env: remove -hostfile and -n flags (#540)
* Changes made to improve the usability on K8s: - remove the KHIOPS_HOST_FILE: the host flag is not mandatory, it can be replaced by mpi environment variables - by default, the -n flag is removed for openmpi, it will be easier to use on K8s * Refactoring we use _MPIEXEC to set the path of mpiexec (different on conda and system wide) And after all tests, we set KHIOPS_MPI_COMMAND. In tha way, on conda or not we're sure to have the same command line
- Loading branch information
1 parent
b7636e7
commit 3760d03
Showing
4 changed files
with
40 additions
and
34 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 was deleted.
Oops, something went wrong.
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,5 @@ | ||
|
||
# Number of processes in use (must be set according to the physical cores number) | ||
if [[ -z $KHIOPS_PROC_NUMBER ]]; then | ||
KHIOPS_PROC_NUMBER=$("@GET_PROC_NUMBER_PATH@"_khiopsgetprocnumber | head -n 1) | ||
fi |