colvars icon indicating copy to clipboard operation
colvars copied to clipboard

sh: 15: hash: Illegal option -t

Open ljh433 opened this issue 1 year ago • 1 comments

when i Patch Gromacs with Colvars (sh ./colvars-master/update-colvars-code.sh ./gromacs-2020.6),there is an error:./colvars-master/update-colvars-code.sh: 15: hash: Illegal option -t. May I ask what the reason is. How to solve this problem?

ljh433 avatar May 26 '24 15:05 ljh433

It looks like you are using an incompatible version of sh. Try calling the script with bash, or just execute the script without specifying the shell.

Then, please write a comment here to let us know if that solved the issue.

jhenin avatar May 28 '24 13:05 jhenin

@ljh433 Were you able to try a different shell?

giacomofiorin avatar Oct 04 '24 19:10 giacomofiorin