Problem 2 on using OpenTPS as a beginner

Hi OpenTPS Team,
Here is the second problem I have:
Using quick start, I created a conda environment and used the pip method to install the OpenTPS, The process is smooth but when running the sample code ([Simple dose computation and optimization on a real CT image | OpenTPS]
I have the following error:


I guess it is from the configuration of the MCsquare program.
Eliot-Since you write this sample code and can you please help me on this?
Please help, thanks!
Best.
YC

Dear Yuchen,

This issue sometimes happens if you are not the administrator of your machine. One fix that we found is:

  1. Find the MCsquare executable for your machine (in the processing/doseCalculation/protons/MCsquare folder). This will depend on your operating system.

  2. Use the command:

chmod +x MCsquare_executable

As an example if you are using the MCsquare_linux_avx, the command is:

chmod +x MCsquare_linux_avx

This will allow the execution permission for the MCsquare file to your user.

I hope this solves your issue.

Eliot

Thank you very much!
YC