changed notes to reflect new environment variables
This commit was SVN r1534.
Этот коммит содержится в:
родитель
7d3037f796
Коммит
b797c86672
17
INSTALL
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)
|
||||
|
||||
setenv MCA_common_ompi_cofs_job_handle pcm-cofs-job-handle
|
||||
setenv MCA_common_ompi_cofs_comm_dir "/tmp/COFS"
|
||||
setenv MCA_OOB_BASE_VPID 0
|
||||
setenv MCA_REGISTRY_BASE_VPID 0
|
||||
setenv OMPI_MCA_oob_cofs_dir /tmp/cofs
|
||||
setenv OMPI_MCA_pcm_cofs_cellid 1
|
||||
setenv OMPI_MCA_pcm_cofs_jobid 1
|
||||
|
||||
|
||||
Then if you need to run say N nodes you need to set
|
||||
setenv MCA_common_ompi_cofs_num_procs N
|
||||
Then if you need to run say N nodes you need to set:
|
||||
setenv OMPI_MCA_pcm_cofs_num_procs N
|
||||
|
||||
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
|
||||
|
||||
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.
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user