<br><font size=2 face="sans-serif">Weikuan,</font>
<br>
<br><font size=2><tt>> <br>
> However, let us look into this slightly differently. Does the problem
 <br>
> happen to 2 processes on the same node too? If so, we can focus on
such </tt></font>
<br>
<br><font size=2><tt>No, when I run on only one machine (either one) I
can execute multiple copies of the jobs:</tt></font>
<br>
<br><font size=2><tt>[root@koa cpi]# mpirun_mpd -np 2 ./cpi</tt></font>
<br><font size=2><tt>pi is approximately 3.1416009869231241, Error is 0.0000083333333309</tt></font>
<br><font size=2><tt>wall clock time = 0.000088</tt></font>
<br><font size=2><tt>Process 0 on koa.az05.bull.com</tt></font>
<br><font size=2><tt>Process 1 on koa.az05.bull.com</tt></font>
<br><font size=2><tt>[root@koa cpi]# mpirun_mpd -np 4 ./cpi</tt></font>
<br><font size=2><tt>Process 0 on koa.az05.bull.com</tt></font>
<br><font size=2><tt>Process 1 on koa.az05.bull.com</tt></font>
<br><font size=2><tt>Process 2 on koa.az05.bull.com</tt></font>
<br><font size=2><tt>Process 3 on koa.az05.bull.com</tt></font>
<br><font size=2><tt>pi is approximately 3.1416009869231249, Error is 0.0000083333333318</tt></font>
<br><font size=2><tt>wall clock time = 0.000165</tt></font>
<br><font size=2><tt> <br>
> a case and get it cleared up first. Let us say we use `koa'. Could
you  <br>
> provide the following information to us? We can do that for  <br>
> mvapich-gen2 first, assuming the cause of the problem will be similar
 <br>
> for the other case.<br>
> <br>
> a) echo $LD_LIBRARY_PATH</tt></font>
<br>
<br><font size=2><tt>$LD_LIBRARY_PATH is null</tt></font>
<br><font size=2><tt><br>
> b) The modified build script. The template you used for mvapich-gen2
 <br>
> should be make.mvapich.gen2.<br>
> c) build/configure log file: config.log, make.log, etc.</tt></font>
<br>
<br><font size=2><tt>These files are attached below.</tt></font>
<br><font size=2><tt><br>
> d) The output of this command:<br>
> # mpicc -show -o cpi example/basic/cpi.c</tt></font>
<br>
<br><font size=2><tt>[root@koa mvapich-gen2]# mpicc -show -o cpi examples/basic/cpi.c</tt></font>
<br><font size=2><tt>gcc -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1
-c examples/basic/cpi.c -I/usr/local/mvapich/include</tt></font>
<br><font size=2><tt>gcc -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1
-L/usr/local/mvapich/lib cpi.o -o cpi -lmpich -L/usr/local/lib -Wl,-rpath=/usr/local/lib
-libverbs -lpthread</tt></font>
<br>
<br>
<br><font size=2><tt>Also here is the output of "ldd" on the
executable file:</tt></font>
<br>
<br><font size=2><tt>[root@koa mvapich-gen2]# ldd /home/ib/tests/mpi/cpi/cpi</tt></font>
<br><font size=2><tt>        libibverbs.so.1 =>
/usr/local/lib/libibverbs.so.1 (0x00002aaaaaaac000)</tt></font>
<br><font size=2><tt>        libpthread.so.0 =>
/lib64/tls/libpthread.so.0 (0x000000352cb00000)</tt></font>
<br><font size=2><tt>        libc.so.6 => /lib64/tls/libc.so.6
(0x000000352bc00000)</tt></font>
<br><font size=2><tt>        libsysfs.so.1 => /usr/lib64/libsysfs.so.1
(0x00000038b1900000)</tt></font>
<br><font size=2><tt>        libdl.so.2 => /lib64/libdl.so.2
(0x000000352bf00000)</tt></font>
<br><font size=2><tt>        /lib64/ld-linux-x86-64.so.2
(0x000000352ba00000)</tt></font>
<br>
<br><font size=2><tt><br>
        -Don Albert-</tt></font>
<br>
<br>
<br>