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

ifort in one machine, c visual studio in other, possible?

jdrodrig
Beginner
542 Views
I have what I think would be a very noob question.

I have in my laptop installed VS 2008 and Ifort 11 under Vista 32. But I would like to run my code in a server Win Server 64 to which I dont have admin privileges. That server has VS 2005 with C++ compiler but no fortran compiler.

Would it be possible to do combine the ifort I have with the C++ in that server to generate a 64bit executable?

So far, I have only being able to Build on my 32bit VS 2008, "copy-paste" the 32 executable, together with the omp library, and execute.

I thought, maybe wrongly, that ifort in my box could generate a 32bit object that C++ 64 bit could Build upon later on.

Thanks,
0 Kudos
3 Replies
Steven_L_Intel1
Employee
542 Views
You can't mix 32 and 64-bit objects/DLLs/etc. You can build a 64-bit application (or object or DLL) on the 32-bit system.

What you need is:

1. The "x64 compiler and tools" component from VS2008
2. The "Intel 64" Fortran compiler

Read the ifort release notes section "Configure Visual Fortran for 64-bit Applications" for details. Then read the compiler documentation for how to specify a different target platform.
0 Kudos
jdrodrig
Beginner
542 Views
You can't mix 32 and 64-bit objects/DLLs/etc. You can build a 64-bit application (or object or DLL) on the 32-bit system.

What you need is:

1. The "x64 compiler and tools" component from VS2008
2. The "Intel 64" Fortran compiler

Read the ifort release notes section "Configure Visual Fortran for 64-bit Applications" for details. Then read the compiler documentation for how to specify a different target platform.

Thanks for the quick reply.

I will give it a go.
0 Kudos
jdrodrig
Beginner
542 Views
Quoting - jdrodrig

Thanks for the quick reply.

I will give it a go.

Just to report that it worked beautifully!

I just had to remind myself to copy-paste the 64bit openmp library to where the 64bit executable was.
0 Kudos
Reply