Cameron Smith
Cameron Smith
It turns out we don't currently have a supported way to convert from an apf::Mesh to a PUMI instance. The 'safest' way forward would be to write your partitioned smb...
@a-jp Take a look at the [`apfToPumi`](https://github.com/SCOREC/core/tree/apfToPumi) branch and the extended `construct` example: https://github.com/SCOREC/core/blob/551d71589bc48af0dc5d348751bda95f782ee51c/test/constructThenGhost.cc This example creates a distributed apf mesh with `construct(...)`, creates a pumi instance, creates pumi ghosts,...
The new `pumi_mesh_load(...)` function you linked to simply sets the pumi instance's pointer for the mesh object: https://github.com/SCOREC/core/commit/7e80f949520b4614fbeadb333899c2b04908acf7#diff-01216a9e3ca94548cc616b1b3fb76333R232-R238 I am somewhat concerned that this is too simple so I hesitate...
The `apfToPumi` branch was merged into `develop`. `master` will be synced with `develop` tonight if the nightly tests pass. https://github.com/SCOREC/core/commit/812a6a196f748735bfee348dd47cdb895cb71fc2
What branch/commit were these tests using?
Discussion notes: - This size is concerning: MPT: #12 0x000000000048eb5f in PCU_Comm_Pack (to_rank=to_rank@entry=639, MPT: data=data@entry=0x2357cb30, ***size=18446744056901788288***) - `n` appears to be blowing up here https://github.com/SCOREC/core/blob/c1d05c1a5336549bf6d85f8be8f5d88c373336cc/apf/apfConstruct.cc#L202 - `Gid` is an `int`......
It is/was in apf here: https://github.com/SCOREC/core/blob/fe15d56fbf51487d0b50d23873e938079b234aa9/apf/apfConvert.h#L32 I'm hacking at this now.
# lion_eprint Are you capturing stdout and stderr? `lion_eprint` writes to stderr; `e` stands for error. The verbosity level set here https://github.com/SCOREC/core/blob/6dd96dbb378cac7815d41da34f0ee23a983da4f9/test/matchedNodeElmReader.cc#L790 is correct for the added call(s) to `lion_eprint`;...
OK. The output lists 'not stripped' so there are debug symbols... GDB and addr2line should work. I guess MPT may be doing something unexpected. `lion_eprint` writes to `stderr` which is...
Spack PR: https://github.com/spack/spack/pull/29521