- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi everyone,
I am writing a fortran code with intel Fortran Compiler for Linux.
I would like to compile my program and run it under windows, because my workstation run with windows.
It is possible?
Thank you very much
andBest wishes
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To dispose of the ambiguities in your question, let me rewrite it:
Version 1: Will a Fortran application developed in Linux using Intel Fortran be source-compatible with Intel Fortran on Windows?
If the Fortran application does not make calls to OS-specific library routines, yes. You will need to move the source code to the Windows PC and rebuild the application.
Version 2: Can a Fortran application binary, developed in Linux using Intel Fortran, be run on Windows?
No. You can, however, consider running Linux on a virtual machine running on the Windows host. But that takes quite a bit of effort to install and consumes resources, and one would probably not do this for one application that will be run a few times.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
thank you for your replay.
I useMath Kernel Library, so If I have unnderstood correctly, I would not be able to compile again in windows my source code?
Id this correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your application uses MKL, you must have the MKL development package (headers, module files, libraries) installed on whichever platform you want to develop on, no matter which OS it has.
To run applications built with MKL, you need only the MKL redistributable package installed on the target machine.
MKL is available on Windows, either bundled with an Intel compiler, or separately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you very much,
So if I compile again my program in windows enviroment, for example with visual studio, I have to install also the mkl libraries in visual studio.
thank you, I hope the it will work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>I have to install also the mkl libraries in visual studio.
Unless you explicitly asked that MKL not be installed when you installed the compiler package, you should have MKL on your WIndows system. There is no separate installation needed just for Visual Studio.
> I hope it will work.It has worked for many years.
In Visual Studio, when you create a project, if the project will need MKL be sure to select "use MKL" (the wording may be slightly different, depending on which version of Visual Studio is used) in the project settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
thank you very much
I'll let's you know.
best wishes
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page