Forumshttps://software.intel.com/en-us/view/forum-page-default/36934
enJoin the Intel® Parallel Studio XE 2018 Beta programhttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/731279
<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 would like to invite you to participate in the Intel® Parallel Studio XE 2018 Beta program. In this beta test, you will gain early access to new features and analysis techniques. Try them out, tell us what you love and what to improve, so we can make our products better for you. </p>
<p>Registration is easy. Complete the pre-beta survey, register, and download the beta software:</p>
<p><a href="http://intelcustomer.az1.qualtrics.com/jfe/form/SV_09AEJgAYdKezL6d" rel="nofollow"><strong>Intel® Parallel Studio XE 2018 Pre-Beta survey</strong></a></p>
<p>The 2018 version brings together exciting new technologies along with improvements to Intel’s existing software development tools:</p>
<p><strong>Modernize Code for Performance, Portability and Scalability on the Latest Intel® Platforms</strong></p>
<ul>
<li>Use fast <strong>Intel® Advanced Vector Extensions 512 (Intel®</strong> <strong>AVX-512)</strong> instructions on <strong>Intel® Xeon®</strong> and <strong>Intel®</strong> <strong>Xeon® Phi™</strong> processors and coprocessors</li>
<li><strong>Intel® Advisor -</strong> Roofline finds high impact, but under optimized loops</li>
<li><strong>Intel® Distribution for Python* - </strong>Faster Python* applications</li>
<li>Stay up-to-date with the latest standards and IDE:
<ul>
<li><strong>C++2017</strong> draft parallelizes and vectorizes C++ easily using <strong>Parallel STL*</strong></li>
<li>Full <strong>Fortran* 2008</strong>, <strong>Fortran 2015 </strong>draft</li>
<li><strong>OpenMP* 5.0 </strong>draft, <strong>Microsoft Visual Studio* 2017</strong></li>
</ul>
</li>
<li>Accelerate MPI applications with <strong>Intel® Omni-Path</strong> Architecture</li>
</ul>
<p><strong>Flexibility for Your Needs</strong></p>
<ul>
<li><strong>Application Snapshot -</strong> Quick answers: Does my hybrid code need optimization?</li>
<li><strong>Intel® VTune™ Amplifier </strong>– Profile private clouds with Docker* and Mesos* containers, Java* daemons</li>
</ul>
<p>And much more…</p>
<p>For more details about this beta program, a FAQ, and What’s New, visit: <a href="https://software.intel.com/en-us/articles/intel-parallel-studio-xe-2018-beta">Intel® Parallel Studio XE 2018 Beta page</a>.</p>
<p>As a highly-valued customer and beta tester, we welcome your feedback to our development teams via this program at our <a href="https://supporttickets.intel.com/">Online Service Center</a>.</p>
</div></div></div>Thu, 13 Apr 2017 23:54:01 +0000Kevin D (Intel)731279 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.comTDD, test coverage for Fortranhttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/741969
<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.<br />
My question is about measuring test-coverage in Fortran code.</p>
<p>I have searched on the Forum for TDD and have found only one dead topic<br />
12/02/2003 "Unit Testing with Fortran" <a href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/273128">https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/273128</a></p>
<p><strong>Current status.</strong><br />
I have some unit-tests (~200) for my simulator written in Fortran. I can run them manually and get the amount of passed/ not passed.</p>
<p>I'm trying to find a tool to evaluate the % of the code covered by my unit-test.</p>
</div></div></div>Fri, 18 Aug 2017 04:44:47 +0000Denis Bannikov741969 at https://software.intel.comDLL vs EXE quandaryhttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/741968
<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>This is a puzzler.</p>
<p>I have a rather old code that gets all of its input from reading an input file and writes all output to a file.<br />
I have compiled the code as a console program (i.e. EXE), and as a subroutine in a DLL. The only change to the fortran source is changing PROGRAM to SUBROUTINE. Visual Studio 2010 forces me to use a different project for each since it can't seem to build both an EXE and a DLL from the same project.</p>
<p>Upon execution, the two builds produce very different results from the same input file. Does anyone have any suggestions on what could cause that. The two Intel Fortran projects in Visual Studio were created entirely with default settings. The DLL seems to run correctly, but not the EXE. I tried the EXE from both Release and Debug builds, but got the same thing from each.</p>
</div></div></div>Fri, 18 Aug 2017 03:18:11 +0000Brian Murphy741968 at https://software.intel.comIntel visual fortran can't find the Visual Studio on my computerhttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/741536
<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 am trying to use the VS 2017 but when I install the Intel Visual Fortran on my computer it says: " Intel® C++ Compiler will not work because none of the supported environments is found on your computer. Intel® C++ Compiler requires that Microsoft Visual Studio* / Microsoft Visual Studio Express Edition* 2012, 2013, 2015, or 2017, or Microsoft Windows SDK* for Windows* 8.0 should be already installed and none was found on your computer.".</p>
<p> However I have the Visual Studio Community 2017 installed on my computer. My OS is Windows 8.1.</p>
<p>Anyone have an idea of what I could do?</p>
<p> </p>
<p> </p>
<p> </p>
</div></div></div>Thu, 17 Aug 2017 17:23:36 +0000Bruno L.741536 at https://software.intel.comF2003 vs. F2008 OOP comparisonhttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/741531
<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'm looking for a good source for OOP examples where the new capabilities of F2008 (F2015?) are shown in contradiction to F2003. I found some information in this sources:</p>
<p><a href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/559996">https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/559996</a> and certainly here <a href="https://software.intel.com/en-us/blogs/2013/12/30/doctor-fortran-in-its-a-modern-fortran-world">https://software.intel.com/en-us/blogs/2013/12/30/doctor-fortran-in-its-a-modern-fortran-world</a> and <a href="https://groups.google.com/forum/#!topic/comp.lang.fortran/kiGbkjR-Ksc" rel="nofollow">https://groups.google.com/forum/#!topic/comp.lang.fortran/kiGbkjR-Ksc.</a></p>
<p>Does anyone know, which of the 'newer' books cover the differences?</p>
<p>Many examples are based on F2003 and it would be good to know, how they could be realized with F2008/2015 capabilities.</p>
<p>Thanks, Johannes</p>
<p> </p>
</div></div></div>Thu, 17 Aug 2017 16:38:42 +0000Johannes741531 at https://software.intel.comFailure to detect the standard prohibition on the use of a non-intrinsic procedure in an initialization/constant expressionhttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/741321
<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>A support incident # 02999251 has been submitted at the Online Service Center to resolve a failure by the Intel Fortran compiler to raise an error when a non-intrinsic procedure is used in an initialization expression.</p>
<p>Shown below is an example of this problem where the named constant declaration on line 12 uses a non-intrinsic procedure, construct_t, via the generic interface that has the same as the type t that is involved in the declaration. This is, unfortunately, not allowed per the current Fortran standard.</p>
<pre class="brush:fortran;">module m
implicit none
type :: t
end type
interface t
module procedure construct_t
end interface
type(t), parameter :: foo = t()
contains
function construct_t() result( r )
type(t) :: r
end function
end module m
</pre><p>Upon compilation using Intel Fortran compiler 18.0 Beta Update 1,</p>
<pre class="brush:plain;">C:\..&gt;ifort /c /standard-semantics /stand /warn:all m.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64,
Version 18.0.0.083 Beta Build 20170510
Copyright (C) 1985-2017 Intel Corporation. All rights reserved.
ifort: NOTE: The Beta evaluation period for this product ends on 12-oct-2017 UTC
.
m.f90(16): warning #6178: The return value of this FUNCTION has not been defined
. [R]
function construct_t() result( r )
----------------------------------^
m.f90(16): remark #7712: This variable has not been used. [R]
function construct_t() result( r )
----------------------------------^</pre><p>The issue is noticed with Intel Fortran compiler 17.0 update 4 as well.</p>
</div></div></div>Mon, 14 Aug 2017 19:23:28 +0000FortranFan741321 at https://software.intel.comVS2017 and IVF 17.0.4.210 Can't compile from Visual Studiohttps://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/741297
<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,<br />
I have just installed VS2017 and IVF version 17 on a Windows 10 machine.<br />
When I try to build a Fortran project nothing happens. Same if I try rebuild.<br />
Building a C++ project works.<br />
Running ifort from the command line works.<br />
Previously I used VS2015 with the same compiler without problems.</p>
<pre>Build Log
Build started: Project: ABCD, Configuration: Debug|x64
Output
Deleting intermediate files and output files for project 'ABCD', configuration 'Debug|x64'.
ABCD - 0 error(s), 0 warning(s)</pre><p>
</p>
<pre class="brush:fortran;"> PROGRAM ABCDPGM
IMPLICIT NONE
PRINT*, "HALLO"
END PROGRAM ABCDPGM</pre><pre class="brush:plain;">From the command line:
Intel(R) MPI Library 2017 Update 3 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright (C) 2007-2017 Intel Corporation. All rights reserved.
Copyright (C) 1985-2017 Intel Corporation. All rights reserved.
Intel(R) Compiler 17.0 Update 4 (package 210)
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.0.26430.16
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
C:\F90\DT&gt;ifort ..\pgm\abcdpgm.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.4.210 Build 20170411
Copyright (C) 1985-2017 Intel Corporation. All rights reserved.
Microsoft (R) Incremental Linker Version 14.10.25019.0
Copyright (C) Microsoft Corporation. All rights reserved.
-out:abcdpgm.exe
-subsystem:console
abcdpgm.obj
C:\F90\DT&gt;abcdpgm
HALLO
C:\F90\DT&gt;
</pre><p>Any suggestions as to what is wrong?</p>
<p>Regards,<br />
Svein-Atle Engeseth</p>
<p> </p>
<p> </p>
<p>
</p>
</div></div></div>Mon, 14 Aug 2017 18:09:14 +0000Svein-Atle Engeseth741297 at https://software.intel.comIOSTAT 43 on OPENhttps://software.intel.com/en-us/node/741247
<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 with an IOSTAT 43 on OPEN a .txt file containing the numbers 4.0 -9.0 2.0 2.0 -4.0 4.0 -1.0 2.0 2.0. Someone can help me? </p>
<pre class="brush:fortran;"> program LU
implicit none
character*300 :: filename
integer :: ul,erro,dim,i,j,k
real*8,dimension(:,:),allocatable :: a,l,u
real*8,dimension(:),allocatable :: x,y,b
filename = ''
ul = 3
erro = 0
dim = 0
!matriz A
write(*,'(A)') 'Informe o nome do arquivo que contém a matriz A:'
read(*,'(A)') filename
write(*,'(A)') 'Informe a dimensão da matriz:'
read(*,'(I)') dim
allocate(A(dim,dim))
allocate(l(dim,dim))
allocate(u(dim,dim))
a = 0.0
l = 0.0
u = 0.0
open(ul,file=filename,status='old',action='read',iostat=erro,
+form='formatted')
if(erro.gt.0) write(*,10)erro
read(ul,'(F)') a
</pre><p> </p>
</div></div></div>Sun, 13 Aug 2017 14:12:03 +0000Tamiris C.741247 at https://software.intel.comhow to assign a double double variable?https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/741246
<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>if a double variable is assigned, <strong>d0</strong> need to be tailed.</p>
<pre class="brush:fortran;">real(8)::a
a=1.2d0</pre><p>Now, a higher precision variable need to be assigned, what is tailed?</p>
<pre class="brush:fortran;">real(16)::b
b=1.2??</pre><p> </p>
</div></div></div>Sun, 13 Aug 2017 07:13:47 +0000仁义 许.741246 at https://software.intel.com