<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div> For any PETSc install you can run <div><br></div><div>make getmpiexec </div><div><br></div><div>in the PETSC_DIR directory to see how to use mpiexec for that PETSc install.</div><div><br></div><div> Barry</div><div><br><div><br><blockquote type="cite"><div>On May 2, 2023, at 2:56 AM, 권승리 / 학생 / 항공우주공학과 <ksl7912@snu.ac.kr> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">Dear developers<div><br></div><div>I'm trying to use the mpi, but I'm encountering error messages like below:</div><div><br></div><div>////////</div><div>Command 'mpirun' not found, but can be installed with:<br>sudo apt install lam-runtime # version 7.1.4-6build2, or<br>sudo apt install mpich # version 3.3.2-2build1<br>sudo apt install openmpi-bin # version 4.0.3-0ubuntu1<br>sudo apt install slurm-wlm-torque # version 19.05.5-1<br clear="all"><div>//////////</div><div><br></div><div>However, I've already installed the mpich.</div><div>cd $PETSC_DIR</div><div>./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<br></div><div><br></div><div>Could you recommend some advice related to this?</div><div><br></div><div>Best,</div><div>Seung Lee Kwon</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Seung Lee Kwon, Ph.D.Candidate</div><div>Aerospace Structures and Materials Laboratory</div><div>Department of Mechanical and Aerospace Engineering</div><div>Seoul National University</div><div>Building 300 Rm 503, Gwanak-ro 1, Gwanak-gu, Seoul, South Korea, 08826</div><div>E-mail : <a href="mailto:ksl7912@snu.ac.kr" target="_blank">ksl7912@snu.ac.kr</a></div><div>Office : +82-2-880-7389</div><div>C. P : +82-10-4695-1062</div></div></div></div></div>
</div></blockquote></div><br></div></body></html>