Skip to content

Commit 1648430

Browse files
committed
find TSMP2_env also when install_dir is a soflink
1 parent a35edf1 commit 1648430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctl/control_tsmp2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ check_var_def account ${account_def} "WARNING: No account is set. Using account=
112112
check_var_def tsmp2_dir $(realpath ${ctl_dir}/../src/TSMP2) "Taking TSMP2 default dir at "
113113
check_var_def tsmp2_install_dir ${tsmp2_dir}/bin/${SYSTEMNAME^^}_${MODEL_ID} \
114114
"Taking TSMP2 component binaries from default dir at"
115-
check_var_def tsmp2_env $(find $tsmp2_install_dir -type f -name "*mpi") "Using environment file "
115+
check_var_def tsmp2_env $(find ${tsmp2_install_dir}/ -type f -name "*mpi") "Using environment file "
116116

117117
# generic sbatch string
118118
jobgenstring="--export=ALL \

0 commit comments

Comments
 (0)