Currently trying to install openSHMEM with ucx on a new system, and running into an error involving shmem_finalize(). I have included the source code and error message below, but am unsure what is causing the error.
What address is the segmentation fault (signal: 11) referring to? The code was run using oshrun and compiled using oshcc, as referenced in the installation guide.
Source Code:

Error:

Currently trying to install openSHMEM with ucx on a new system, and running into an error involving shmem_finalize(). I have included the source code and error message below, but am unsure what is causing the error.
What address is the segmentation fault (signal: 11) referring to? The code was run using oshrun and compiled using oshcc, as referenced in the installation guide.
Source Code:

Error:
