2004-05-12 09:00:53 +04:00
|
|
|
Execute the following instructions to install the Open MPI system from within the directory at the top of the tree:
|
|
|
|
|
2004-06-08 01:10:17 +04:00
|
|
|
./autogen.sh (if this fails read the HACKING file)
|
2004-05-12 09:00:53 +04:00
|
|
|
./configure --prefix=/where/to/install
|
|
|
|
make install
|
|
|
|
|
|
|
|
To run an MPI program:
|
|
|
|
|
|
|
|
mpicc your-code.c
|
|
|
|
|
|
|
|
In order to run the program, you need to set some envs (use export for bash etc)
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
setenv MCA_common_ompi_cofs_job_handle pcm-cofs-job-handle
|
|
|
|
setenv MCA_common_ompi_cofs_comm_dir "/tmp/COFS"
|
2004-05-12 09:00:53 +04:00
|
|
|
setenv MCA_OOB_BASE_VPID 0
|
|
|
|
setenv MCA_REGISTRY_BASE_VPID 0
|
|
|
|
|
|
|
|
|
|
|
|
Then if you need to run say N nodes you need to set
|
2004-06-07 19:33:53 +04:00
|
|
|
setenv MCA_common_ompi_cofs_num_procs N
|
2004-05-12 09:00:53 +04:00
|
|
|
|
|
|
|
Then in the shell for each you would set
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
setenv MCA_common_ompi_cofs_my_vpid MYRANK
|
2004-05-12 09:00:53 +04:00
|
|
|
|
|
|
|
where MYRANK is 0 in one, 1 in the next etc
|
|
|
|
|
|
|
|
This rather cumbersome process will be replaced soon (we promise).
|
|
|
|
|
2004-03-27 00:34:01 +03:00
|
|
|
This is the world's greatest MPI, version 10.0a1r975.
|