Skip to content

RFE: Detect when OpenMPI is run as root in test suite and pass appropriate flags #520

Closed
@ghost

Description

Avg response time
Issue Stats

EDITED/UPDATED by @zbeekman 2018-03-27

Request for Enhancement (RFE, AKA feature request)

Patch... to insert "--allow-run-as-root" [when running test suite with OpenMPI].

Old bug report text (now outdated/resolved):

Defect/Bug Report

  • OpenCoarrays Version:
# ./install.sh --version
OpenCoarrays 2.0.0
  • Fortran Compiler:
-- The Fortran compiler identification is GNU 7.3.0
-- Check for working Fortran compiler: /usr/local/bin/gfortran7
-- Check for working Fortran compiler: /usr/local/bin/gfortran7  -- works
  • C compiler used for building lib:
-- The C compiler identification is Clang 4.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works

  • Installation method: FreeBSD make under ports tree

  • Output of uname -a:

# uname -a
FreeBSD 11.1-RELEASE-p8 #0: Tue Mar 13 17:07:05 UTC 2018     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64
# 
  • MPI library being used:
-- Found MPI_C: /usr/local/mpi/openmpi/lib/libmpi.so (found version "3.0")
-- Found MPI_Fortran: /usr/local/mpi/openmpi/lib/libmpi_usempi.so (found version "3.0")
-- Found MPI: TRUE (found version "3.0")
-- MPI runtime and compile time environments appear to be consistent
-- Performing Test MPI_C_COMPILES
-- Performing Test MPI_C_COMPILES - Success
-- Performing Test MPI_Fortran_MODULE_COMPILES
-- Performing Test MPI_Fortran_MODULE_COMPILES - Success
-- Performing Test MPI_Fortran_INCLUDE_COMPILES
-- Performing Test MPI_Fortran_INCLUDE_COMPILES - Success
-- OpenMPI detected
  • Machine architecture and number of physical cores:

amd64 (x86-64), tried on 2 or 4 core laptops.

  • Version of CMake:
# cmake --version
cmake version 3.10.1

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions