Skip to content

Variable mpich is not defined #18

@efaulhaber

Description

@efaulhaber

This variable is only defined here

tmpi/tmpi

Lines 11 to 13 in f5a0fd8

check_mpirun() {
mpich=$(${mpirun_cmd} --version |grep -i -e HYDRA -e Intel)
openmpi=$(${mpirun_cmd} --version |grep -i "Open MPI")

and doesn't exist here

tmpi/tmpi

Lines 108 to 112 in f5a0fd8

if [ -n "${mpich}" ]; then
mpi_env="-e MPI -e HYD -e PMI"
else
mpi_env="-e MPI -e OPAL -e PMIX"
fi

or here

tmpi/tmpi

Lines 237 to 241 in f5a0fd8

if [ -n "${mpich}" ]; then
mpi_arg="" # used to be -pmi-port
else
mpi_arg="--oversubscribe"
fi

This causes tmpi to fail with MPICH, as --oversubscribe doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions