Forumshttps://software.intel.com/en-us/view/forum-page-default/36934
enIntel® Parallel Studio XE 2018 has been released!https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/743892
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>The D-Day is here!<br />
<br />
Intel® Parallel Studio XE 2018, including Intel® Visual Fortran Compiler 18.0, is now available from the <a href="https://registrationcenter.intel.com/en/">Intel Registration Center</a>. Release notes can be found <a href="https://software.intel.com/en-us/articles/intel-visual-fortran-compiler-180-for-windows-release-notes-for-intel-parallel-studio-xe-2018">here</a>.</p>
<p>The Intel® Fortran Compiler now supports all features from the Fortran 2008 standard. Additional Fortran 2008 features added in the Intel® Fortran 18.0 release are noted below:<br />
</p>
<ul>
<li>COMPILER_OPTIONS and COMPILER_VERSION in ISO_FORTRAN_ENV</li>
<li>COMPLEX arguments to trigonometric and hyperbolic intrinsic functions</li>
<li>FINDLOC intrinsic function</li>
<li>Optional argument BACK in MAXLOC and MINLOC intrinsic functions</li>
<li>Multiple type-bound procedures in a PROCEDURE list</li>
<li>Passing a non-pointer data item to a pointer dummy argument</li>
<li>Polymorphic assignment with allocatable Left Hand Side (LHS)</li>
<li>Allocatable components of recursive type and forward reference</li>
<li>Data statement restrictions removed</li>
</ul>
<p>Language features for task reductions from the OpenMP* Technical Report 4 : Version 5.0 Preview 1 specifications are now supported.</p>
<p>Visual Studio 2013, 2015 and 2017 are supported. Visual Studio 2015 Shell is included for Commercial and Academic license types if you don't have a supported Visual Studio installed.</p>
<p>Please see the <a href="https://software.intel.com/en-us/articles/intel-visual-fortran-compiler-180-for-windows-release-notes-for-intel-parallel-studio-xe-2018">release notes</a> for more details.</p>
</div></div></div>Tue, 12 Sep 2017 17:38:42 +0000Devorah H. (Intel)743892 at https://software.intel.comrc.exe not foundhttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/701641
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>I have a piece of code that runs on another computer that I'm trying to compile and run on my computer but whenever I try to build the solution I get an error rc.exe not found. I've done some research and believe that the issue is related to having the wrong combination of Visual Studio and Intel Fortran installed together. I've tried uninstalling and reinstalling several different version of both VS and Parallel Studio, ranging from 2013 - 2017 but I have not had much luck. The latest combination that I'm trying to run (because I know it works on a co-workers computer) is VS 2015 and Parallel Studio 2016. When I install VS 2015 (vs_community__dacf5a455b1e6f42b116fc4a12963433.exe), everything goes smoothly, no problems. When I install Parallel Studio 2016 (parallel_studio_xe_2016_update3_setup.exe), I get the following warning: "Microsoft Visual Studio* 2015 does not have "Common Tools for Visual C++ 2015" components installed, and "Microsoft Visual Studio* 2015 does not have C++ "X64 Compiler and Tools" components installed." The installation continues and finishes but when I load the project and try to build the solution I get the error "rc.exe" not found. When I search my C:/ drive I don't find rc.exe anywhere. I downloaded "Common Tools for Visual C++ 2015" and ran the executables (vc_redist.x64.exe, and vc_redist.x86.exe), I get a warning saying that the install failed because another version of program was already installed and I should uninstall it before I continue. Can anyone please shed some light on what I need to do to be able to build solutions and compile programs on my computer?</p>
<p> </p>
</div></div></div>Mon, 31 Oct 2016 22:23:16 +0000Elvis P.701641 at https://software.intel.comAdding version number to the output target file name (.dll)https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/753642
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Hello,</p>
<p>I'm using visual studio with Intel fortran compiler to build a (DLL). I want to change the output file name incrementally every time so that the newly compiled (DLL) would have a different number than the previous (e.g. version number, time or date).</p>
<p>Could I get help on that?</p>
</div></div></div>Wed, 13 Dec 2017 17:15:06 +0000Ibrahim A.753642 at https://software.intel.comExtended type objects not working properly with Intel Fortran 18https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/753641
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>We have a large code base that works well with Intel 17.x and gfortran. I recently upgraded to Intel 18 and all tests are now broken. For some reason, methods on a polymorphic object are not not being called properly. Instead of calling the method for an extended type, the program is calling the method for the parent type. It would be some work to make a small example, so at this point and am trying to see if this bug has been detected.</p>
</div></div></div>Wed, 13 Dec 2017 17:09:38 +0000clang001753641 at https://software.intel.comInstalling Intel Fortran 32 bit compiler incorrectly configures Visual Studio 2017https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/753633
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Hi</p>
<p>I have Visual Studio 2017 15.5 installed. I installed Intel Fortran Composer 2018 update 1 edition with only the 32 bit Fortran compiler. This is for our build machine.</p>
<p>Building the project in Visual Studio failed. It failed to find the compiler ifort.exe. In Visual Studio -&gt; Options -&gt; Intel Compilers and Tools-&gt;Visual Fortran -&gt; Compilers, the path was $(IFortInstallDir)bin\ia32. but that directory did not exist. Only intel64_ia32 folder was there. I renamed the folder to ia32 but still failed. Something about failing to find the 64 bit exe, sorry forgot to record the message. </p>
<p>I eventually ran the Intel Fortran Installer again and installed the 64 bit compiler leaving the 32 bit compiler installed. The path was corrected to $(IFortInstallDir)\bin\intel64_ia32 in options. This failed, forgot the message. I changed the path to $(IFortInstallDir)\bin\intel64 and now in compiles. It finds the ifort.exe. The application I am building is 32bit but on another working machine, the path is set to $(IFortInstallDir)\bin\intel64 for some reason.</p>
<p>In summary, it looks like for Visual Studio integration, at least 64 bit compiler must be present. I have both 32 bit and 64 bit and it works. When I installed just Intel Fortran 32 bit, the build failed. It could not find ifort.exe</p>
<p>My build now works but I thought I would write up what I found.</p>
<p>Tim</p>
<p> </p>
<p> </p>
</div></div></div>Wed, 13 Dec 2017 16:04:07 +0000Timothy W.753633 at https://software.intel.comWhat on earth is a basic blockhttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/753629
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>In the ifort documentation for code coverage, light yellow stands for 'Partially Covered Code'.</p>
<p>Its description runs as follows:</p>
<blockquote><p>Indicates that more than one basic block was generated for the code at this position. Some of the blocks were covered and some were not. You can override the default color with the <a href="http://127.0.0.1:47873/help/1-10428/ms.help?method=page&amp;id=MAIN_FOR-CCC5CDCC-000176&amp;product=VS&amp;productVersion=100&amp;topicVersion=&amp;locale=EN-US&amp;topicLocale=EN-US&amp;embedded=true#OPTS1" rel="nofollow">-pcolor tool option</a>. </p>
</blockquote>
<p>What on earth and in the seven heavens is a "basic block"? This could be <em>anything </em>to the uninformed reader. Could be a variable declaration, a whole module, a program.</p>
<p>What is this mysterious entity? Does it have anything to do with this? <a href="https://www.obliquity.com/computer/fortran/common.html">https://www.obliquity.com/computer/fortran/common.html</a></p>
<p> </p>
<p> </p>
</div></div></div>Wed, 13 Dec 2017 13:25:21 +0000awa5114753629 at https://software.intel.comCharacter value changinghttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/753611
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>I have a module variable</p>
<p>character*(128) :: cellmlfile</p>
<p>
which is read from a text file, within subroutine reader. I set the first space (at position 49) to NUL, because this will be used later as an argument in a call to a C function. Just before returning from the subroutine ichar(cellmlfile(49:49)) = 0. In the calling subroutine, the value immediately on returning from subroutine reader is set back to 32 (the whole string is exactly what was originally read.)</p>
<p>What could cause this? I am using IVF 11.0.075.</p>
</div></div></div>Tue, 12 Dec 2017 22:07:52 +0000gib753611 at https://software.intel.comFortran visual studio compatible with windows10https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/753590
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>I have problem executing a code compiled (successfully it seems) with visual fortran XE 2013 on a newly bought PC (64 bits) using windows10</p>
<p>the error message is "this application cannot run on your PC".</p>
<p>does anyone know which version of fortran visual studio is compatible with windows10 ?</p>
<p> </p>
</div></div></div>Tue, 12 Dec 2017 14:02:29 +0000kleiner, isabelle753590 at https://software.intel.comXE 2018 v1 Help files gone (again)https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/753572
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Where are the compiler documentation files?</p>
<p>The MSVS integration to the help files is broken (again - I see it happened with the 2016 release).</p>
<p>I have repaired my install, but still no links to the compiler and language reference.</p>
<p>David</p>
</div></div></div>Tue, 12 Dec 2017 03:22:25 +0000David White753572 at https://software.intel.comDLL can't see main program's shared variableshttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/753571
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Hi All,</p>
<p>I want to learn how to make a DLL share variables in a module USEd by both the DLL and its calling main program. From examples I can find I have put together a very small test program which unfortunately does not work. Here are the mainline, the DLL, and the module:</p>
<pre class="brush:fortran;">program DLLtester
use SharedVariables
use ifwin
implicit none
integer*4 hlb,iret
pointer (cpaddr,calcpi)
character*1 ch
hlb = loadlibrary('..\..\CalcPi\Debug\calcpi.dll'//char(0))
if(hlb==0)then
type *,"Can't find CalcPi.DLL"
accept *, ch
call exit
end if
cpaddr = getprocaddress(hlb,"CALCPI"C)
if(cpaddr==0)then
type *,"Can't locate CalcPi in CalcPi.DLL"
accept *, ch
iret = freelibrary(hlb)
call exit
end if
numerator = 355.0
denominator = 113.0
call CalcPi
iret = freelibrary(hlb)
type *, pi
accept *, ch
end program DLLtester</pre><p> </p>
<p> </p>
<pre class="brush:fortran;">subroutine CalcPi
! Expose subroutine CalcPi to users of this DLL
!
!DEC$ ATTRIBUTES DLLEXPORT, ALIAS:"CALCPI" :: CALCPI
use SharedVariables
implicit none
pi = numerator/denominator
return
end subroutine CalcPi
</pre><p> </p>
<p> </p>
<pre class="brush:fortran;">module SharedVariables
implicit none
real*8 :: numerator
!DEC$ ATTRIBUTES DLLEXPORT :: NUMERATOR
real*8 :: denominator
!DEC$ ATTRIBUTES DLLEXPORT :: DENOMINATOR
real*8 :: pi
!DEC$ ATTRIBUTES DLLEXPORT :: PI
end module</pre><p> </p>
<p>What do I need to do to make this work?</p>
<p>With many thanks in advance</p>
<p>Mike</p>
</div></div></div><div class="field field-name-field-attachments field-type-file field-label-hidden"><div class="field-items"><div class="field-item even"><table class="sticky-enabled">
<thead><tr><th>Attachment</th><th>Size</th> </tr></thead>
<tbody>
<tr class="odd"><td><span class="file"><a href="https://software.intel.com/sites/default/files/managed/d5/7a/CalcPi.f90" class="button-cta" type="application/octet-stream; length=274">Download</a><img class="file-icon" typeof="foaf:Image" src="https://software.intel.com/sites/all/themes/isn3/css/images/attachment_icon.png" alt="application/octet-stream" title="application/octet-stream" /> <a href="https://software.intel.com/sites/default/files/managed/d5/7a/CalcPi.f90" type="application/octet-stream; length=274">CalcPi.f90</a></span></td><td>274 bytes</td> </tr>
<tr class="even"><td><span class="file"><a href="https://software.intel.com/sites/default/files/managed/2b/90/DLLtester.f90" class="button-cta" type="application/octet-stream; length=712">Download</a><img class="file-icon" typeof="foaf:Image" src="https://software.intel.com/sites/all/themes/isn3/css/images/attachment_icon.png" alt="application/octet-stream" title="application/octet-stream" /> <a href="https://software.intel.com/sites/default/files/managed/2b/90/DLLtester.f90" type="application/octet-stream; length=712">DLLtester.f90</a></span></td><td>712 bytes</td> </tr>
<tr class="odd"><td><span class="file"><a href="https://software.intel.com/sites/default/files/managed/4a/1f/SharedVariables.f90" class="button-cta" type="application/octet-stream; length=268">Download</a><img class="file-icon" typeof="foaf:Image" src="https://software.intel.com/sites/all/themes/isn3/css/images/attachment_icon.png" alt="application/octet-stream" title="application/octet-stream" /> <a href="https://software.intel.com/sites/default/files/managed/4a/1f/SharedVariables.f90" type="application/octet-stream; length=268">SharedVariables.f90</a></span></td><td>268 bytes</td> </tr>
</tbody>
</table>
</div></div></div>Tue, 12 Dec 2017 03:21:52 +0000michaelgreen753571 at https://software.intel.com