>>>> Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --download-mpich --download-fblaslapack <<<<
Ok - so you've installed MPI via --download-mpich - so you need to use: >>> mpiexec: /home/skirthy/petsc/arch-linux-c-debug/bin/mpiexec <<< [likely mpiexec used below is a different one] Satish On Sat, 31 Jan 2026, Srinivas Kirthy K wrote: > Hi, > > I'm new to PETSc. > > I was able to compile ex50.c using: > *cd petsc/src/ksp/ksp/tutorials* > *make ex50* > > When I run: *mpiexec -n 1 ./ex50 -da_grid_x 4 -da_grid_y 4 -mat_view* > > I get the error message in *PETSC_mpiexec_error.txt *(attached) > > I've defined these in the ~/.bashrc: > > *export PETSC_DIR=$HOME/petsc # added on 31/01/2026 to define PETSC > locationexport PETSC_ARCH=arch-linux-c-debug* > > Can you help me fix this? > > I've attached the *configure.log* file as well. > > Thanks in advance. > >
