Code Monkey home page Code Monkey logo

Comments (6)

uqngibbo avatar uqngibbo commented on May 28, 2024

Hi Hilbert,

We have a few compile time flags you can try turning off to save some memory, depending on what you need, try some or all of the following:

MULTI_SPECIES_GAS=0
MULTI_T_GAS = 0
MHD=0
TURBULENCE=0

All of these are on by default but can be turned off when calling make. For example, to build e4shared, e4mpi, and e4zmpi without MHD or two temperature capability, you would do:

$ make WITH_MPI=1 WITH_COMPLEX_NUMBERS=1 MHD=0 MULTI_T_GAS=0 FLAVOUR=fast install

Let me know if you run into any trouble.

from gdtk.

UNSWHilbert avatar UNSWHilbert commented on May 28, 2024

Hi Nick,

I only just got around to testing your suggestion. It did save me a bit of RAM but nothing significant.
I am mainly interested since we are about to buy a couple new boxes and I want to make sure the boxes have enough RAM on board. Given the CPU count we are going after I am hopeful we can run 20-30M cell grids. What would you recommend RAM wise for such grids?

Cheers,
Hilbert

from gdtk.

uqngibbo avatar uqngibbo commented on May 28, 2024

That's disappointing.

I am planning to do some memory tuning at some point soon, so hopefully that will help. I guess if you can find 250 GB of RAM for your new boxes you'll be able to make 20M work, and possibly 30M once I can work on the memory.

Nick,

from gdtk.

UNSWHilbert avatar UNSWHilbert commented on May 28, 2024

HI Nick,

Thanks that Is roughly what I was thinking.

Hilbert,

from gdtk.

uqngibbo avatar uqngibbo commented on May 28, 2024

29ae23f should have improved this issue. Let me know if you notice any improvment.

from gdtk.

UNSWHilbert avatar UNSWHilbert commented on May 28, 2024

Just letting you know that on a 5.7M cell mesh that I have lying around the RAM usage went from 79.2 to 78.1 Gb, so roughly a 1 Gb improvement.

from gdtk.

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.