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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for corsika_panama-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6d183ec61f8bae3356f48902e5d1612bee5d401a72404406e31292ed1b0d1fc |
|
MD5 | 421d3c9e1531f5e33a1b2ae8f7cd841b |
|
BLAKE2b-256 | 27e3d8463e8e704d462592f2215a5fe7f0d7781e6dd06e4ce0d945a794df0f74 |