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

help with older project - converting to new compilers

Wesley_G_
Beginner
460 Views

Hi,

Not sure where to post this....so starting here.  I have a solution that combines Intel FORTRAN with Visual studio, specifically some C and C++ code.  Last time I compiled, I used older versions...running on Virtual XP machine on my Win7 computer.

I'm looking for help in migrating over to new system....really should not take more than a few hours (famous last words)....and I'm willing to pay for help.  Is there anyone out that that is interested or knows where I can find someone with Intel FORTRAN and Visual C experience??

Thanks.

Wes

wgrimes@cea-az.com

0 Kudos
2 Replies
DavidWhite
Valued Contributor II
460 Views

This should be quite easy to do.  The Fortran integration with VS normally can open older solutions, and convert them to the new version.

You will need a full version of VS, rather than the bundled version with Visual Fortan, since Microsoft do not permit Intel to distribute a version that does the cross language building.

The other change you will need to do is that the C/C++ code will need its own project, so that within the solution you will have a Fortran project and a C++ project.  These will then both be compiled and linked into your final program.

Other than changes made to Visual Studio, if you've done it before on an older version, you should be able to do it with the new compiler.

All the best,

David

0 Kudos
Wesley_G_
Beginner
460 Views

I previously used Visual Studio 2003 (not sure it had the VS name, but the version was 2003).....along with FORTRAN version 11 I think.

I have it set up with two projects.  But I'm getting an error from the linker.  The C program (main part of program) has and unresolved external (the FORTRAN library object).....I can't figure out why.

That's why I'm looking for someone that can take a look and help figure it out.  They need to be knowledgeable about calling a FORTRAN object from C.  I figured out how to make it work with the old compilers, but I don't want to invest that much time now....if I don't have to.

Thanks for your reply, but I think I'm past that point....looking for someone that I can pay to take a look.

Wes

0 Kudos
Reply