From e66b8d2508ff4db8a4f87985b9d00b0fa2ead79b Mon Sep 17 00:00:00 2001 From: Philip Loche Date: Tue, 5 Mar 2024 12:18:15 +0100 Subject: [PATCH] more debug --- examples/cp2k_run_batch/.gitignore | 2 ++ examples/cp2k_run_batch/cp2k_shell.ssmp | 1 - examples/cp2k_run_batch/return_CP2K_versions.sh | 12 ++---------- 3 files changed, 4 insertions(+), 11 deletions(-) delete mode 120000 examples/cp2k_run_batch/cp2k_shell.ssmp mode change 100644 => 100755 examples/cp2k_run_batch/return_CP2K_versions.sh diff --git a/examples/cp2k_run_batch/.gitignore b/examples/cp2k_run_batch/.gitignore index a992aa06..9fc7d688 100644 --- a/examples/cp2k_run_batch/.gitignore +++ b/examples/cp2k_run_batch/.gitignore @@ -1,3 +1,5 @@ production/ + cp2k.out cp2k.inp +cp2k_shell.ssmp diff --git a/examples/cp2k_run_batch/cp2k_shell.ssmp b/examples/cp2k_run_batch/cp2k_shell.ssmp deleted file mode 120000 index 7b750e0a..00000000 --- a/examples/cp2k_run_batch/cp2k_shell.ssmp +++ /dev/null @@ -1 +0,0 @@ -/opt/homebrew/bin/cp2k.ssmp \ No newline at end of file diff --git a/examples/cp2k_run_batch/return_CP2K_versions.sh b/examples/cp2k_run_batch/return_CP2K_versions.sh old mode 100644 new mode 100755 index a2171db3..c1540196 --- a/examples/cp2k_run_batch/return_CP2K_versions.sh +++ b/examples/cp2k_run_batch/return_CP2K_versions.sh @@ -1,12 +1,4 @@ #! /bin/bash -echo "cp2k.ssmp" -which cp2k.ssmp -echo "cp2k.popt" -which cp2k.popt -echo "cp2k.psmp" -which cp2k.psmp -echo "cp2k.sopt" -which cp2k.sopt -echo "cp2k" -which cp2k \ No newline at end of file +echo "List all exectubales containing 'cp2k'" +compgen -cX '!*cp2k*'