How to run

First install GAMOS , then you have to type in the terminal:

1cd path_to_gamos/GAMOS.ver/
2source config/confgamos.sh

Or alternatively (see Primer Tutorial)

1cd
2source path_to_gamos/GAMOS.ver/config/confgamos.sh

Once GAMOS is compiled, user should install all python requirements and clone the github repository:

1pip install -r requirements.txt
2
3git clone https://github.com/PREDICO-Project/MIMAC.git
4cd MIMAC/

You can test if the repository has been cloned fine just running the by default simulation with:

1gamos main.in

The output should be the image of a sphere saved as a MHD/RAW in the output folder.

Once the test have been performed, users can set up the simulation using the GUI. To run the GUI type in the terminal:

1cd GUI/
2python3 mainWindow.py

Users must press Apply cfg button to modify all input files to set up correctly the simulation. Execute your simulation with:

1gamos main.in

We have prepared a simple bash script , sendrun.sh, to run several runs at the same time (based on GAMOS/tutorials/RTTutorials/exercise2 credits to Pedro Arce). It only accepts 2 parameters, the number of runs and the initial SEED.

From the main path of the project you should type in the terminal:

1bash sendrun.sh 10 11111

Warning

The runs are independent, they do not share the geometry, each run builds the geometry. If you don´t have too much RAM memory there could be a memory leak.