> >From the test_amber_cuda.sh
>
> if [ "$1" == "" ]; then
> echo "Using default GPU_ID = -1"
> GPU_ID=-1
> else
> GPU_ID=$1
> 35 >>> fi
> >> > [: 35: unexpected operator
I can't reproduce this error using /bin/sh on the version of linux
I am on. You could try debugging by adding as the 2nd line of the
script:
echo args % $1 % $2 %
to see what $1 and $2 actually are.
Did you try making the first line:
#!/bin/bash
? Since bash is probably better than sh anyway and might just work.
Bill
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Jul 19 2010 - 14:30:03 PDT