Skip to main content

PArallel ruN of corsikA on MAny cores and other python utils to work with CORSIKA

Project description

PANAMA

PANdas And Multicore utils for corsikA7

Thanks @Jean1995 for the silly naming idea.

What this is

CORSIKA7 parallelization

This started a little while ago while I was looking into the EHIST option of corsika. I wanted a way of conveniently running CORSIKA7 on more than 1 core. I ended in the same place where most CORSIKA7 users end (see e.g. fact-project/corsika_wrapper) and wrote a small wrapper. Once this package is installed, you can use it with the panama command (see panama --help for options).

This wrapper has a nice progress bar, so you get an estimate for how long your simulation needs.

Pitfalls

  • The whole run folder of CORSIKA7 must be copied for each proccess, so very high parallel runs have high overhead
  • If you simulate to low energies, python can't seem to hold up with the corsika output to stdin and essentially slows down corsika this is still a bug in investigation #1

CORSIKA7 DAT files to pandas dataframe with working EHIST

Made possible by cta-observatory/pycorsikaio.

What this is not

Bug-free or stable

Installation

To install this module, clone it

git clone git@github.com:The-Ludwig/PANAMA.git

and run

pip install ./PANAMA

A future PyPi release is planned.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

corsika_panama-0.1.0.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

corsika_panama-0.1.0-py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page