Skip to content

Commit

Permalink
Trial check for backtrace
Browse files Browse the repository at this point in the history
  • Loading branch information
wrrobin committed Apr 29, 2024
1 parent 89b3737 commit 52b34f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
cd build
make check TESTS= -j
${{ matrix.env_setup }}
SHMEM_DEBUG=1 SHMEM_INFO=1 make VERBOSE=1 TEST_RUNNER="${SOS_PM} -np 2" check
SHMEM_DEBUG=1 SHMEM_INFO=1 SHMEM_BACKTRACE="execinfo" make VERBOSE=1 TEST_RUNNER="${SOS_PM} -np 2" check
cat modules/tests-sos/test/unit/hello.log
- name: Test RPM (${{ matrix.rpm_build }})
if: ${{ matrix.rpm_build }}
Expand Down
5 changes: 3 additions & 2 deletions src/transport_ofi.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,15 +818,16 @@ int allocate_recv_cntr_mr(void)
}
#endif

ret = ofi_mr_reg_bind(flags);
OFI_CHECK_RETURN_STR(ret, "OFI MR registration failed");

#ifdef USE_FI_HMEM
if (shmem_external_heap_pre_initialized) {
ret = ofi_mr_reg_external_heap();
OFI_CHECK_RETURN_STR(ret, "OFI MR registration with HMEM failed");
shmem_transport_ofi_mrfd_list[2] = shmem_transport_ofi_external_heap_mrfd;
}
#endif
ret = ofi_mr_reg_bind(flags);
OFI_CHECK_RETURN_STR(ret, "OFI MR registration failed");

return ret;
}
Expand Down

0 comments on commit 52b34f2

Please sign in to comment.