OPM / LBPM

Pore scale modelling
https://lbpm-sim.org/
GNU General Public License v3.0
69 stars 31 forks source link

ctest failed #89

Open gracoba opened 9 months ago

gracoba commented 9 months ago

Professor @JamesEMcClure ,

After finishing installing the GPU version, I got those errors. Could you help me to solve it?

The following tests FAILED:
          6 - TestFluxBC (Failed)
         27 - TestCommD3Q19_8procs (Failed)
         39 - test_MPI_4procs (Failed)

The detailed output is: erro_ctests.zip

My installation file:

#!/bin/bash
export LBPM_SOURCE=/scratch/petrobras/caio.santos/LBPM
export LBPM_DIR=/scratch/petrobras/caio.santos/LBPM_GPU
export CUDA_HOST_COMPILER=/scratch/app/gcc/9.3/bin

module purge
module load cmake/3.23.2
module load openmpi/gnu/4.1.4+cuda-11.2-pmix
module load openmpi/gnu/4.1.2+cuda-11.2
# module load hdf5

# -D CMAKE_CUDA_FLAGS="-arch sm_80 -Xptxas=-v -Xptxas -dlcm=cg -lineinfo -ccbin=/scratch/app/gcc/9.3/bin" \

rm -rf CMake* 
cmake                                           \
    -D CMAKE_BUILD_TYPE:STRING=Release          \
    -D CMAKE_C_COMPILER:PATH=mpicc              \
    -D CMAKE_CXX_COMPILER:PATH=mpicxx           \
    -D CMAKE_C_FLAGS="-fPIC"                    \
    -D CMAKE_CXX_FLAGS="-fPIC"                  \
    -D MPIEXEC=mpirun                       \
    -D USE_EXT_MPI_FOR_SERIAL_TESTS:BOOL=TRUE \
    -D CMAKE_CXX_STANDARD=14                \
    -D USE_CUDA=1                           \
        -D CMAKE_CUDA_FLAGS="-arch sm_80 -ccbin=/scratch/app/gcc/9.3/bin" \
        -D CUDA_HOST_COMPILER="/scratch/app/gcc/9.3/bin"            \
    -D USE_TIMER=0                              \
        -D TIMER_DIRECTORY=$LBPM_TIMER_DIR      \
    -D USE_NETCDF=0                             \
        -D NETCDF_DIRECTORY=$LBPM_NETCDF_DIR    \
    -D USE_SILO=0                               \
       -D HDF5_DIRECTORY=$LBPM_HDF5_DIR         \
    -D USE_DOXYGEN:BOOL=false                   \
    $LBPM_SOURCE

make -j20 -Wno-dev  && make  install