Quote:
Originally posted by annie
this is the problem i met when i am trying to install mpich:
if ["/usr/local/mpich-1.2.5" = "/usr/local/mpich-1.2.5"]; then \ ./bin/mpiinstall ;\
else\
./bin/mpiinstall -prefix=/usr/local/mpich-1.2.5;\
fi
cp: `/usr/local/mpich-1.2.5/bin/tarch' and `/usr/local/mpich-1.2.5/bin/tarch' are the same file
**Error copying file /usr/local/mpich-1.2.5/bin/tarch to /usr/local/mpich-1.2.5/bin/tarch**
make:***[install] Error 1
can anyone tell me what have i done wrong and tell mw\e the solution... thank...
|
Like the message says, it is trying to copy the file over itself. Try commenting out these lines with a # and try again.
As such:
#if ["/usr/local/mpich-1.2.5" = "/usr/local/mpich-1.2.5"]; then \ #./bin/mpiinstall ;\
#else\
# ./bin/mpiinstall -prefix=/usr/local/mpich-1.2.5;\
#fi
John