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

problems with .exe file

dareios82
Beginner
570 Views
Hello,

I recently installed on my laptop (HP Pavillon dv4000 with Intel Pentium M 1.73 GHz - OS: Windows XP SP2) Intel Fortran Compiler v10.0.025 IA-32. In my codes I use functions from IMSL 6. After I build the project I can start the executable file from the Visual Studio interface (using the command Start without debugging) and the program runs without any problem. The problem is that I cannot start the executable file directly (for instance double clicking on the .exe file). This happens when I build the project either in debug or in release mode. I tried to use the .exe file (with the project built in release mode) on a different machine and I get the same problem.

What should I do?

I have a second question. When I build a project in release mode, can I use the executable file on any machine having Windows XP as OS?

I apologize for these trivial questions and for the imprecise language but I am new to Fortran.

Thanks in advance

Dario
0 Kudos
2 Replies
Steven_L_Intel1
Employee
570 Views
What happens when you run the EXE directly? Does this program look for an input data file and if so, where is that file? (Note that when run from Visual Studio, the default directory is that of the project, not the subfolder where the EXE resides.)

In general, yes, you can run your program on other supported Windows systems. If your program is linked against the DLL libraries, you must copy those DLLs to the other system. When using IMSL, there are some additional restrictions regarding number of processors (no more than 4) and to not use on a "cluster" (unlikely in your case). Read the License Agreement .

Why aren't you using a current version?
0 Kudos
dareios82
Beginner
570 Views
Dear Steve,

thanks for your help! The problem was the location of the txt files with the data.

All the best

D
0 Kudos
Reply