-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ocl: removed unused scripts and updated remaining license banners
* Script to run FAILED cases denoted by the given logfile. * Fixed remaining license banners (BSD-3-Clause). * Added license banner for Python scripts. * Check Bash scripts for license banner. * Removed outdated or unused scripts. * Updated LIBXSMM (Daint-CI).
- Loading branch information
Showing
23 changed files
with
131 additions
and
66 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
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
File renamed without changes.
20 changes: 1 addition & 19 deletions
20
src/acc/acc_makedep.sh → .pre-commit/headers/script.2
100755 → 100644
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,26 +1,8 @@ | ||
#!/usr/bin/env bash | ||
#################################################################################################### | ||
# Copyright (C) by the DBCSR developers group - All rights reserved # | ||
# This file is part of the DBCSR library. # | ||
# # | ||
# For information on the license, see the LICENSE file. # | ||
# For further information please visit https://dbcsr.cp2k.org # | ||
# SPDX-License-Identifier: GPL-2.0+ # | ||
# SPDX-License-Identifier: BSD-3-Clause # | ||
#################################################################################################### | ||
|
||
FILE=$1 | ||
VAL=$2 | ||
|
||
if [ "${FILE}" ]; then | ||
if [ ! -e "${FILE}" ] || [ "$(cat "${FILE}")" != "${VAL}" ]; then | ||
echo "${VAL}" >"${FILE}" | ||
fi | ||
echo "${FILE}" | ||
else | ||
echo "Usage: $0 filename [value]" | ||
echo " The content of the file will be updated with the value" | ||
echo " if the value is different than the current value." | ||
echo " This suitable to form a Makefile dependency." | ||
fi | ||
|
||
|
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 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
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,4 +1,12 @@ | ||
#!/bin/bash -e | ||
#################################################################################################### | ||
# Copyright (C) by the DBCSR developers group - All rights reserved # | ||
# This file is part of the DBCSR library. # | ||
# # | ||
# For information on the license, see the LICENSE file. # | ||
# For further information please visit https://dbcsr.cp2k.org # | ||
# SPDX-License-Identifier: GPL-2.0+ # | ||
#################################################################################################### | ||
|
||
echo "removing tuning files...." | ||
rm -rf tune_*x*x* |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env bash | ||
#################################################################################################### | ||
# Copyright (C) by the DBCSR developers group - All rights reserved # | ||
# This file is part of the DBCSR library. # | ||
# # | ||
# For information on the license, see the LICENSE file. # | ||
# For further information please visit https://dbcsr.cp2k.org # | ||
# SPDX-License-Identifier: BSD-3-Clause # | ||
#################################################################################################### | ||
|
||
HERE="$(cd "$(dirname "$0")" && pwd -P)" | ||
TEST=acc_bench_smm | ||
EXE=${HERE}/../${TEST} | ||
|
||
if [ ! -e "$1" ]; then | ||
>&2 echo "USAGE: $0 logfile" | ||
exit 1 | ||
fi | ||
if [ ! -e "${EXE}" ]; then | ||
>&2 echo "ERROR: please build ${TEST}!" | ||
exit 1 | ||
fi | ||
|
||
sed -n "s/FAILED: \(..*\)/\1/p" "$1" | while read -r LINE; do | ||
EXPORT="" | ||
for KEYVAL in ${LINE}; do | ||
EXPORT="${EXPORT} OPENCL_LIBSMM_SMM_${KEYVAL}" | ||
done | ||
if [ "${EXPORT}" ]; then | ||
eval "${EXPORT} ${EXE}" | ||
fi | ||
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