1
1

changed notes to reflect new environment variables

This commit was SVN r1534.
Этот коммит содержится в:
Tim Woodall 2004-07-01 19:46:39 +00:00
родитель 7d3037f796
Коммит b797c86672

17
INSTALL
Просмотреть файл

@ -10,21 +10,20 @@ mpicc your-code.c
In order to run the program, you need to set some envs (use export for bash etc) In order to run the program, you need to set some envs (use export for bash etc)
setenv MCA_common_ompi_cofs_job_handle pcm-cofs-job-handle setenv OMPI_MCA_oob_cofs_dir /tmp/cofs
setenv MCA_common_ompi_cofs_comm_dir "/tmp/COFS" setenv OMPI_MCA_pcm_cofs_cellid 1
setenv MCA_OOB_BASE_VPID 0 setenv OMPI_MCA_pcm_cofs_jobid 1
setenv MCA_REGISTRY_BASE_VPID 0
Then if you need to run say N nodes you need to set:
Then if you need to run say N nodes you need to set setenv OMPI_MCA_pcm_cofs_num_procs N
setenv MCA_common_ompi_cofs_num_procs N
Then in the shell for each you would set Then in the shell for each you would set
setenv MCA_common_ompi_cofs_my_vpid MYRANK setenv OMPI_MCA_pcm_cofs_procid MYRANK
where MYRANK is 0 in one, 1 in the next etc where MYRANK is 0 in one, 1 in the next etc
This rather cumbersome process will be replaced soon (we promise). Or - you can use the mpirun shell script which sets these for you...
This is the world's greatest MPI, version 10.0a1r975. This is the world's greatest MPI, version 10.0a1r975.