-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add local and remote pre-check for linpack
This is a back-port of commit b51b116 (PR #2856) from `main`. We add a local and remote pre-check function for linpack. We now wait at most 60 seconds for the linpack process to start, and then we wait for the PID to exit instead of a file to exist. That way if a file is never written that we expect, but the PID has died, we'll not wait forever. Further, we move the "version" check (of sorts) to the linpack driver script to allow for the remote check to work without having the code in two places.
- Loading branch information
Showing
11 changed files
with
157 additions
and
65 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export linpack_dir=${_testtmp}/linpack | ||
export PBENCH_LINPACK_INSTALL_PREFIX_DIR=${_testtmp} |
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,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# Setup a fake install of linpack but without the expected executable. | ||
_linpack_dir=${_testtmp}/linpack | ||
_linpack_dir=${_testtmp}/pbench-linpack-11.1.3 | ||
mkdir ${_linpack_dir} || exit 1 | ||
exit 0 |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# Setup a fake install of linpack but with a stub for the expected executable. | ||
_linpack_dir=${_testtmp}/linpack | ||
mkdir ${_linpack_dir} || exit 1 | ||
_linpack_dir=${_testtmp}/pbench-linpack-11.1.3/benchmarks/linpack | ||
mkdir -p ${_linpack_dir} || exit 1 | ||
printf -- "#!/bin/bash\nexit 0\n" > ${_linpack_dir}/xlinpack_xeon64 || exit 1 | ||
chmod 775 ${_linpack_dir}/xlinpack_xeon64 || exit 1 | ||
exit 0 |
Oops, something went wrong.