Skip to content
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

Can VertexID type be 64bit integer? #1

Open
cheonruen opened this issue Feb 14, 2017 · 1 comment
Open

Can VertexID type be 64bit integer? #1

cheonruen opened this issue Feb 14, 2017 · 1 comment

Comments

@cheonruen
Copy link

cheonruen commented Feb 14, 2017

Hi, I am studying the system, Gemini.

I found that, by default, Gemini uses uint32_t as a VertexID type.

Will it be enough to change the typedef statement for VertexID type in 'core/type.hpp'?

Did you run some tests for its valid operation when VertexID type == int64_t ?

Thanks,

@coolerzxw
Copy link
Member

Hi, @cheonruen , thank you for trying Gemini!
I have not experimented with 64-bit IDs in Gemini before, so I can only provide some advice about how to add the 64-bit support.
In addition to the modification in "core/type.hpp", you may also need to check/modify some MPI-related code, and add some options to the compilation commands to tell the MPI library (e.g. Intel MPI) to use 64-bit integers instead of the default 32-bit ones, since the message size you want to send/receive might also be larger than 2^32 then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants