- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, So I am very new to Fortran and just started working with Microsoft Visual Studio.
I was wondering how it is possible to export the code as .exe so it would be readable by other computers with no compiler .
Thanks,
Arman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your program will be an EXE. But by default it will require run-time DLLs to be installed. If you want to avoid that, in most cases you can set the project property Fortran > Libraries > Use Runtime Library to "Multithreaded" (not Multithread DLL). Make sure you build a Release configuration for running on a different computer.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your program will be an EXE. But by default it will require run-time DLLs to be installed. If you want to avoid that, in most cases you can set the project property Fortran > Libraries > Use Runtime Library to "Multithreaded" (not Multithread DLL). Make sure you build a Release configuration for running on a different computer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
Thanks for your comment, So for clarifying I wanted to ask this question:
My program is not huge in size but the outputs would be in the order of hundreds of gigabytes. I was wondering if I can change the current fortran code I have to a file that could be run on any other computer (without visual studio or anything) and still get the solutions? Since transporting solutions would be very time consuming
Thanks,
Arman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you follow Steve's advice, the resulting executable file will be self-contained. You can simply copy it to another machine and run it from there.
Regards,
Arjen

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page