无法设置MPI名称服务器?

无法设置MPI名称服务器?,mpi,intelhpc,Mpi,Intelhpc,虽然我找到了I\u MPI\u HYDRA\u NAMESERVER环境变量,但我无法成功地使用它。我需要启动服务器守护进程吗 char port_name[] = "exmplport", service_name[] = "exmplservice"; if (world_p==0) { MPI_Comm intercomm; MPI_Publish_name( service_name, MPI_INFO_NULL,

虽然我找到了
I\u MPI\u HYDRA\u NAMESERVER
环境变量,但我无法成功地使用它。我需要启动服务器守护进程吗

char port_name[] = "exmplport",
    service_name[] = "exmplservice";
  if (world_p==0) 
 {
    MPI_Comm intercomm;
    MPI_Publish_name( service_name, MPI_INFO_NULL, port_name );
    printf("Published Name\n");
    MPI_Unpublish_name( service_name, MPI_INFO_NULL, port_name );
  } else
 {
    MPI_Lookup_name( service_name,MPI_INFO_NULL,port_name );
  }
错误:

[c210-008 c:3] export I_MPI_HYDRA_NAMESERVER=`hostname`:8000
[c210-008 c:4] make publishbug && mpiexec.hydra -n 2 publishbug
make: `publishbug' is up to date.
[mpiexec@c210-008.frontera.tacc.utexas.edu] HYD_sock_connect (../../../../../src/pm/i_hydra/libhydra/sock/hydra_sock_intel.c:228): Retrying connection, retry_count=1, retries=0
[mpiexec@c210-008.frontera.tacc.utexas.edu] HYD_sock_connect (../../../../../src/pm/i_hydra/libhydra/sock/hydra_sock_intel.c:243): unable to connect from "c210-008.frontera.tacc.utexas.edu" to "c210-008.frontera.tacc.utexas.edu" (Connection refused)
[mpiexec@c210-008.frontera.tacc.utexas.edu] mpiexec_connect_to_nameserver (../../../../../src/pm/i_hydra/mpiexec/mpiexec_utils.c:425): unable to connect to nameserver
[mpiexec@c210-008.frontera.tacc.utexas.edu] mpiexec_publish_name (../../../../../src/pm/i_hydra/mpiexec/mpiexec_utils.c:499): unable to connect to nameserver
[mpiexec@c210-008.frontera.tacc.utexas.edu] control_cb (../../../../../src/pm/i_hydra/mpiexec/mpiexec.c:1484): error publishing service
[mpiexec@c210-008.frontera.tacc.utexas.edu] HYDI_dmx_poll_wait_for_event (../../../../../src/pm/i_hydra/libhydra/demux/hydra_demux_poll.c:80): callback returned error status
[mpiexec@c210-008.frontera.tacc.utexas.edu] main (../../../../../src/pm/i_hydra/mpiexec/mpiexec.c:2019): error waiting for event