Berkeley upc install on martha

  1. Got berkely_upc-2.10.0.tar.gz and berkeley_upc_translator-2.10.0.tar.gz from primary site.
  2. Checked md5sum for both.
  1. Starting with translator, extrated it into /usr/src on martha
  2. did make
  3. did make install PREFIX=/opt/berkeley_upc_translator-2.10.0
  4. made link to /opt/upc_trans
  *** Installation complete! *** 
  
  To use this translator LOCALLY, insert the following pathname:
  
    /opt/berkely_upc_translator-2.10.0/targ
  
 in the 'translator' setting of upcc.conf or ~/.upccrc,
 or pass it to upcc -translator=path
  
 for REMOTE (ssh-based) compilations, use the path:

Well, for the remote ssh path, send a note to Greg…

  1. checked for all dependencies. All met save optional MPI-1.1
  2. changed values in .in files as indicated:
  3. in file ./upcc.conf.in changed
    • ??default_network?? from @@ @DEFAULT_CONDUIT@ @@ to @@udp@@
    • ??smart_output?? from @@no@@ to @@yes@@
    • ??default_pthreads?? from @@2@@ @@4@@
  4. in ./upcrun.conf.in changed ??default_cpus_per_node?? from @@0@@ to @@4@@
  5. did 1)
    ./configure CC=gcc CXX=g++ MPI_CC=mpicc --prefix=/opt/berkeley_upc-2.10.0 --disable-aligned-segments
  6. did
    make && make install
  7. made link /opt/upc for ease of typing

Berkeley upc install on 64bit system

  1. Got berkely_upc-2.10.2.tar.gz and berkeley_upc_translator-2.10.2.tar.gz from primary site.
  2. Checked md5sum for both.
  3. Set umask to 022
  1. Starting with translator, extrated it into /usr/src
  2. did make
  3. did make install PREFIX=/usr/local/share/berkeley_upc_translator-2.10.2
  4. made link to /usr/local/share/upc_trans
  *** Installation complete! *** 
  
  To use this translator LOCALLY, insert the following pathname:
  
    /usr/local/share/berkely_upc_translator-2.10.2/targ
  
 in the 'translator' setting of upcc.conf or ~/.upccrc,
 or pass it to upcc -translator=path
  
 for REMOTE (ssh-based) compilations, use the path:

Well, for the remote ssh path, send a note to Greg…

  1. untared it into /usr/src/
  2. applied patch from download page
  3. checked for all dependencies. All met save optional MPI-1.1
  4. changed values in .in files as indicated:
  5. in file ./upcc.conf.in changed
    • ??default_network?? from @@ @DEFAULT_CONDUIT@ @@ to @@udp@@
    • ??translator?? from @@ @TRANSLATOR@ @@ TO @@/usr/local/share/upc_trans@@
    • ??smart_output?? from @@no@@ to @@yes@@
    • ??default_pthreads?? from @@2@@ @@4@@
  6. in ./upcrun.conf.in changed ??default_cpus_per_node?? from @@0@@ to @@4@@
  7. did 2)
    ./configure CC=gcc CXX=g++ MPI_CC=mpicc --prefix=/usr/local/share/berkeley_upc-2.10.2 --disable-aligned-segments
  8. did
    make && make install
  9. made link /opt/upc for ease of typing

1) , 2)
the option –disable-aligned-segments is for gasnet. Adding it to the configure did generate a warning about it being an unrecognized option to upc, however, it did pass it along to gasnet.