-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
egs_chamber crashes when reading in cross-section data #260
Comments
This was introduced by the rest mass initialization fix yesterday. PR #261 is now pending. |
This is because we omitted to update the common block definition in the C interface as well to initialize the rest mass. Working on it: |
Fix the rest mass initialization for EGSnrc applications that depend on the C interface. The bug fix in the parent commit moved the declaration of the rest mass inside the COMIN/USEFUL/ macro. However this in turn breaks C and C++ EGSnrc applications because the C interface relies on its own declaration of the COMIN/USEFUL/ macro, which also has to be updated with the rest mass data statement.
Checking with
|
Fix the rest mass initialization for EGSnrc applications that depend on the C interface. The bug fix in the parent commit moved the declaration of the rest mass inside the COMIN/USEFUL/ macro. However this in turn breaks C and C++ EGSnrc applications because the C interface relies on its own declaration of the COMIN/USEFUL/ macro, which also has to be updated with the rest mass data statement.
Fix the rest mass initialization for EGSnrc applications that depend on the C interface. The bug fix in the parent commit moved the declaration of the rest mass inside the COMIN/USEFUL/ macro. However this in turn breaks C and C++ EGSnrc applications because the C interface relies on its own declaration of the COMIN/USEFUL/ macro, which also has to be updated with the rest mass data statement.
This was fixed in pull request #261 and cherry-picked to master via #262. 🥇 to @MartinMartinov for reporting the issue. |
Well done! Really good turn around time for this fix, I'll try it first thing in the morning. |
After pulling recent changes (February's commits) and recompiling my
HEN_HOUSE
andEGS_HOME
areas, I'm finding my egs_chamber simulations crash when reading certain data files, namely spinms.data and the rayleigh data set (egslog doesn't name which file, but it happens when rayleigh scattering is turned on). It happens with many of the input files that have worked over the last year. I also tried runningexample1.egsinp
on cavity and got the same error. This is the pre-crash output:I checked my previous log files from before the reinstall, and I find that the output should look like this:
Any ideas on what my issue is?
Config flags that might be important:
Compiler version:
The text was updated successfully, but these errors were encountered: