Could not find a detector model

Dear Allpix2 developers,

source /cvmfs/
Then I add the new detector model named scdpix.conf and a new conf named scd_simulation.conf
allpix -c scd_simulation.conf
it shows that
(F) Error during execution of run:
Could not find a detector model of type ‘scdpix’
Please check your configuration and modules. Cannot continue.

Hi @Bail

you need to tell Allpix Squared where to look for detector models. This is covered in the user manual, sections 4.2 and 5.4. The easiest solution is to add the search path to your configuration. For example if the model lives in the same directory as your configuration, just add

model_paths = "./"

to your configuration.


Dear Simon

Thank you very much, it works!