Hi,
On Thu, Mar 04, 2010 at 04:39:05PM -0800, Ross Walker wrote:
>
> > your just missing ;\ on the end of your mv's:
> > mv pmemd.cuda$(SFX) $(BINDIR)/pmemd.cuda_SPSP$(SFX) ;\
>
> Are you sure? I change it to:
>
> cuda: configured_cuda pmemd.cuda$(SFX)
> .( \
> if grep $(CUDA_SPSP_TOKEN) $(CONFIG_FILE) 1> /dev/null 2>&1 ; then
> \
> mv pmemd.cuda$(SFX) $(BINDIR)/pmemd.cuda_SPSP$(SFX) ;\
> elif grep $(CUDA_DPDP_TOKEN) $(CONFIG_FILE) 1> /dev/null 2>&1 ;
> then \
> mv pmemd.cuda$(SFX) $(BINDIR)/pmemd.cuda_DPDP$(SFX) ;\
> else ; then \
^
no ; here
scott
> mv pmemd.cuda$(SFX) $(BINDIR) ;\
> fi ;\
> )
>
> But I still get:
>
> /bin/sh: -c: line 0: syntax error near unexpected token `;'
> /bin/sh: -c: line 0: `( if grep Duse_SPSP ../../config.h 1> /dev/null 2>&1
> ; then mv pmemd.cuda /home/rcw/cvs_checkouts/amber11/bin/pmemd.cuda_SPSP ;
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Mar 04 2010 - 17:00:04 PST