GEOS icon indicating copy to clipboard operation
GEOS copied to clipboard

[Bug] Fail compilation in debug mode on pangea3 with gcc/openmpi

Open XL64 opened this issue 2 years ago • 4 comments

Describe the bug Build failed in debug mode on pangea3

To Reproduce Steps to reproduce the behavior:

  1. Load the modules indicated in pangea3 host config
  2. Build GEOSX with that host-config

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

/appli_RD/ACS/pangea_co/workspace/GEOSX/03_GEOSX_checkout_PR/src/coreComponents/LvArray/src/indexing.hpp(194): error: calling a __host__ function("LvArray::ArrayOfSets<int, int,  ::LvArray::ChaiBuffer> ::ArrayOfSets") from a __host__ __device__ function("") is not allowed

/appli_RD/ACS/pangea_co/workspace/GEOSX/03_GEOSX_checkout_PR/src/coreComponents/LvArray/src/indexing.hpp(194): error: calling a __host__ function("LvArray::ArrayOfSets<int, int,  ::LvArray::ChaiBuffer> ::ArrayOfSets") from a __host__ __device__ function("") is not allowed

2 errors detected in the compilation of "/appli_RD/ACS/pangea_co/workspace/GEOSX/03_GEOSX_checkout_PR/src/coreComponents/mesh/EdgeManager.cpp".

Platform (please complete the following information):

  • Machine: Pangea3
  • Compiler: [gcc 8.4.1
  • GEOSX Version develop Additional context

XL64 avatar Sep 16 '22 07:09 XL64

Do you have the command line that fails?

TotoGaz avatar Sep 19 '22 03:09 TotoGaz

Yes : make -C /scratch/users/j0489939/builds-jenkins/geosx/build/origin/develop-54-15d221c45e87e60f7982630319a2e0a8dd7cd141-PR-2032/build-pangea3-gcc8.4.1-openmpi-4.1.2-debug It's launch within my Jenkins. Not sure if it passed before or if I never checked it correctly... I didn't find any working log.

XL64 avatar Sep 19 '22 07:09 XL64

I mean, do you know which file is not compiling?

TotoGaz avatar Sep 19 '22 15:09 TotoGaz

Yes it's /src/coreComponents/mesh/EdgeManager.cpp

XL64 avatar Sep 19 '22 15:09 XL64

@XL64 Is this still relevant?

TotoGaz avatar Feb 10 '23 16:02 TotoGaz