c - 'Nodes are not specified' error on UPC on a cluster with UDP network type -


i implemented pgas parallel computing model on cluster of hp quad-core machines running ubuntu 12.04. used berkeley upc pgas language , created ssh password-less login in-order communicate between nodes. tried run udp based upc jobs following instructions in this link under heading running udp-based upc jobs. steps followed listed below.

  • defining nodes in 'machines' file:

    node0

    node1

    node2

  • setting environmental variable '$upc_nodefile':

    $upc_nodefile=machines

  • compile:

    upcc -network=udp -pthreads=4 hello.upc -o helloupc

  • run:

    upcrun -n 4 helloupc

but when try run program gives following error

upcrun: nodes not specified! see running udp-based upc jobs in 'man upcrun'

is there mistake have done or added? please me.

the hello.upc code snippet if necessary:

int main() {  printf("hello thread %i/%i\n", mythread, threads);  upc_barrier;  return 0; }  


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -