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

Pierre Jolivet pierre.jolivet at lip6.fr
Tue May 2 02:01:11 CDT 2023


> On 2 May 2023, at 8: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?

Most likely you do not want to run mpirun, but ${PETSC_DIR}/${PETSC_ARCH}/bin/mpirun instead.
Or add ${PETSC_DIR}/${PETSC_ARCH}/bin to your PATH environment variable.

Thanks,
Pierre

> 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/84805655/attachment.html>


More information about the petsc-users mailing list