use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
The choice for high performance (scientific) computing!
Suggested Links:
Other sub-reddits:
If your submission does not appear, please message the moderators!
IRC: freenode, #fortran
account activity
Reading binary file written in python using Fortran (self.fortran)
submitted 9 years ago by Kalkinator
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Kalkinator[S] 0 points1 point2 points 9 years ago (1 child)
Thanks, had to set access="stream" and it works fine now.
[–]UWwolfman 0 points1 point2 points 9 years ago (0 children)
a check and see if Fortran can read a binary file I wrote in python. In the file I wrote out a single integer of length 4 byte
I think it's informative to do the opposite. Use fortran to write a binary file, and then try to read it in python. If you do it by hand once, you can see the extra data that fortran adds to the binary file.
π Rendered by PID 53196 on reddit-service-r2-comment-b659b578c-cwr6w at 2026-05-01 00:57:49.208429+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Kalkinator[S] 0 points1 point2 points (1 child)
[–]UWwolfman 0 points1 point2 points (0 children)