I am not good at any scripting languages, so what I did was highlight everything between the ===== lines below and middle-click paste it into a terminal. Then I highlighed everything in the terminal and middle click pasted it back into the editor of this file. ================================================== cd /home/eric/UPC/build cat test.upc ./upcc -o hello -Wc,-march=i386 test.upc scp hello eric@myth:/home/eric/UPC/build/ export UPC_NODES="192.168.1.207 192.168.1.207" ./upcrun -n 2 hello export UPC_NODES="192.168.1.208 192.168.1.208" ./upcrun -n 2 hello export UPC_NODES="192.168.1.207 192.168.1.208" ./upcrun -v -n 2 hello md5sum /home/eric/UPC/build/hello ssh myth md5sum /home/eric/UPC/build/hello uname -a ssh myth uname -a cat /proc/cpuinfo ssh myth cat /proc/cpuinfo /lib/libc.so.6 | grep 'release version' ssh myth /lib/libc.so.6 | grep 'release version' ================================================== eric@penguin27 eric $ cd /home/eric/UPC/build eric@penguin27 build $ cat test.upc #include #include main() { printf("Hello World from thread %d of %d ! !\n",MYTHREAD + 1, THREADS); } eric@penguin27 build $ ./upcc -o hello -Wc,-march=i386 test.upc test.upc:5: warning: type defaults to `int' in declaration of `main' eric@penguin27 build $ scp hello eric@myth:/home/eric/UPC/build/ hello 100% 1501KB 1.5MB/s 00:00 eric@penguin27 build $ export UPC_NODES="192.168.1.207 192.168.1.207" eric@penguin27 build $ ./upcrun -n 2 hello UPCR: UPC thread 0 of 2 on penguin27 (process 0 of 2, pid=4219) UPCR: UPC thread 1 of 2 on penguin27 (process 1 of 2, pid=4220) Hello World from thread 2 of 2 ! ! Hello World from thread 1 of 2 ! ! eric@penguin27 build $ export UPC_NODES="192.168.1.208 192.168.1.208" eric@penguin27 build $ ./upcrun -n 2 hello UPCR: UPC thread 0 of 2 on myth (process 0 of 2, pid=9513) UPCR: UPC thread 1 of 2 on myth (process 1 of 2, pid=9516) Hello World from thread 1 of 2 ! ! Hello World from thread 2 of 2 ! ! eric@penguin27 build $ export UPC_NODES="192.168.1.207 192.168.1.208" eric@penguin27 build $ ./upcrun -v -n 2 hello *** upcrun setting: UPC_NODES='192.168.1.207 192.168.1.208' *** upcrun setting: GASNET_SSH_SERVERS='192.168.1.207 192.168.1.208' *** upcrun running: './hello 2' ENV parameter: GASNET_SPAWNFN = S (default) ENV parameter: GASNET_NETWORKDEPTH = 4 (default) master host name: penguin27 ENV parameter: GASNET_SSH_SERVERS = 192.168.1.207 192.168.1.208 ENV parameter: GASNET_SSH_REMOTE_PATH = /home/eric/UPC/build (default) ENV parameter: GASNET_SSH_CMD = ssh (default) ENV parameter: GASNET_SSH_OPTIONS = *empty* (default) system(ssh -f -o 'StrictHostKeyChecking no' -o 'FallBackToRsh no' 192.168.1.207 " echo connected to \$HOST... ; cd '/home/eric/UPC/build' ; './hello' '__AMUDP_SLAVE_PROCESS_VERBOSE__' 'penguin27:33197' " || ( echo "connection to 192.168.1.207 failed." ; kill 4249 ) &) system(ssh -f -o 'StrictHostKeyChecking no' -o 'FallBackToRsh no' 192.168.1.208 " echo connected to \$HOST... ; cd '/home/eric/UPC/build' ; './hello' '__AMUDP_SLAVE_PROCESS_VERBOSE__' 'penguin27:33197' " || ( echo "connection to 192.168.1.208 failed." ; kill 4249 ) &) connected to ... slave connecting to 192.168.1.207:33197 connected to ... Endpoint table (nproc=2): P#0: (192.168.1.208:32795) tag: 0x7f00000100001099 P#1: (127.0.0.1:32795) tag: 0x7f00000100011099 Slave 1/2 starting (tag=0x7f00000100011099)... UDP recv buffer successfully set to 139704 bytes slave connecting to 127.0.0.1:33197 UDP recv buffer successfully set to 139704 bytes Slave 0/2 starting (tag=0x7f00000100001099)... ENV parameter: GASNET_DISABLE_ENVDECODE = NO (default) ENV parameter: GASNET_DISABLE_ARGDECODE = NO (default) ENV parameter: GASNET_MAX_SEGSIZE = 2047 MB (default) ENV parameter: GASNET_DISABLE_MUNMAP = NO (default) AMUDP sendPacket returning an error code: AM_ERR_RESOURCE (Problem with requested resource) from function sendPacket at /home/eric/UPC/berkeley_upc-2.2.1/gasnet/other/amudp/amudp_reqrep.cpp:93 reason: Invalid argument AMUDP AMUDP_RequestGeneric returning an error code: AM_ERR_RESOURCE (Problem with requested resource) at /home/eric/UPC/berkeley_upc-2.2.1/gasnet/other/amudp/amudp_reqrep.cpp:1200 GASNet gasnetc_AMRequestShortM encountered an AM Error: AM_ERR_RESOURCE(3) at /home/eric/UPC/berkeley_upc-2.2.1/gasnet/udp-conduit/gasnet_core.c:564 GASNet gasnetc_AMRequestShortM returning an error code: GASNET_ERR_RESOURCE (Problem with requested resource) at /home/eric/UPC/berkeley_upc-2.2.1/gasnet/udp-conduit/gasnet_core.c:568 *** FATAL ERROR: GASNet encountered an error: GASNET_ERR_RESOURCE(3) while calling: gasnet_AMRequestShort4(peer, gasneti_handleridx(gasnete_ambarrier_notify_reqh), phase, 0, id, flags) at gasnete_barrier_notify() at /home/eric/UPC/berkeley_upc-2.2.1/gasnet/extended-ref/gasnet_extended_refbarrier.c:197 *** Caught a fatal signal: SIGABRT(6) on node 1/2 eric@penguin27 build $ md5sum /home/eric/UPC/build/hello 2aa560b77377dc7b00fc104fda004354 /home/eric/UPC/build/hello eric@penguin27 build $ ssh myth md5sum /home/eric/UPC/build/hello 2aa560b77377dc7b00fc104fda004354 /home/eric/UPC/build/hello eric@penguin27 build $ uname -a Linux penguin27 2.4.26-gentoo-r9 #2 Wed Dec 8 20:36:40 EST 2004 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz GenuineIntel GNU/Linux eric@penguin27 build $ ssh myth uname -a Linux myth 2.6.14-rc3 #3 SMP PREEMPT Sun Nov 13 13:01:55 EST 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux eric@penguin27 build $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 1 model name : Intel(R) Pentium(R) 4 CPU 1.50GHz stepping : 2 cpu MHz : 1495.165 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm bogomips : 2981.88 eric@penguin27 build $ ssh myth cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 1 cpu MHz : 2999.352 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl cid xtpr bogomips : 6005.66 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 1 cpu MHz : 2999.352 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl cid xtpr bogomips : 5997.64 eric@penguin27 build $ /lib/libc.so.6 | grep 'release version' GNU C Library stable release version 2.3.5, by Roland McGrath et al. eric@penguin27 build $ ssh myth /lib/libc.so.6 | grep 'release version' GNU C Library stable release version 2.3.5, by Roland McGrath et al. eric@penguin27 build $