How to install python before insalling mpich2

Before install MPICH2, please install python firstly. The version of Python should not be too old.

 

1. I installed Python2.6 and MPICH2. To facilitate configuration, I installed MPICH2 and Python2.6 by NFS. However, Python2.6 failed in other NFS clients. I checked the server, and found python2.6 inject some files to system file directory, such as /usr/local/lib/python2.6. I have to installed python2.6 in all clients.

 

2.  When you installed python2.6, you'd better not use "prefix" option "./configure --prefix /*/*". It will incur failures. Maybe, it needs some files in the current directory during installation. 

 

3.  Since one of my server's arch is different from others, MPICH2 failed(mpd & is ok, but other mpi commands fail) in this server. It is possible, because make is based on your platform. NFS server's platform is different from that client, so binary code may not be available running on other platforms.

 

I have tested it, it is ok in this client to run mpi program, but it still has something wrong to cooperate with other clients. I will continue to solve it.

你可能感兴趣的:(How to install python before insalling mpich2)