Skip to content

some errors when running with GPU #63

@zgq-gg

Description

@zgq-gg

We encountered some errors when running with GPU. Here are the results of the terminal output:

Image

This is my GPU compile instruction:
cmake -B build -DENABLE_MPI=ON -DENABLE_FORTRAN=OFF -D BLT_CXX_STD=c++17 -DCALIPER_DIR=/usr/local -DMFEM_DIR=/usr/local -DECMECH_DIR=/usr/local -DRAJA_DIR=/usr/local/lib/cmake/raja -D ENABLE_CUDA=ON -DENABLE_SNLS_V03=ON -DCMAKE_CUDA_ARCHITECTURES=70 -D PYTHON_EXECUTABLE=/usr/bin/python3.10 -DSNLS_DIR=/usr/local -D HYPRE_DIR=/usr/local/lib/cmake/HYPRE -D UMPIRE_DIR=/usr/local/lib/cmake/umpire -DCAMP_DIR=/usr/local/lib/cmake/camp -D ENABLE_TESTS=OFF -D BUILD_GTEST=OFF -D BUILD_TESTING=OFF -D ENABLE_GTEST=OFF -D ENABLE_OPENMP=ON -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/openmpi/lib -lmpi -lgomp -lgfortran" -D CMAKE_C_COMPILER=/bin/gcc -D CMAKE_CXX_COMPILER=/bin/g++ -D MPI_Fortran_COMPILER=/usr/local/openmpi/bin/mpifort -D CMAKE_CXX_FLAGS="-fPIC -std=c++17" -D CMAKE_C_FLAGS="-fPIC" -D CMAKE_CUDA_FLAGS="-restrict --expt-extended-lambda --expt-relaxed-constexpr -Xcompiler=-fPIC"

as well as the files and scripts I run

Image Image Image

element_region.txt
grain.txt
orientations.txt
props.txt
region_mapping.txt
regions.txt
state.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions