-
Notifications
You must be signed in to change notification settings - Fork 146
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
Allow .egsinp extension when parsing command line arguments #318
Labels
Comments
rtownson
added a commit
that referenced
this issue
Jul 31, 2017
Allow the .egsinp extension in the -i argument instead of requiring no extension.
rtownson
added a commit
that referenced
this issue
Jul 31, 2017
Allow the .egsinp extension in the -i argument instead of requiring no extension.
rtownson
added a commit
that referenced
this issue
Jul 31, 2017
Allow the .egsinp extension in the -i argument instead of requiring no extension.
rtownson
added a commit
that referenced
this issue
Jul 31, 2017
Allow the .egsinp extension in the -i argument instead of requiring no extension.
blakewalters
added a commit
that referenced
this issue
Aug 9, 2017
Added array_sizes.h to the compile dependencies for egs_interface2.c in egspp1.spec. As discovered by @ojalaj when running egs_chamber, without this dependency, changes to MXSTACK--the max. dimension of variables in the STACK common block (Fortran)--were not propagated through to the EGS_Stack definition in egs_interface2. The result: mismatched variable dimensions and zero results. A temporary workaround was to type "make clean" before "make" after changing MXSTACK. This forced a recompilation of egs_interface2.c.
ftessier
pushed a commit
that referenced
this issue
Aug 18, 2017
Add array_sizes.h to the compile dependencies for egs_interface2.c in egspp1.spec. As discovered by @ojalaj when running egs_chamber, without this dependency, changes to MXSTACK (the maximum dimension of variables in the STACK Fortran common block) were not propagated through to the EGS_Stack definition in egs_interface2. This resulted in mismatched variable dimensions and null results. A workaround was to run "make clean" before "make" after changing MXSTACK, but this forced a recompilation of egs_interface2.c.
ftessier
pushed a commit
that referenced
this issue
Aug 18, 2017
Add array_sizes.h to the compile dependencies for egs_interface2.c in egspp1.spec. As discovered by @ojalaj when running egs_chamber, without this dependency, changes to MXSTACK (the maximum dimension of variables in the STACK Fortran common block) were not propagated through to the EGS_Stack definition in egs_interface2. This resulted in mismatched variable dimensions and null results. A workaround was to run "make clean" before "make" after changing MXSTACK, but this forced a recompilation of egs_interface2.c.
ftessier
pushed a commit
that referenced
this issue
Aug 18, 2017
Allow the .egsinp extension in the -i argument instead of requiring no extension.
ftessier
pushed a commit
that referenced
this issue
Aug 18, 2017
Allow the .egsinp extension in the -i argument instead of requiring no extension.
Fixed in pull request #320. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a feature request. When running an application from the command line, it would be nice if we could leave in the .egsinp extension of the input file. For example:
tutor7pp -i test1.egsinp
Right now, we get the following result:
I feel like it should be trivial to test for the existence of the .egsinp extension on the argument, but I couldn't quite get it working straight when I took a shot at it (it seems like the command line arguments get parsed in a few different places, maybe?).
The text was updated successfully, but these errors were encountered: