SCOREC / core

parallel finite element unstructured meshes
Other
181 stars 63 forks source link

ctest failures with simmodsuite 2024.1-240606dev #434

Closed cwsmith closed 2 months ago

cwsmith commented 3 months ago

There are test failures when building against the latest Simmetrix SimModSuite development version: 2024.1-240606dev

SCOREC RHEL9 environment

module use /opt/scorec/spack/rhel9/v0201_4/lmod/linux-rhel9-x86_64/Core/
module load gcc/12.3.0-iil3lno mpich/4.1.1-xpoyz4t cmake
module load zoltan
module load simmetrix-simmodsuite/2024.1-240606dev-pi7eze2

cmake command and output

$ cmake -S /space/cwsmith/pumiTestRhel9Sim/core -B buildPumiOptonSimonOmegaoff -DBUILD_SHARED_LIBS=off -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_Fortran_COMPILER=gfortran -DSCOREC_CXX_OPTIMIZE=on -DSCOREC_EXTRA_CXX_FLAGS= -DVALGRIND= -DVALGRIND_ARGS= -DMDS_ID_TYPE=int -DPCU_COMPRESS=ON -DENABLE_ZOLTAN=ON -DPUMI_FORTRAN_INTERFACE=off -DENABLE_OMEGA_H=off -DIS_TESTING=ON -DENABLE_SIMMETRIX=on -DSKIP_SIMMETRIX_VERSION_CHECK=on -DENABLE_FIELDSIM=OFF -DSIM_M
PI=mpich4.1.1 -DSIM_PARASOLID=on -DSIM_ACIS=on -DMESHES=/space/cwsmith/pumiTestRhel9Sim/core/pumi-meshes/ -DCMAKE_INSTALL_PREFIX=buildPumiOptonSimonOmegaoff/install                                                                                          

-- The CXX compiler identification is GNU 12.3.0                                                                                                                                                                                                                                                                                                                                             
-- The C compiler identification is GNU 12.3.0                                                                                                                                                
-- Detecting CXX compiler ABI info                                                                                                                                                                                                                                                                                                                                                           
-- Detecting CXX compiler ABI info - done                                                                                                                                                                                                                                                                                                                                                    
-- Check for working CXX compiler: /opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/mpich-4.1.1-xpoyz4tqgfxtrm6m7qq67q4ccp5pnlre/bin/mpicxx - skipped                    
-- Detecting CXX compile features                                                                                                                                                                                                                                                                                                                                                            
-- Detecting CXX compile features - done                                                                                                                                                                                                                                                                                                                                                     
-- Detecting C compiler ABI info                                                                                                                                                              
-- Detecting C compiler ABI info - done                    
-- Check for working C compiler: /opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/mpich-4.1.1-xpoyz4tqgfxtrm6m7qq67q4ccp5pnlre/bin/mpicc - skipped                                                                       
-- Detecting C compile features                            
-- Detecting C compile features - done                       
-- CMAKE_VERSION: 3.26.3                                    
-- SCOREC_VERSION: 2.2.8                                    
-- BUILD_TESTING: OFF                                               
-- CMAKE_INSTALL_PREFIX: /space/cwsmith/pumiTestRhel9Sim/buildPumiOptonSimonOmegaoff/install
-- ENABLE_CGNS: OFF                     
-- BUILD_SHARED_LIBS: off                                                                                                                                                                     
-- CMAKE_CXX_FLAGS:  -O2 -g                             
-- CMAKE_CXX_FLAGS =  -O2 -g 
-- Try C99 C flag = [ ]                                     
-- Performing Test C99_FLAG_DETECTED                   
-- Performing Test C99_FLAG_DETECTED - Success         
-- CMAKE_C_FLAGS =    -O2 -g                                                          
-- IS_TESTING: ON                                             
-- MESHES: /space/cwsmith/pumiTestRhel9Sim/core/pumi-meshes/
-- BUILD_EXES: ON                                           
-- PUMI_FORTRAN_INTERFACE: off                              
-- PUMI_PYTHON_INTERFACE: OFF                                   
-- MPIRUN: /opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/mpich-4.1.1-xpoyz4tqgfxtrm6m7qq67q4ccp5pnlre/bin/mpirun -np                                                  
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)                                                                                                                                                                                                                                                                                                                                      
-- ENABLE_SIMMETRIX: on                                                                                                                                                                                                                                                                                                                                                                      
-- ENABLE_CAPSTONE: OFF                                                                                                                                                                                                                                                                                                                                                                      
-- ENABLE_OMEGA_H: off                                                                                                                                                                                                                                                                                                                                                                       
-- ENABLE_FPP: OFF                                                                                                                                                                                                                                                                                                                                                                           
-- Skipping Simmetrix SimModSuite version check. This may result in undefined behavior                                                                                                                                                                                                                                                                                                       
-- Building with SimModSuite 2024.1.240606                                                                                                                                                                                                                                                                                                                                                   
-- SIM_ARCHOS x64_rhel8_gcc83                                  
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD                       
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success                      
-- Found Threads: TRUE                                             
-- Found XDR_LIB /opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/libtirpc-1.2.6-k2lf3byep5phz3y6ei7xm4pdbw5jwusn/lib/libtirpc.a                                                                                         
-- Found SimModSuite: /opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimPartitionedMesh-mpi.a;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimAdvMeshing.a;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-sim
modsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimField.a;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimDiscrete.a;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimParasolid361.a;/opt/scorec/spack/rhe
l9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/psKrnl/libpskernel.so;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimAcis2023.a;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6
ln5t3nz/lib/x64_rhel8_gcc83/acisKrnl/libSpaACIS.so;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimPartitionedMesh-mpi.a;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimPartitionWrapper-mpich4.1.1.a;/opt/scorec/spack/rhel9/v0201_4/insta
ll/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimMeshing.a;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8_gcc83/libSimMeshTools.a;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/simmetrix-simmodsuite-2024.1-240606dev-pi7eze2yb4p5hxnpnkijhnve6ln5t3nz/lib/x64_rhel8
_gcc83/libSimModel.a;/opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/libtirpc-1.2.6-k2lf3byep5phz3y6ei7xm4pdbw5jwusn/lib/libtirpc.a                                                                                     
-- LION_COMPRESS: OFF                                         
-- PCU_COMPRESS: ON                                            
-- Looking for mallinfo                                          
-- Looking for mallinfo - found                                        
-- Looking for mallinfo2                                                                                                                                                                      
-- Looking for mallinfo2 - found                                                                                                                                                              
-- Looking for mallctl                                           
-- Looking for mallctl - not found                                  
-- Found BZip2: /opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/bzip2-1.0.8-6v4gzh2w56uiczt3btquuofjwoeb4ham/lib/libbz2.a (found version "1.0.8")                                                                       
-- Looking for BZ2_bzCompressInit                                
-- Looking for BZ2_bzCompressInit - found                         
-- ENABLE_FIELDSIM: OFF                                           
-- MDS_SET_MAX: 256                                             
-- MDS_ID_TYPE: int                                                    
-- ENABLE_ZOLTAN: ON                                                 
-- Found Parmetis: /opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/parmetis-4.0.3-yyczvvlsvs5skddbpr5vr4z63fkdt3ks/lib/libparmetis.so                                                                                   
-- Found Zoltan: /opt/scorec/spack/rhel9/v0201_4/install/linux-rhel9-x86_64/gcc-12.3.0/zoltan-3.83-hap4ggobtwhwfyomngnpc6chrqbrsbnr/lib/libzoltan.so                                                                                          
-- Looking for clock_gettime                                                                                           
-- Looking for clock_gettime - found                                                                                   
-- ENABLE_STK: OFF                                                                                                                                                                            
-- ENABLE_STK_MESH: OFF                                                                                                
-- ENABLE_DSP: OFF                                                                                                     
-- Configuring done (1.4s)                                                                                             
-- Generating done (0.6s)                                                                                              
CMake Warning:                                                                                                         
  Manually-specified variables were not used by the project:                                                           

    CMAKE_Fortran_COMPILER                                                                                             

-- Build files have been written to: /space/cwsmith/pumiTestRhel9Sim/buildPumiOptonSimonOmegaoff

failed tests

The following tests FAILED:
         69 - test_residual_error_estimate (Failed)
        124 - parallel_meshgen (Failed)
        125 - parallel_meshgen_surf (Failed)
        126 - parallel_meshgen_vol (Failed)
        127 - parallel_meshgen_para (Failed)
        131 - curvedSphere (Failed)
        132 - highOrderSolutionTransfer (Failed)
        133 - curvedKova (Failed)
        134 - degen_shpere_full (Failed)
        135 - degen_shpere_no_north (Failed)
        136 - degen_shpere_vertical_slice (Failed)
        137 - crack_test (Failed)

test output

failedTests.log

cwsmith commented 3 months ago

May be a duplicate of https://github.com/SCOREC/core/issues/398

Angelyr commented 3 months ago

We found a difference between model id numbering in different simmoder versions. This is the model used in crack_test which has hard coded model ids:

image

We also found the curvedSphere test had a similar failure. The mesh had model ids embeded in it for classification and it fails in the same way; find(modelEntity). This indicates that either simmodsuite or the parasolid library has changed.

cwsmith commented 3 months ago

Support ticket submitted.

cwsmith commented 3 months ago

Support indicated that the Parasolid model ids ('tags') are not guaranteed to be the same between Parasolid versions and that if we need consistency we must also load the GeomSim .smd file.