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

Visual Studio with mixed C++/FORTRAN

Gabriel_M_
Beginner
829 Views

We're looking to move our FORTRAN 90/95 code into a hybrid C++/FORTRAN code where we will use the C++ for infrastructure while the number crunching will be in FORTRAN.

Is it possible to have C++ code call FORTRAN?  and if so, can we still debug the FORTRAN in MSVS?

Thanks.

-- Gabe

 

0 Kudos
1 Reply
Steven_L_Intel1
Employee
829 Views

Yes, absolutely. You will need to buy Visual Studio Professional Edition or higher to get the C++ capability. We provide several examples of mixed C++/Fortran programming and an extensive chapter in our documentation on mixed-language programming. You will also want to read How do I configure Microsoft Visual C++ for developing mixed Fortran-C applications? You will want the C++ and Fortran projects in the same Visual Studio solution for easiest building and debugging.

0 Kudos
Reply