Error occured when trying to run FedCV-objectdetection-MPI: bash run_simulation.sh [CLIENT_NUM]
mpirun has detected an attempt to run as root. Running at root is strongly discouraged as any mistake (e.g., in defining TMPDIR) or bug can result in catastrophic damage to the OS file system, leaving your system in an unusable state. You can override this protection by adding the --allow-run-as-root option to your cmd line. However, we reiterate our strong advice against doing so - please do so at your own risk.
I solved the problem by fixing the line of 6 in simulation.sh file into' $(which mpirun) --allow-run-as-root -np $PROCESS_NUM'
@ludabai FedML doesn't require root permission. I guess it's due to your system configuration for MPI. Are you using Windows?
I meet the same qusetion,and the error is “run_simulation.sh: 行 6:mpirun:未找到命令 ”。 I use your way but cannot solve the error!!! I want to know How can solve the error. thank you !!!
I meet the same qusetion,and the error is “run_simulation.sh: 行 6:mpirun:未找到命令 ”。 I use your way but cannot solve the error!!! I want to know How can solve the error. thank you !!!
I meet the same question, have you found a way to solve the error?