/usr/lib/petscdir/3.7.7/x86_64-linux-gnu-complex-debug/bin/petsc-mpiexec.uni is in libpetsc-complex-3.7.7-dbg 3.7.7+dfsg1-2build5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
if [ "$1" = "-hosts" ]; then
shift 2
fi
if [ "$1" = "-np" -o "$1" = "-n" ]; then
if [ "$2" = 1 ]; then
shift 2
else
echo "Uniprocessor version of MPI can only use one processor"
exit 1
fi
fi
# Execute the program with options
exec "$@"
|