Code Monkey home page Code Monkey logo

gadgetio.jl's People

Contributors

github-actions[bot] avatar lucasvalenzuela avatar ludwigboess avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

aliozanyerli

gadgetio.jl's Issues

Thread based parallel IO

We need to check if we can properly re-implement thread-safe parallel IO and if it brings consistent performance improvements.

Format 1

As per Anna's request we should re-implement IO for Format 1.
Ideally even with a simple function to re-write snapshots from Format 1 to Format 2.

Read into `DistributedArrays`

It would be useful to be able to directly read a Gadget snapshot into a DistributedArray.
However it needs to be checked how the indexing behaves for a Dict of DistributedArrays.

SnoopPrecompile

Add SnoopPrecompile functions to pre-compile some typical function calls and speed up first time a file is read.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

simplify `parttype=-1` reading

We should refactor reading of parttype=-1.
Currently we need to handle a lot of exceptions which makes the code hard to maintain.

A simpler approach could be to write a seperate function at the beginning of read_block that handles read-in of all particles by first checking which particles are present in the simulation and then looping over the individual particles.
At the end we can then stack the Arrays and return them as one large Array, so the user wouldn't feel the difference.

IO for log files

Add IO for log files to simplify analysis and plotting.

Done:

  • balance.txt
  • cpu.txt
  • timings.txt
  • timebins.txt

Format 3 / HDF5

We should add support for Format 3 / HDF5.
This would also allow for some interoperability with Arepo.

Read all particles performance

Currently when reading all particles with read_block and parttype=-1, individual arrays for each particle type are first created and then copied into the final array. One could improve the performance by directly reading in the full block at once, as the values are saved consecutively.

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.