[petsc-users] 'mpirun' run not found error

Barry Smith bsmith at petsc.dev
Tue May 2 09:44:50 CDT 2023


   For any PETSc install you can run 

make getmpiexec 

in the PETSC_DIR directory to see how to use mpiexec for that PETSc install.

  Barry


> On May 2, 2023, at 2:56 AM, ­권승리 / 학생 / 항공우주공학과 <ksl7912 at snu.ac.kr> wrote:
> 
> Dear developers
> 
> I'm trying to use the mpi, but I'm encountering error messages like below:
> 
> ////////
> Command 'mpirun' not found, but can be installed with:
> sudo apt install lam-runtime       # version 7.1.4-6build2, or
> sudo apt install mpich             # version 3.3.2-2build1
> sudo apt install openmpi-bin       # version 4.0.3-0ubuntu1
> sudo apt install slurm-wlm-torque  # version 19.05.5-1
> //////////
> 
> However, I've already installed the mpich.
> cd $PETSC_DIR
> ./configure --download-mpich --with-debugging=0 COPTFLAGS='-O3 -march=native -mtune=native' CXXOPTFLAGS='-O3 -march=native -mtune=native' FOPTFLAGS='-O3 -march=native -mtune=native' --download-mumps --download-scalapack --download-parmetis --download-metis --download-parmetis --download-hpddm --download-slepc
> 
> Could you recommend some advice related to this?
> 
> Best,
> Seung Lee Kwon
> -- 
> Seung Lee Kwon, Ph.D.Candidate
> Aerospace Structures and Materials Laboratory
> Department of Mechanical and Aerospace Engineering
> Seoul National University
> Building 300 Rm 503, Gwanak-ro 1, Gwanak-gu, Seoul, South Korea, 08826
> E-mail : ksl7912 at snu.ac.kr <mailto:ksl7912 at snu.ac.kr>
> Office : +82-2-880-7389
> C. P : +82-10-4695-1062

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230502/59d41abf/attachment.html>


More information about the petsc-users mailing list