Оптимизация? Конечно, каждый сталкивался с данной задачей при разработке своих, сколь-нибудь значительных, требующих определённых вычислений, приложений. При этом способов оптимизировать код существует огромное множество, и, как следствие, различных путей сделать это в автоматическом режиме с помощью опций компилятора. Вот здесь и возникает проблема – как выбрать то, что нужно нам и не запутаться?
I compile with success my code with Intel Visual Fortran and i used it without problem.
But when i send my exe to a friend his antivirus identify it as a virus.
How is it possible? Is there anything i can do to fix the problem?
Thanks in advance
I'm trying to compile a Software call Delft 3D with VS2010 and Intel Composer 2013. I download the last version of Intel Visual Fortran Compiler, but the source code is create of the version 126.96.36.199 and I use 188.8.131.52.
How can I get a older version of the compiler?
Thanks for your help
There are two questions I would like an explanation for in the simple test below:
1. Why doesn't the code issue an error at run time - since the allocation of the coarray specifies different bounds on image 1 and images >1?
2. Why does the code run to completion at all? I thought there was an implicit barrier (SYNC ALL) for the allocation of any coarray, and that this barrier had to correspond to the same line of code. Or is it sufficient to have coarray allocations with the same bounds (even if said allocation occurs in different parts of the program)?
I tried a simple 'hello' coarray and at runtime I got this:
unknown option: -localonly
what those this means?
thanks in advance
I have a code in FORTRAN and it runs sequentially without problem (I compile it with /O3 and x64 platform). Then I add OpenMp syntaxes to make the code more optimized. This time it gives me "Stack overflow" message (even if I run it ). I increased stack reserve size to about 1GB but it does not work.
Here is part of the code that change to make it parallel:
I have a old scientific Fortran program that made liberal use of allocating one very large array in the main routine and then chopping up the array (memory) for smaller use by passing multiple chunks to Subroutines by using an offset. The array in the main program was of type real or double precision and in the receiving routine it could be defined as integer, real or double precision. Also, in the receiving program the dimension of the array could be a single dimension or multi-dimension.
I am using Visual studio 2008 and FORTRAN 9.1 to compile and link and FORTRAN code to ASPEN plus, now while before I created FORTRAN codes in other version of FORTRAN. There is no problem in compiling the existing FORTRAN codes and link them to ASPEN plus by this combination of versions, however I cannot find how I can create new FORTRAN codes in the current version of Visual studio!'
Does any one has any idea about this?
I have successfully got a project going with VS2010 C/C++ and Intel Fortran thanks to help here but I want to compile essentially the same code on a second machine. This machine did not have VS C/C++ so we purchased Intel C/C++ and Intel Fortran. Both installed okay, but I am not having any luck getting the C++ into the fortran project at all. I can add the wrap.c to a fortran project, but it doesnt appear to get compiled. I cant create a C/C++ static library either when I have created a fortran solution.
I am trying to use Intel Visual Fortran (IVF) and Visual Studio 2013 to run with my code which was run on Digital Visual Fortran (DVF).
The code includes two files, which are main program (main.f90) and subroutine, respectively. I can run the code on DVF correctly.
When I compiled the code with IVF, however, I got two problems:
1) How to compile fortran code without project?
- Page 1