Hi Shell Gurus,
I am hoping I can get some help figuring out the syntax in the AMBER
Makefiles. The following is what I want to do, in what I believe is
understandable. However this is not the right syntax. Does anyone know what
this should look like?
in $AMBERHOME/src/pmemd/src/Makefile.amber
CUDA_DPDP_TOKEN=Duse_DPDP
CUDA_SPSP_TOKEN=Duse_SPSP
cuda: configured_cuda pmemd.cuda$(SFX)
.( \
if grep $(CUDA_SPSP_TOKEN) $(CONFIG_FILE) > /dev/null ; then \
mv pmemd.cuda$(SFX) $(BINDIR)/pmemd.cuda_SPSP$(SFX)
elif grep $(CUDA_DPDP_TOKEN) $(CONFIG_FILE) > /dev/null ; then \
mv pmemd.cuda$(SFX) $(BINDIR)/pmemd.cuda_DPDP$(SFX)
else ; then \
mv pmemd.cuda$(SFX) $(BINDIR)
fi ;\
)
Thanks,
Ross
/\
\/
|\oss Walker
| Assistant Research Professor |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
|
http://www.rosswalker.co.uk |
http://www.wmd-lab.org/ |
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-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Mar 04 2010 - 16:30:04 PST