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
Code runs on a single container, added input capability #16
Code runs on a single container, added input capability #16
Conversation
ashirrwad
commented
Jul 19, 2022
- Switched execution method, all the code now runs on a the same container.
- Added input capability.
- Fixed Capture compiler error #13, Compiler error is being displayed.
- Fixed Preserve new line special character from Fortran program output #14, Line breaks are being rendered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM I tried it out and it seems to work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, it looks OK, I think we can go forward pending any outstanding comments.
Fortran_file = open("./File.f90", "w+") | ||
Fortran_file.write(code) | ||
program_input = open("./program_input.txt", "w+") | ||
program_input.write(input) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here and elsewhere: should we not clean up after writing, i.e.:
with open("./File.f90", "w+") as f:
f.write(code)
Can we go ahead and merge this? |
Sure. I'll open an issue regarding @milancurcic 's comment. |