[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mpirun and --allow-run-as-root



On 2024-09-22 10:09, PICCA Frederic-Emmanuel wrote:
Hello, I try to fix the compilation of bitshuffle due to the openmpi 32bit removal.

In my code I have this

mpirun --allow-run-as-root ..

but this does not work with mpich

mpirun --allow-run-as-root -n 1 dh_auto_test
[mpiexec@runner-f0fdd533-project-37906-concurrent-0] match_arg (lib/utils/args.c:166): unrecognized argument allow-run-as-root


I'd suggest just try it without the option. The option is specific to openmpi, does mpich even have the same problem running as root? I suspect its fine.

Another workaround around is use the OMPI_ environment variables rather than the command line option to control openmpi behaviour. Then mpich can ignore them.

Drew


Reply to: