/usr/lib/petscdir/3.7.5/x86_64-linux-gnu-complex-debug/bin/petsc-mpiexec.uni is in libpetsc-complex-3.7.5-dbg 3.7.5+dfsg1-4+b1.
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 "$@"
|