<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;"><br><div><blockquote type="cite"><div>On 2 May 2023, at 8: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></div></div></blockquote><div><br></div><div>Most likely you do not want to run mpirun, but ${PETSC_DIR}/${PETSC_ARCH}/bin/mpirun instead.</div><div>Or add ${PETSC_DIR}/${PETSC_ARCH}/bin to your PATH environment variable.</div><div><br></div><div>Thanks,</div><div>Pierre</div><br><blockquote type="cite"><div><div dir="ltr"><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></body></html>