<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Hui,<div>Here are the outputs. I tried the following commands</div><div>mpirun --version<br></div><div>./cpi<br></div><div><div>mpirun ./cpi</div></div><div><div>mpirun -np 1 ./cpi</div></div><div><br></div><div><div>[vy57456@maya-usr1 em_real]$mpirun --version</div><div>HYDRA build details:</div><div> Version: 3.2.1</div><div> Release Date: Fri Nov 10 20:21:01 CST 2017</div><div> CC: gcc </div><div> CXX: g++ </div><div> F77: gfortran </div><div> F90: gfortran </div><div> Configure options: '--disable-option-checking' '--prefix=/umbc/xfs1/zzbatmos/users/vy57456/application/gfortran/mpich-3.2.1' 'CC=gcc' 'CXX=g++' 'FC=gfortran' 'F77=gfortran' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS= -O2' 'LDFLAGS=' 'LIBS=-lpthread ' 'CPPFLAGS= -I/home/vy57456/zzbatmos_user/application/gfortran/source_code/mpich-3.2.1/src/mpl/include -I/home/vy57456/zzbatmos_user/application/gfortran/source_code/mpich-3.2.1/src/mpl/include -I/home/vy57456/zzbatmos_user/application/gfortran/source_code/mpich-3.2.1/src/openpa/src -I/home/vy57456/zzbatmos_user/application/gfortran/source_code/mpich-3.2.1/src/openpa/src -D_REENTRANT -I/home/vy57456/zzbatmos_user/application/gfortran/source_code/mpich-3.2.1/src/mpi/romio/include' 'MPLLIBNAME=mpl'</div><div> Process Manager: pmi</div><div> Launchers available: ssh rsh fork slurm ll lsf sge manual persist</div><div> Topology libraries available: hwloc</div><div> Resource management kernels available: user slurm ll lsf sge pbs cobalt</div><div> Checkpointing libraries available: </div><div> Demux engines available: poll select</div></div><div><br></div><div><br></div><div><div>[vy57456@maya-usr1 examples]$./cpi</div><div>Process 0 of 1 is on maya-usr1</div><div>pi is approximately 3.1415926544231341, Error is 0.0000000008333410</div><div>wall clock time = 0.000066</div></div><div><br></div><div><br></div><div><div>[vy57456@maya-usr1 examples]$mpirun ./cpi</div><div>Process 0 of 1 is on maya-usr1</div><div>pi is approximately 3.1415926544231341, Error is 0.0000000008333410</div><div>wall clock time = 0.000095</div></div><div><br></div><div><div>[vy57456@maya-usr1 examples]$mpirun -np 1 ./cpi</div><div>Process 0 of 1 is on maya-usr1</div><div>pi is approximately 3.1415926544231341, Error is 0.0000000008333410</div><div>wall clock time = 0.000093</div></div><div><br></div><div>There is no error.</div><div><br></div><div>Zhifeng</div><div><br></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 19, 2018 at 10:33 AM Zhou, Hui <<a href="mailto:zhouh@anl.gov">zhouh@anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Nov 19, 2018 at 10:14:54AM -0500, Zhifeng Yang wrote:<br>
>Thank you for helping me on this error. Actually, real.exe is a portion of<br>
>a very large weather model. It is very difficult to extract it or duplicate<br>
>the error in a simple fortran code, since I am not sure where the problem<br>
>is. From your discussion, I barely can understand them, in fact. Even I do<br>
>not know what is "_get_addr". Is it related to MPI?<br>
<br>
It is difficult to pin-point the problem without reproducing it. <br>
<br>
Anyway, let's start with mpirun. What is your output if you try:<br>
<br>
mpirun --version<br>
<br>
Next, what is your mpich version? If you built mpich, locate the `cpi` <br>
program in the examples folder and try `./cpi` and `mpirun ./cpi`. Do <br>
you have error?<br>
<br>
-- <br>
Hui Zhou<br>
</blockquote></div>