- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I have some execution files that are created by Intel fortran compilers and Intel MPI libraries.
Is there a way to check what compiler the file is made of?
I was trying to find any methods but I can't find.
Please let me know if it exists.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I opened an exe file in Notepad++ and did some searches. I found this string that may or may not be helpful....
"Intel Fortran RTL Message Catalog V19.0-001 May 11 2018"
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://docs.microsoft.com/en-us/windows/win32/debug/pe-format
I would start here -- the file format is explained in detail -- you may have to make educated guesses based on the information you will find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for help, Nichols
The URL is valuable for advanced windows user. But I am trying to check the version in Linux system.
For example, I have two exec files and one is built by Intel fortran v19 and IMPI v19 and another is built by Intel fortran v18 and IMPI v18.
Then how can I find out what exec file built by version 19 without specific file name(because it is indistinguishable).
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
Get a binary file reader and look at file headers -- look at the compile dates if they show up and then line then up with release dates for the compilers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I opened an exe file in Notepad++ and did some searches. I found this string that may or may not be helpful....
"Intel Fortran RTL Message Catalog V19.0-001 May 11 2018"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no obvious way to know. At best you can look at the date the executable was created and eliminate any later releases. But if you find a useful string, as Andrew did, that could be a hint. The compiler itself doesn't put in anything that would tell you, unless (on Linux only) you use the -sox option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you all,
Various users have been inquiring about library issues(compile/executive library differences),
but I haven't been able to identify problems that come from different compilation and execution environments.
I think I can solve it using the notepad method you told. Thank you!
Steve,
What command should I use when I look at the contents of a file compiled with sox? The Intel options description is shown below.
"It is then possible to use a tool, a search as a stress utility, to meet what options we used to build the Executive File."
Thank you again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When compiled with -sox, use a "strings" command to find strings in the executable. Again, this is Linux-only. (It used to work on Windows until Microsoft changed the linker to throw away such "comment" strings. It's not supported on Mac either, but I am unsure why.)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page