Re: [AMBER] test_amber_cuda.sh requires small fix

From: Ross Walker <ross.rosswalker.co.uk>
Date: Wed, 2 Nov 2011 11:14:27 -0700

> Thanks for the report! I recently switched away from Ubuntu on my main
> Machine, so I don't catch bash-isms in scripts anymore. This has been
> fixed in the developer tree for both test_amber_cuda.sh and
> test_amber_cuda_parallel.sh. I altered it slightly to be
>
> if [ $# -lt 1 ]; then
>

Why not the more simple 1 line fix?

#!/bin/sh ---> #!/bin/bash

All the best
Ross

/\
\/
|\oss Walker

---------------------------------------------------------
| Assistant Research Professor |
| San Diego Supercomputer Center |
| Adjunct Assistant Professor |
| Dept. of Chemistry and Biochemistry |
| University of California San Diego |
| NVIDIA Fellow |
| http://www.rosswalker.co.uk | http://www.wmd-lab.org/ |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
---------------------------------------------------------

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.





_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Nov 02 2011 - 11:30:02 PDT
Custom Search