Replies: 8 comments 4 replies
-
I am not sure what's going on. Could you provide more detail (maybe on a simpler test like |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi again,
I am installing AMReX (commit 225c605 from Jan 2023) on another Red Hat Enterprise Linux Workstation release 7.9 (Maipo) platform. My cmake configuration script is shown below. The build with gcc is seamless - test_install and all ctests pass. The build with intel 2021 goes without errors and warnings but all tests fail. Attached are the log files from configuration, build, and install, as well the outputs from ‘make test_install’ and ‘cmake -V -R Parser’. Also attached are the Backtrace.0 and the output from ‘ldd amrex.so’. At this point am stuck and don’t know how to proceed. Could you advice, please?
cmake \
-DCMAKE_C_COMPILER=mpicc \
-DCMAKE_CXX_COMPILER=mpicxx \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DAMReX_DIFFERENT_COMPILER=ON \
-DAMReX_PLOTFILE_TOOLS=YES \
-DAMReX_ENABLE_TESTS=YES \
-DAMReX_TESTING=YES \
-DAMReX_HDF5=YES \
-DHDF5_C_COMPILER_EXECUTABLE=$HDF5_INSTALL/bin/h5pcc \
-DAMReX_MPI=YES \
-DAMReX_BUILD_SHARED_LIBS=YES \
../../distributions/amrex
From: Weiqun Zhang ***@***.***>
Reply-To: AMReX-Codes/amrex ***@***.***>
Date: Wednesday, January 25, 2023 at 12:06 PM
To: AMReX-Codes/amrex ***@***.***>
Cc: "Sariyski, Tzvetan Emilov" ***@***.***>, Author ***@***.***>
Subject: [EXTERNAL] Re: [AMReX-Codes/amrex] AMReX builds but some tests fail (Discussion #3103)
I am not sure what's going on. Could you provide more detail (maybe on a simpler test like 11 - LinearSolvers_ABecLaplacian_C (Failed)? If there is a Backtrace.0 file, could you show it? Is the error also std::bad_alloc?
—
Reply to this email directly, view it on GitHub<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAMReX-Codes%2Famrex%2Fdiscussions%2F3103%23discussioncomment-4780835&data=05%7C01%7Ctesari%40sandia.gov%7Cca0b1a16a5b7436c290008daff07528c%7C7ccb5a20a303498cb0c129007381b574%7C1%7C0%7C638102704171247728%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lcEb%2Bx2kRyXkFaVn18ttSsqjskBNe8kTq9K4mipxkW0%3D&reserved=0>, or unsubscribe<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUR7V3IYZUDGIL65DC6DPS3WUF2UXANCNFSM6AAAAAAUAXMLWU&data=05%7C01%7Ctesari%40sandia.gov%7Cca0b1a16a5b7436c290008daff07528c%7C7ccb5a20a303498cb0c129007381b574%7C1%7C0%7C638102704171247728%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=016gOnd8mE5tCEaZxY9ckZN9CApCGs3IN3W5qiLylp8%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Backtrace.0 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Sorry for the confusion. Backtrace.txt |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi,
I am using a cmake configuration file like the one listed below. On MacOS AMReX builds and all tests pass. On Red Hat Enterprise Linux Workstation release 7.9 (Maipo) AMReX build but eight tests fail:
For example,
2/13 Testing: MultiBlock_Advection
2/13 Test: MultiBlock_Advection
Command: "/ascldap/users/tesari/external/amrex/build_cee_gcc/Tests/MultiBlock/Advection/Test_MultiBlock_Advection"
Directory: /ascldap/users/tesari/external/amrex/build_cee_gcc/Tests/MultiBlock/Advection
"MultiBlock_Advection" start time: Jan 19 12:17 MST
Output:
MPI initialized with 1 MPI processes
MPI initialized with thread support level 0
AMReX (22.04-37-g3cc4a66759c9) initialized
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
SIGABRT
See Backtrace.0 file for details
application called MPI_Abort(comm=0x84000000, 6) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=6
:
system msg for write_line failure : Bad file descriptor
Test time = 18.87 sec
What do I miss? IAMReX builds without errors or warnings, s it safe to ignore these failures?
Thanks,
Ted
P.S. I am working on commit a5063a5 (development, origin/development from Jan 17 16:22:15 2023).
cmake
-DCMAKE_C_COMPILER=/projects/opsig/opt/gcc9.4/bin/mpicc
-DCMAKE_CXX_COMPILER=/projects/opsig/opt/gcc9.4/bin/mpicxx
-DCMAKE_Fortran_COMPILER=/projects/opsig/opt/gcc9.4/bin/mpif90
-DAMReX_PLOTFILE_TOOLS=YES
-DAMReX_ENABLE_TESTS=YES
-DAMReX_TESTING=YES
-DAMReX_HDF5=YES
-DHDF5_C_COMPILER_EXECUTABLE=/projects/opsig/opt/gcc9.4/hdf5-1.10.7/bin/h5pcc
-DAMReX_EXPORT_DYNAMIC=YES
-DAMReX_MPI_THREAD_MULTIPLE=YES
-DAMReX_AMRDATA=YES
-DAMReX_MPI=YES
-DAMReX_PIC=YES
-DAMReX_BUILD_SHARED_LIBS=YES
-DCMAKE_CXX_STANDARD=17
-DCMAKE_INSTALL_PREFIX=/projects/opsig/opt/gcc9.4/amrex
..
Beta Was this translation helpful? Give feedback.
All reactions