【问题标题】:"make test" output errors command after installed preCICE on Centos 7在 Centos 7 上安装 preCICE 后“make test”输出错误命令
【发布时间】:2019-12-16 07:21:00
【问题描述】:

在 Centos 7 上的 preCICE 中运行 make test 命令后出现以下错误。有人遇到过这个问题吗?

谢谢你...

构建时的cmake参数

 cmake3 .. -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Debug -DMPI=ON 
-DMPIEXEC_EXECUTABLE=/opt/ohpc/pub/mpi/openmpi3-gnu8/3.1.4/bin/mpiexec 
-DCMAKE_INSTALL_PREFIX=/opt $PRECICE_ROOT
[root@headnode build]# make test 

Running tests...
Test project /opt/precice-1.6.1/build
    Start 1: precice.Base
1/4 Test #1: precice.Base .....................***Failed    0.01 sec
    Start 2: precice.MPI_Ports 
2/4 Test #2: precice.MPI_Ports ................***Failed    0.01 sec
    Start 3: precice.PetRBFParallel
3/4 Test #3: precice.PetRBFParallel ...........***Failed    0.01 sec
    Start 4: precice.NoMPI
4/4 Test #4: precice.NoMPI ....................   Passed    4.09 sec

25% tests passed, 3 tests failed out of 4

Label Time Summary:
canfail    =   0.02 sec*proc (2 tests)

Total Test time (real) =   4.14 sec

The following tests FAILED:
      1 - precice.Base (Failed)
      2 - precice.MPI_Ports (Failed)
      3 - precice.PetRBFParallel (Failed)
Errors while running CTest
make: *** [test] Error 8

【问题讨论】:

    标签: linux centos7 hpc


    【解决方案1】:

    在以 root 身份运行测试之前,请输入以下内容:

    导出 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 导出 OMPI_ALLOW_RUN_AS_ROOT=1

    【讨论】:

      猜你喜欢
      • 2018-10-09
      • 1970-01-01
      • 2014-12-02
      • 2016-04-21
      • 2015-10-21
      • 2021-10-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多