Re: [AMBER] Problem with pmemd.cuda

From: case <>
Date: Mon, 19 Jul 2010 15:30:54 -0400

On Mon, Jul 19, 2010, ros wrote:
> I tried the make test.cuda with the following errors:
> ros.cuda:/usr/local/amber11/test$ make test.cuda
> ./
> [: 35: unexpected operator
> [: 42: unexpected operator

OK...I guess my workarounds for the above errors don't really work. You have
to get the script to work somehow. Problem is, I don't
have a clue about why it is failing.

My first guess was that there was some bashism I couldn't see, so that
Ubuntu's /bin/sh was not working correctly. I suggested changing "bin/sh"
to "bin/bash" on the first line. It's not clear whether you tried that or

The other solution is to edit the code around lines 30-42 to set the correct
values; you would need to know a (very) little about shell scripting to do

It would be of interest to know if someone on the list has access to a 64-bit
version of Ubuntu 10.04, and can see if the "" script
fails (in the manner shown above) for them as well.


AMBER mailing list
Received on Mon Jul 19 2010 - 13:00:03 PDT
Custom Search