Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29235 Discussions

building linux executables from windows/MS VS/ifort

Scott_L_
New Contributor I
1,452 Views

 

I was wondering if there is an existing way, or if in the future, there would be cross compiler support to run MS VS and intel fortran on windows  to build both windows executables and linux executables in the same IDE environment.   While symbolic debugging is great, this would seem useful even if it did not support debugging.

thanks,

Scott

 

0 Kudos
7 Replies
TimP
Honored Contributor III
1,452 Views
I've seen demonstration of Linux compilation spawned by visual studio so it's feasible without new features.
0 Kudos
Steven_L_Intel1
Employee
1,452 Views

We don't have plans for this beyond our existing support for building and debugging Intel Xeon Phi applications (which run under Linux) from Windows. I will enter a feature request for you, but I don't see this happening in the near term.

0 Kudos
Scott_L_
New Contributor I
1,452 Views

Thanks Steve,

 

I don't know what intel xeon Phi applications means specifically.

We have an interest in running parts of our design system on HPC batch servers for DFV and for faster turnaround,  or to build our tools to run interactively on a linux desktop instead of a windows desktop.   I don't know if the xeon Phi means this is something i  can do or not.   Our HPC servers run linux, but the cpu hardware is not something I know about.  I could ask if I knew what to ask.

Aside, most of our application is fortran 2008, but there is a bit of C code to load jpeg files and to read/write to an xml "database".   Both of which would be nice to have in fortran instead of C.  So this is a visual studio/C question as well as ifort.

 

thanks again.

 

0 Kudos
Steven_L_Intel1
Employee
1,452 Views

Xeon Phi is our coprocessor line that speeds up applications. The current implementation is a PCIe card. The coprocessor runs Linux and applications can either run natively or can use an "offload" model where parts of a program run on the host (Xeon) processor and selected parts run on the Xeon Phi coprocessor. This is very popular in the HPC world. For more information, see here.

I mentioned it only because we already have the infrastructure set up to do this, but not for the general Linux application case. It would be a "business decision" to implement this development model, and currently we don't support cross-OS development (with the limited exception noted above.)

0 Kudos
TimP
Honored Contributor III
1,452 Views

The original request "same IDE environment" seems ambiguous as to whether it's a request to perform cross compilation with linux target or simply to spawn remote compilation on a linux target (which might even be possible on a single machine with virtualization).  Either way, the target audience is small, and the backing from Microsoft presumably minimal.

0 Kudos
Steven_L_Intel1
Employee
1,452 Views

Backing from MS is not the issue. We know how to do this, including debugging from within VS (we have a connector to gdb.)

0 Kudos
rorban
Beginner
1,452 Views

I would like to add my support for a cross-platform compiler product. I would prefer to use the familiar Windows VS environment to build for any platform, as opposed to having to set up a second computer (with a second purchased copy of iFort) just for Linux. My office and desk have only so much room!

0 Kudos
Reply