nrc-cnrc / EGSnrc

Toolkit for Monte Carlo simulation of ionizing radiation — Trousse d'outils logiciels pour la simulation Monte Carlo du rayonnement ionisant
http://nrc-cnrc.github.io/EGSnrc
GNU Affero General Public License v3.0
217 stars 146 forks source link

Question about BEAMnrc parallel computing under Linux. #1123

Open CQUswl opened 5 months ago

CQUswl commented 5 months ago

When I ran the example BEAM_EX10MeVe under Linux, I noticed a strange phenomenon. When I run it in parallel using BEAMnrc_GUI, the programme does not continue to run after displaying what is shown below. image Click "EXECUTE" again to display the same result. At the same time, I found an additional text in the BEAM_EX10MeVe folder with the name &1 and the following contents: image However, when I try to run it using the command “egs-parallel”, the program works fine. So I don't know if there is a bug in BEAMnrc_GUI.

rtownson commented 5 months ago

Indeed, the GUIs do not support parallel runs unless you modify them to work for your system. They assume you have 'qsub', which is generally not true. In the future we should either remove this feature entirely, or integrate egs-parallel in some way.

For now, just use egs-parallel as you have been.