GithubHelp home page GithubHelp logo

Comments (4)

guowentian avatar guowentian commented on July 17, 2024

These are the commands I use in the two runs:
mpirun --n 1 --npernode 1 --hostfile hosts -- applications/graphlab/pagerank.exe --path=graph.txt --format=tsv --locale_shared_fraction 0.6 --global_heap_fraction 0.7
mpirun --n 10 --npernode 1 --hostfile hosts -- applications/graphlab/pagerank.exe --path=graph.txt --format=tsv --locale_shared_fraction 0.6 --global_heap_fraction 0.7

from grappa.

septicmk avatar septicmk commented on July 17, 2024

huh..., Actually I have the same problem when I try to run a 27 scale graph500 on 10 nodes with each of 15 GB memory. It seems that Grappa just allocate all memory on node 0, here is some hint:

https://github.com/uwsampa/grappa/blob/master/system/GlobalAllocator.hpp#L86

that is odd...

from grappa.

nelsonje avatar nelsonje commented on July 17, 2024

That piece of code is just saying that core 0 runs the code to allocate a region of the shared address space. The actual storage backing this address space is allocated when the Grappa program starts, and it is always striped across all the cores in the cluster. If this is not happening, it's most likely a problem with your MPI installation keeping your cores from talking to each other.

Usually the best way to debug this is to run the Grappa hello_world program. If it prints "hello from core 0 of 1" over and over again there's an MPI problem, unrelated to Grappa. If it prints "hello from core n of m" where n and m make sense, then there's some other problem.

And to respond to the question from October: the stats printed when Grappa starts are all per-node stats for us to use in debugging internal data structures, so you won't expect them to change significantly as you add more nodes. I don't believe it prints a total amount of shared memory across all the nodes without you requesting it.

from grappa.

septicmk avatar septicmk commented on July 17, 2024

yeah, nelsonje is right, after having a close look at that piece of code, now I understand the magic of your PGAS...

from grappa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.