Well, do you have more than one MPI library installed? If yes, you
need to address that by removing one of them.

You can check if a simple hello world MPI program compiles and runs
correctly. See for example
https://urldefense.proofpoint.com/v2/url?u=http-3A__mpitutorial.com_tutorials_mpi-2Dhello-2Dworld_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=xqP0pwi1MCtRPItXgJGYSlWmAdkua1-iL_svoI2Icgg&s=uE9uaCa2RV_G7HtjV6sxyfx9GduRM9wHUH-EOF3VvNM&e=
 

On Thu, Oct 26, 2017 at 6:38 PM, Michael <michael2...@gmail.com> wrote:
> Hi,
>
> Test 4 failed after make test. I make my research and find the following
> answer:
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msg_dealii_mV-2DjuFpnybA_DSBP4DArCQAJ&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=xqP0pwi1MCtRPItXgJGYSlWmAdkua1-iL_svoI2Icgg&s=b_s_RUQD1qLw_eZ_t42IRcNKemfVWZIUnPr0jIQTF5c&e=
>  
>
> I guess it may be caused by different version of MPI. And I get the
> following return of suggested command:
>
> ************************************************************************************************
> mpirun -n 2 ./mpi.debug
>  Hi from 0/1
>  Hi from 0/1
> ERROR: process does not see nproc=2!
> ERROR: process does not see nproc=2!
> -------------------------------------------------------
> Primary job  terminated normally, but 1 process returned
> a non-zero exit code.. Per user-direction, the job has been aborted.
> -------------------------------------------------------
> --------------------------------------------------------------------------
> mpirun detected that one or more processes exited with non-zero status, thus
> causing
> the job to be terminated. The first process to do so was:
>
>   Process name: [[18180,1],0]
>   Exit code:    255
> ************************************************************************************************
>  mpiexec -n 2 ./mpi.debug
>  Hi from 0/1
>  Hi from 0/1
> ERROR: process does not see nproc=2!
> ERROR: process does not see nproc=2!
> -------------------------------------------------------
> Primary job  terminated normally, but 1 process returned
> a non-zero exit code.. Per user-direction, the job has been aborted.
> -------------------------------------------------------
> --------------------------------------------------------------------------
> mpiexec detected that one or more processes exited with non-zero status,
> thus causing
> the job to be terminated. The first process to do so was:
>
>   Process name: [[18211,1],0]
>   Exit code:    255
> ************************************************************************************************
> which mpirun
> /usr/bin/mpirun
> ************************************************************************************************
> which mpiexec
> /usr/bin/mpiexec
> ************************************************************************************************
>
> Please tell me how to solve this(how to choose the correct mpi compiler)? Do
> I need to reinstall dealii and trilinos? Thanks!
>
> --
> The deal.II project is located at 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=xqP0pwi1MCtRPItXgJGYSlWmAdkua1-iL_svoI2Icgg&s=UIJ0hYC1YEmLHJ5Djjsj_XcW_2LGt7Q5raqDotwhhac&e=
>  
> For mailing list/forum options, see
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=xqP0pwi1MCtRPItXgJGYSlWmAdkua1-iL_svoI2Icgg&s=JKE6aBeInND4IfgBW9RSAgN9OCmcy2saC2mphp8BAMM&e=
>  
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> For more options, visit 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=xqP0pwi1MCtRPItXgJGYSlWmAdkua1-iL_svoI2Icgg&s=Eq64x4K04k3VFV3CDPo-vz5RrxJJmqZn3nruLvMycQY&e=
>  .



-- 
Timo Heister
http://www.math.clemson.edu/~heister/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to