-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request to expose Zoltan_get_global_id_type() in public API #1640
Labels
Comments
Sorry @gsjaardema ; I am just seeing this issue now. Are you still interested in this change? If so, I think it would be easy to move the function for you. Just let me know. Thanks. |
Yes. Still interested.
Thanks.
.. greg
…On Thu, Sep 21, 2017 at 15:10 K Devine ***@***.***> wrote:
Sorry @gsjaardema <https://github.com/gsjaardema> ; I am just seeing this
issue now.
https://github.com/trilinos/Trilinos/wiki/GitHub-Notifications
Are you still interested in this change? If so, I think it would be easy
to move the function for you. Just let me know. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1640 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2xDibiVpWE1Fa5GvkdAX8I54FQYL4vks5sktC0gaJpZM4PBe-X>
.
|
kddevin
added a commit
that referenced
this issue
Sep 22, 2017
Done. @gsjaardema , please reopen this issue if you have any problems. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to request that the function
Zoltan_get_global_id_type()
be exposed in the public API. This function is currently defined inpackages/zoltan/src/zz/zz_util.c
, but is not declared in any of the zoltan public include files.It is useful to me in detecting whether the library I am linking to was compiled with the same setting for the
ZOLTAN_ID_TYPE
as was active during the build of my application or as a sanity check that the include files I am reading are compatible with the link library.In my code, I can do:
The
ZOLTAN_ID_TYPE
is a global typedef in affect at the time of compilation based on settings in thezoltan_types.h
include file while the value returned fromZoltan_get_global_id_type
is the size of theZOLTAN_ID_TYPE
which was active at the time the library was compiled.Hopefully these two values match, but if they don't, then I want to detect it at runtime and output a somewhat helpful error instead of trying to debug some weird downstream corruption. I am currently "manually" prototyping the function and declaring it external in my code, but it would be better for it to be officially in the zoltan API.
Thanks.
@trilinos/zoltan
The text was updated successfully, but these errors were encountered: