=== If no file names and line numbers are shown below, one can run addr2line -Cpfie my_exefile my_line_address to convert `my_line_address` (e.g., 0x4a6b) into file name and line number. Or one can use amrex/Tools/Backtrace/parse_bt.py. === Please note that the line number reported by addr2line may not be accurate. One can use readelf -wl my_exefile | grep my_line_address' to find out the offset for that line. 0: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x5bf976] amrex::BLBackTrace::print_backtrace_info(_IO_FILE*) /raid/testing/castro-gfortran/amrex//Src/Base/AMReX_BLBackTrace.cpp:179:39 1: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x5c1aed] amrex::BLBackTrace::handler(int) /raid/testing/castro-gfortran/amrex//Src/Base/AMReX_BLBackTrace.cpp:85:15 2: /lib64/libc.so.6(+0x3da60) [0x7f6388090a60] __restore_rt ??:0 3: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x4327a5] operator() inlined at /raid/testing/castro-gfortran/amrex//Src/Base/AMReX_GpuLaunchFunctsC.H:29:10 in Castro::reset_internal_energy(amrex::Box const&, amrex::Array4) /raid/testing/castro-gfortran/Castro//Source/driver/Castro.cpp:3723:34 call_f):: > /raid/testing/castro-gfortran/amrex//Src/Base/AMReX_GpuLaunchFunctsC.H:29:10 ParallelFor):: > /raid/testing/castro-gfortran/amrex//Src/Base/AMReX_GpuLaunchFunctsC.H:119:23 Castro::reset_internal_energy(amrex::Box const&, amrex::Array4) /raid/testing/castro-gfortran/Castro//Source/driver/Castro.cpp:3719:23 4: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x43df71] Castro::reset_internal_energy(amrex::MultiFab&, int) /raid/testing/castro-gfortran/Castro//Source/driver/Castro.cpp:3800:62 5: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x43e36d] Castro::computeTemp(amrex::MultiFab&, double, int) /raid/testing/castro-gfortran/Castro//Source/driver/Castro.cpp:4018:42 6: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x43f91b] std::_Vector_base, std::allocator > >::_Vector_impl_data::_Vector_impl_data() inlined at /usr/include/c++/10/bits/stl_vector.h:137:22 in Castro::initData() /usr/include/c++/10/bits/stl_vector.h:98:47 std::_Vector_base, std::allocator > >::_Vector_impl::_Vector_impl(std::allocator > const&) /usr/include/c++/10/bits/stl_vector.h:137:22 std::_Vector_base, std::allocator > >::_Vector_base(unsigned long, std::allocator > const&) /usr/include/c++/10/bits/stl_vector.h:304:20 std::vector, std::allocator > >::vector(unsigned long, std::allocator > const&) /usr/include/c++/10/bits/stl_vector.h:511:47 amrex::Vector, std::allocator > >::vector(unsigned long, std::allocator > const&) /raid/testing/castro-gfortran/amrex//Src/Base/AMReX_Vector.H:31:38 amrex::ReduceData::ReduceData(amrex::ReduceOps&) /raid/testing/castro-gfortran/amrex//Src/Base/AMReX_Reduce.H:896:85 Castro::initData() /raid/testing/castro-gfortran/Castro//Source/driver/Castro.cpp:1151:50 7: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x618487] std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() inlined at /usr/include/c++/10/bits/shared_ptr_base.h:1183:7 in amrex::Amr::defBaseLevel(double, amrex::BoxArray const*, amrex::Vector > const*) /usr/include/c++/10/bits/shared_ptr_base.h:732:6 std::__shared_ptr::~__shared_ptr() /usr/include/c++/10/bits/shared_ptr_base.h:1183:7 std::shared_ptr::~shared_ptr() /usr/include/c++/10/bits/shared_ptr.h:121:11 amrex::BoxArray::~BoxArray() /raid/testing/castro-gfortran/amrex//Src/Base/AMReX_BoxArray.H:542:5 amrex::Amr::defBaseLevel(double, amrex::BoxArray const*, amrex::Vector > const*) /raid/testing/castro-gfortran/amrex//Src/Amr/AMReX_Amr.cpp:2504:14 8: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x62403d] amrex::Amr::InitializeInit(double, double, amrex::BoxArray const*, amrex::Vector > const*) inlined at /raid/testing/castro-gfortran/amrex//Src/Amr/AMReX_Amr.cpp:1266:19 in amrex::Amr::init(double, double) /raid/testing/castro-gfortran/amrex//Src/Amr/AMReX_Amr.cpp:1283:5 amrex::Amr::initialInit(double, double, amrex::BoxArray const*, amrex::Vector > const*) /raid/testing/castro-gfortran/amrex//Src/Amr/AMReX_Amr.cpp:1266:19 amrex::Amr::init(double, double) /raid/testing/castro-gfortran/amrex//Src/Amr/AMReX_Amr.cpp:1142:20 9: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x42681b] main /raid/testing/castro-gfortran/Castro//Source/driver/main.cpp:124:33 10: /lib64/libc.so.6(__libc_start_main+0xf2) [0x7f638807b1e2] __libc_start_main ??:0 11: ./Castro2d.gnu.TEST.TPROF.MPI.ex() [0x42e9be] _start ??:0 ===== TinyProfilers ====== main() Amr::init() Amr::initialInit() Amr::InitializeInit() Amr::defBaseLevel() Castro::initData() Castro::computeTemp() Castro::reset_internal_energy()