to run MPI instructions in Ifort

to run MPI instructions in Ifort

I am new bie to linux. I am using redhat linux 4.0 .My processor is AMD dual quad core. I want to run MPI instructions in ifort. For that purpose i have downlaoded MPICH2-1.1. I configured it using

./configure --prefix=/home/you/mpich2-install 2>&1 | tee c.txt

It is configured succesfully. Now i build using below command

make 2>&1 | tee m.txt

it is giving below errors. Please help me out

if [ ! -d /home/npcil/mpich2-install ] ; then mkdir -p /home/npcil/mpich2-install ; fi
if [ ! -d /home/npcil/mpich2-install/share ] ; then mkdir -p /home/npcil/mpich2-install/share ; fi
if [ ! -d /home/npcil/mpich2-install/share/doc/ ] ; then mkdir -p /home/npcil/mpich2-install/share/doc/ ; fi
if [ ! -d /home/npcil/mpich2-install/share/man ] ; then mkdir -p /home/npcil/mpich2-install/share/man ; fi
if [ ! -d /home/npcil/mpich2-install/include ] ; then mkdir -p /home/npcil/mpich2-install/include ; fi
if [ ! -d /home/npcil/mpich2-install ] ; then mkdir -p /home/npcil/mpich2-install ; fi
if [ ! -d /home/npcil/mpich2-install/lib ] ; then mkdir -p /home/npcil/mpich2-install/lib ; fi
make install-local
make[1]: Entering directory `/home/npcil/mpich2-1.1/mpich2-1.1'
if [ "no" = "yes" ] ; then \
/usr/bin/install -c -m 644 src/mpi/debugger/libtvmpich2.so \
/home/npcil/mpich2-install/lib/libtvmpich2.so ; fi
if [ -n " hydra gforker" ] ; then \
for pm in hydra gforker /dev/null ; do \
if [ -d src/pm/$pm ] ; then \
(cd src/pm/$pm && make install-alt ) ; fi ; \
done ; \
fi
make[2]: Entering directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/hydra'
cd ui && make install-alt
make[3]: Entering directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/hydra/ui'
cd mpiexec && make install-alt
make[4]: Entering directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/hydra/ui/mpiexec'
CC mpiexec.c
CC utils.c
CC callback.c
make[4]: *** No rule to make target `../../lib/libhydra.a', needed by `mpiexec'. Stop.
make[4]: Leaving directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/hydra/ui/mpiexec'
make[3]: *** [install-alt] Error 2
make[3]: Leaving directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/hydra/ui'
make[2]: *** [install-alt] Error 2
make[2]: Leaving directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/hydra'
make[2]: Entering directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/gforker'
CC mpiexec.c
cd ../util && make
make[3]: Entering directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/util'
CC cmnargs.c
CC process.c
CC ioloop.c
CC pmiserv.c
CC labelout.c
CC env.c
CC newsession.c
CC rm.c
CC pmiport.c
CC dbgiface.c
AR cr libmpiexec.a cmnargs.o process.o ioloop.o pmiserv.o labelout.o env.o newsession.o rm.o pmiport.o dbgiface.o
RANLIB libmpiexec.a
make[3]: Leaving directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/util'
gcc -O2 -o mpiexec mpiexec.o \
../util/libmpiexec.a ../../../lib/libmpich.a -lpthread -lpthread -lrt
gcc: ../../../lib/libmpich.a: No such file or directory
make[2]: *** [mpiexec] Error 1
make[2]: Leaving directory `/home/npcil/mpich2-1.1/mpich2-1.1/src/pm/gforker'
make[1]: Leaving directory `/home/npcil/mpich2-1.1/mpich2-1.1'
/usr/bin/install -c -m 644 src/include/mpi.h /home/npcil/mpich2-install/include/mpi.h
/usr/bin/install -c -m 644 lib/libmpich.a /home/npcil/mpich2-install/lib/libmpich.a
/usr/bin/install: cannot stat `lib/libmpich.a': No such file or directory
make: *** [install] Error 1

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Quoting - vvreddy
For that purpose i have downlaoded MPICH2-1.1. I configured it using

Hi vvreddy,

Thanks for posting here, but seems you've chosen incorrent site. This forum is dedicated to Intel MPI library I'm afraid that we cannot help you with your problem. Why not to start from MPICH2 site? There you can find very good description how to install, configure and build your first application.

Best wishes,
Dmitry

Leave a Comment

Please sign in to add a comment. Not a member? Join today