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

Setting up Intel Fortran 10.x with Microsoft Visual Studio 2008

az711
Beginner
1,283 Views

This week a MS VS 2008 will be available for subscribers ... It is possible to integrate/use Fortran 10.1 with it ? What about IDE integration ?

0 Kudos
21 Replies
TimP
Honored Contributor III
1,159 Views
The answer given on the C forum is there is no IDE integration for Intel compilers in the beta VS 2008. Both ifort 10.0 and 10.1 can be set up for command line operation by editing ifortvars.bat (you could make a second copy for this, with its own icon) and (if necessary) ifort.cfg. Replace vcvarsxx.bat and linker paths in the ifort installation with the VS2008 equivalents.
I suppose the main point is to test mixed Fortran and C++ applications with the new headers and libraries. I've tried the express 32-bit, may have time to try the professional beta 2 to see if it supports 64-bit today.
I could find no way to install the in between version of VS2008, which is supplied as a .iso image too large for a CD, with DVD burning locked out.
0 Kudos
az711
Beginner
1,159 Views

1. The way to install VS2008B2 is very simple. Extract iso with UltraISO (or similar tool) and install from harddisk.

2. I have investigated IDE.MSI from 10.x and found that usually it is support VS2003 and VS2005. But i found some variables that point to VS2008. I think that Intel have already tested implementation in to VS2008 and simply wait for final release of it ...

3. VS2008 is already on MSDN

0 Kudos
Steven_L_Intel1
Employee
1,159 Views
It was our hope to be able to support VS2008 in the next update after it was released, but as usual, Microsoft made incompatible changes between the last beta and the release. We intend to enable command line support automatically in an upcoming update, but IDE integration will take a bit longer to figure out what they changed. There is no VS2008 IDE support in the current 10.1. We expect to have it ready by the public release of VS2008, which we understand to be in February.
0 Kudos
TimP
Honored Contributor III
1,159 Views
I haven't found any success with mixed ifort and C++ amd64 projects in VS2008. I get an ipo link failure report when attempting to link ifort 10.1 with VC9 objects, and ICL rejects the VC9 64-bit C++ headers. Fortran only projects can run OK in VS2008, but what's the point?
As you might expect, VS2008 32-bit supports only MT and MD projects. Those have run OK for me, using ifort with CL and ICL.
0 Kudos
Steven_L_Intel1
Employee
1,159 Views
Edit icl.cfg and ifort.cfg and specify /Qvc9 instead of /Qvc8, etc.
0 Kudos
TimP
Honored Contributor III
1,159 Views
VC9 amd64 has /GL set by default. In order to link with ifort, the VC9 option /GL- must be set, and nearly all Fortran .obj must be rebuilt under VS2008. Also, I need a mysterious -nodefaultlib:bufferoverflowu.lib.
0 Kudos
Steven_L_Intel1
Employee
1,159 Views
See the ifort release notes for info on bufferoverflowu.lib
0 Kudos
az711
Beginner
1,159 Views

1. I don't think that the implementation of VCS2008 IDE support for Intel Fortran is really difficult. I have port manually some addins from VS2005 in VS2008B2 and they work !

2. VS2008 is already public. Anybody can download VS2008 Express Edition at http://www.microsoft.com/express/download/ . Why to wait until February ?

3. It can be a very nice Christmass gift for us - Fortran fans - a VS2008IDE support ...

0 Kudos
Steven_L_Intel1
Employee
1,159 Views
Sorry, add-ins are not the same as full IDE integration. VS200x Express Edition does not support Fortran IDE. We're working on it as fast as we can.
0 Kudos
knowdat
Beginner
1,159 Views

Will the IDE integration be an individual installer, or will there be a 10.2 compiler release with the IDE integration included?

Is the timeframe still Feb 27th, or will the IDE integration be available sooner?

Thank you,


Jon

0 Kudos
Steven_L_Intel1
Employee
1,159 Views
There will be an update to 10.1 which will recognize VS2008 and install appropriate IDE support for it. I can't commit to a specific date - it will be as soon as we can make sure it works and get it out the door. There's many steps in that process.
0 Kudos
onkelhotte
New Contributor II
1,159 Views

Thanks for the information. Its good to know Intel works on VS2008 integration because were thinking to buy VS2008 instead of VS2005.

Markus

0 Kudos
Jeppe_G_
Beginner
1,159 Views

I am very satisfied to learn that you are working on the integration with Visual Studio 2008. We plan to upgrade to VS 2008 within the next month, as our C#-developers needs the new features of VS 2008. Since our Fortran software is closely linked to the C# software it is important for us to be able to use Intel Fortran in VS 2008, so hopefully you will soon have an upgrade ready.

Jeppe Grue

Senior Specialist

Vattenfall

0 Kudos
vlnnmjke99
Beginner
1,159 Views
Is there any update on when we can expect VS2008 IDE support? VS2008 is now generally available (not just to MSDN subscribers).

Many thanks
0 Kudos
Steven_L_Intel1
Employee
1,159 Views
I expect VS2008 support to be available by early March.
0 Kudos
andrey_
Beginner
1,159 Views
looking foward for the support to become available.
0 Kudos
Steven_L_Intel1
Employee
1,159 Views
It's available now - 10.1.019.
0 Kudos
mail2
Beginner
1,159 Views

Does this mean that the integration with MSVS 2008is successfullnow ?

My IVF 10.1.019 seems not with MSVS 2008 under Vista. I installed VS first, then the comlete compilers C++ & Fortran & Integration, both as Administrator.

HelloWorld starts with VS and I see the compile and link buttons, which do not result in an obj or exe anywhere andthe execute button (therefore) remains deactivated, whatever I try. I'm seaching in the project settings, but without result yet.

Any idea or info-link ?

Thanks Clemens

0 Kudos
Steven_L_Intel1
Employee
1,159 Views
Yes, it should work. Did you try Solution > Build Solution? Did you create a project type that has an executable?

If you need more help, please contact Intel Support.
0 Kudos
mail2
Beginner
1,050 Views

Steve, not yet as how you suggested, but I bungled a little and just got this VS integration and exe working just beforeyour reply, at least for a part of it.

My 1st impressionwas that quite a lot of VS-2008 settings and project files structure hase changed. And my time to find out details about installation and setting "how-to's" is so limited. (( =help! )).

Could youfor instance merge relevant details aboutVista + VS2008 integration & settings insome help document or an installation guideon this forum ? Because the alternative-- searching for problems & solutionsinevery thread to follow and each of us --could become quite fustrating.

Thanks Clemens

0 Kudos
Reply