1. To compile:
    mupcc -f #threads sourcecode -o program_name
  2. To run:
    mupcrun -n #threads program_name
  3. The maximum number of UPC threads for a program is 256.
  4. The maximum block size for a shared object is 65535.
  5. MuPC cache size and the amount of space available for dynamic memory allocations are controlled by a configuration file, mupc.conf. The default locatation of this file is /path/to/MuPC/etc/. Copy it to your home directory so that you can customize its values. If the run time system cannot find the configuration file in your home directory, the one in the default location is used. The configuration file contains only three run time constants:
    
          CACHE_LINE_LENGTH (default 1024 bytes, max 65536 bytes)
          CACHE_TABLE_SIZE  (default 256 blocks, max 4096 blocks)
          SHARED_MEM_SIZE_PER_THREAD (default 268435456 bytes) 
    
    The values must always be 0 or a power of 2. Setting CACHE_LINE_LENGTH or CACHE_TABLE_SIZE to 0 turns off caching.
  6. Caching might have a negative impact on performance if the user's program has frequent synchronization points such as fences, barriers, strict references and lock accesses. The cache is written back and then invalidated at each synchronization point. Turning the caching off in such programs might yield better performance. See the cache documentation for additional details.
  7. The mupcrun script requires the -n option specifying the number of THREADS to be run. This is true even when you specified THREADS statically.
  8. MuPC does not support final barrier processing. A final barrier matches all other barriers and blocks until all other threads reach their final barriers.
Last modified 12/8/4
{ Insert a counter here }