-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Detect when OpenMPI is run as root in test suite and pass appropriate flags #520
Comments
Easy: OpenMPI does not like running tests as root:
Questions:
Anton |
Hi Anton, Am I understanding you correctly? i.e., You have found the source of this issue (running as root) Is OpenCoarrays 2.x otherwise functional on FreeBSD? To answer your questions:
yes, we typically run tests as an unprivileged user, and test mostly with MPICH, but also test a little with Clang & OpenMPI on macOS (administrator user, but not ROOT)
Yes, that's a decent idea: have the cafrun script detect when being invoked as root with OpenMPI and pass the Thanks, |
On Mon, Mar 26, 2018 at 04:40:35PM +0000, zbeekman wrote:
Hi Anton,
Am I understanding you correctly?
i.e., You have found the source of this issue (running as root)
Yes
Is OpenCoarrays 2.x otherwise functional on FreeBSD?
Seems so
To answer your questions:
> Questions:
>
> How do you guys run tests with OpenMPI on linux?
> As an unprivileged user?
yes, we typically run tests as an unprivileged user, and test mostly with MPICH, but also test a little with Clang & OpenMPI on macOS (administrator user, but not ROOT)
>
> Patching to insert "--allow-run-as-root" is a possibility, but,
> of course it would be better to somehow teach tell the FreeBSD
> ports builder to run the tests as an unprivileged user.
Yes, that's a decent idea: have the cafrun script detect when being invoked as root with OpenMPI and pass the `--allow-run-as-root` flag. I'll try to patch this soon, with #467
Thanks
Anton
|
EDITED/UPDATED by @zbeekman 2018-03-27
Request for Enhancement (RFE, AKA feature request)
Old bug report text (now outdated/resolved):
Defect/Bug ReportInstallation method: FreeBSD make under ports tree
Output of
uname -a
:amd64 (x86-64), tried on 2 or 4 core laptops.
Full build log:
https://seis.bristol.ac.uk/~mexas/oca-2.0.0-openmpi.log
make test errors:
https://seis.bristol.ac.uk/~mexas/make.test
The text was updated successfully, but these errors were encountered: