Quick Start
To process progenitor data and to compile the code with PyTorch included, all you need to do is run:
Warning
If you encounter any errors, please check Dependencies and refer to Troubleshoot.
This will move the processed input data and executable to the project folder. To run the model:
Congratulations! You are collapsing a star!Setup details
Progenitor Data
You can setup parameters and choose which stellar progenitor data to prepare. In our case, we are using Stan Woosley's datasets.
Number of cells
(depend on the initial cell mass), since that determines the grid size (1dccsn simulation
All of the simulation parameters can be adjust here (don't forget about <Number of Cells (from Data)>
):
Number of cells
(depend on the initial cell mass), since that determines the grid size (Binary to Readable
The setup can be done either by editing setup_readout
or by cmd arguments. In the first case:
readout
executable:
Make Commands
Command | Description |
---|---|
make |
combined data prep, eos tables, model compilation, and a binary to readable output executable |
make data |
data preparation |
make eos |
EOS Table read routines required for project compilation |
make project |
model compilation |
make readout |
to convert from binary output to readable tables, you need to run ./readout |
make examples |
prepare PyTorch in Fortran integration examples |
make test |
test installation with gfortran |
make clean |
clean up everything |