"The job has failed" in running example in DOSXYZnrc #1075
-
I have installed EGSnrc and want to try the DOSXYZnrc. I try to run the examples. Every example I used, it compiled successfully. But when I run it, it always said "The job has failed". There are no further message on what has been wrong. I already check the installation process and everything seems right. Is there anything that I could do? Because it also happen in my friend's laptop The OS I used is windows. Here is the process Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
First thing I noticed, I believe AIR700ICRU requires the 700ICRU pegs4dat file. Could you try running it again? |
Beta Was this translation helpful? Give feedback.
-
The beamsource dosxyz example requires you to compile the BEAMnrc accelerator that it is using for a source as a shared library. Navigate to |
Beta Was this translation helpful? Give feedback.
-
Thank you for the responses! I have tried your suggestions @rtownson and here are the results Is there anything wrong? also when I test the short simulation using EX16MVp.egsinp it is said that the module file is corrupt. Here are the details Thank you |
Beta Was this translation helpful? Give feedback.
-
Step 2: Since you're using mingw32 compilers, you'll need to use Step 3: Load the .module file, not the .egsinp file when you |
Beta Was this translation helpful? Give feedback.
-
I already do the simulation with the EX16MVp and also get the results (output files: .egslst, .egslog, .egsplot, .egsphsp, .egsgeom, .egsgph, .errors). Unfortunately, I still encounter the same problem when try to run example in dosxyznrc (the steps are exactly the same as the fist comment I sent) Thank you |
Beta Was this translation helpful? Give feedback.
-
Ok, please post the dosxyz output, does it print an error? Check the .egslst file. Also, make sure you are using the 700icru pegs file as suggested, not 521icru. |
Beta Was this translation helpful? Give feedback.
-
Ok, I already tried it, even the output file (.egslst file) is nowhere to be found. Here are the details |
Beta Was this translation helpful? Give feedback.
-
I also tried to run DOSXYZnrc from the command line, but I still encounter errors thank you |
Beta Was this translation helpful? Give feedback.
-
All EGSnrc applications require the input file to be directly in the
|
Beta Was this translation helpful? Give feedback.
-
Thank you @rtownson for the help, it works now! |
Beta Was this translation helpful? Give feedback.
All EGSnrc applications require the input file to be directly in the
egs_home/application/
directory, not in a sub directory. I see the problem is that the example file is in theexamples
directory - you need to copy it up to thedosxyznrc
directory. Also, when you run on the command line, do not provide file paths. Since it already knows exactly which folder to look in, you just need to type: