Hello everyone,
I was checking OpenTPS recently and my understanding is that MCSquare is still based on Intel MKL for some tricks and easy parallel loops programming.
Such functions are not supported anymore in last years releases of the intel oneAPI and require a rather legacy base of libraries for compilation.
Am I missing something? Maybe there’s a newer MCSquare version I should check out?
I was looking into these details because we would have to change the beam model to get parallel beam instead of a divergent one, and thought to make change in the MC code.
Not sure that would be right way of doing it though.
Best,
Giovanni
1 Like
Hi Giovanni,
As discussed by email the solution is rather easy.
See below. We believe that the parameters to change (set to zero?) are Divergence1x, Divergence2x, and the corresponding y. Let us know if you were able to do it.
Hello Giovanni,
You are correct that MCsquare is still based on the outdated version of Intels OneAPI package. Necessary updates have unfortunately not yet been implemented, but we hope to do so in the future. This mainly causes issues for compilation and an old version of OneAPI is needed for that at the moment.
If you just want to change the beam model, you should be able to do so without having to adapt the source code by modifying the bdl file. In the bdl file the parameters for the beam model are set, including if and how strongly a beam diverges. In OpenTPS, a default bdl file is provided, but you can adapt it as needed for your specific case.
I hope this helps. Let us know if you have further questions!
1 Like