# Mpiexec error during make check for gmx\_mpi

**URL:** <https://gromacs.bioexcel.eu/t/mpiexec-error-during-make-check-for-gmx-mpi/5348>\
**Category:** User discussions\
**Tags:** gmxapi\
**Created:** [December 1, 2022, 5:32pm UTC](https://gromacs.bioexcel.eu/t/mpiexec-error-during-make-check-for-gmx-mpi/5348 "2022-12-01T17:32:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abrol](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@abrol](https://gromacs.bioexcel.eu/u/abrol)\
**Post date:** [December 1, 2022, 5:32pm UTC](https://gromacs.bioexcel.eu/t/mpiexec-error-during-make-check-for-gmx-mpi/5348/1 "2022-12-01T17:32:47Z")

</div>

GROMACS version: 2022.4  
GROMACS modification: No

Background:  
I have compiled and tested (no errors) the gmx successfully.  
I have compiled gmx\_mpi successfully I think.

## Problem: When I run, “make check”, I get the following Failed message for many tests: \<\<\< Test project /usr/local/downloads/gromacs-2022.4/build Start 1: GmxapiExternalInterfaceTests 1/90 Test #1: GmxapiExternalInterfaceTests … Passed 3.67 sec Start 2: GmxapiMpiTests 2/90 Test #2: GmxapiMpiTests …\*\*\*Failed 0.02 sec

A prefix was supplied to mpiexec that only contained slashes.

## This is a fatal error; mpiexec will now abort. No processes were launched.

> > >

I get this error on both ubuntu and debian boxes. I haven’t been able to find a solution. I am hoping the developers and/or users here may have seen this and may have a solution.

Thanks,  
Ravi

---

<div class="post-metadata">

**Author:** ![ericirrgang](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/ericirrgang/32/438_2.png) [@ericirrgang](https://gromacs.bioexcel.eu/u/ericirrgang)\
**Post date:** [December 2, 2022, 11:18am UTC](https://gromacs.bioexcel.eu/t/mpiexec-error-during-make-check-for-gmx-mpi/5348/2 "2022-12-02T11:18:26Z")

</div>

How many tests fail? Presumably all of the MPI tests?

I don’t think the gromacs CTest stuff inserts the `--prefix` flag explicitly.  
This might be relevant: [openmpi - Open MPI + Scalasca :Can not run mpirun command with option --prefix - Stack Overflow](https://stackoverflow.com/a/37111721/5351807)

Are you using OpenMPI or MPICH (or something else)? Is this an HPC environment or a desktop/workstation?

Maybe [FindMPI — CMake 3.25.1 Documentation](https://cmake.org/cmake/help/latest/module/FindMPI.html) needs a hint? ( `MPIEXEC_EXECUTABLE` or `MPI_HOME`)
