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, 권승리 / 학생 / 항공우주공학과 <[email protected]> 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 : [email protected] <mailto:[email protected]> > Office : +82-2-880-7389 > C. P : +82-10-4695-1062
