Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all 5691 articles
Browse latest View live

problem created by latest INTEL / VS update - lost Fortran compiler!

$
0
0

Hi all,

I have updated my INTEL software to the latest version ("Intel System Studio 2018 Update 2 Ultimate Edition for Windows". As a result of this update, I've immediately lost the Fortran compiler in VS.

Until this update, it worked perfectly. The C++ support is present.

I think it somehow lost integration. Am getting the error message, however the integration files are in the correct folders:

1>------ Build started: Project: <_my project name_> Configuration: Debug x64 ------

1>The Fortran compiler (ifort.exe) cannot be found.

 

So far, I have:

- tried to "repair" the Intel visual studio - no use

- tried using the "reset" button in the VS preferences, Fortran tab - no use

- uninstalled all of Fortran compilers (INTEL visual studio)

- reinstalled it (twice so far...) - both 32 and 64 versions, my computer is x64, but just in case

- followed ALL instructions on this page: https://software.intel.com/en-us/articles/troubleshooting-fortran-integr...

including de- and re-registering the integrate.bat process, via the command line (yes, with Admin privileges.)

- rebooted after every one of these attempts

 

Hasn't made any difference. Still the same error.

I don't know if this makes any difference, but in VS the compiler is described as "Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, version 18.0.3 Package ID: w_comp_lib_2018.3.210" 

but the properties of the VFProj.dll in C:\Program Files (x86)\Common Files\Intel\shared files\VS Integration\VS15\Intel Fortran\VFPackages

says it's 18.0.40.15

 

Which is frankly weird, because I've just reinstalled that compiler twice.

 

Any thoughts about what I should do next? I am quite upset about this happening, as my project is due in a few days, and I really need this to work... and it was just a software update!

 

Thanks beforehand!

D. 


Write access for .obj file

$
0
0

This is the source file:

 

      Program hello
      print *, 'hello world'

      end program

 

This is the command screen:

 

Copyright (C) 1985-2018 Intel Corporation. All rights reserved.
Intel(R) Compiler 18.0 Update 3 (package 210)

Setting environment for using Microsoft Visual Studio Shell 15.0 x86 tools.

C:\Program Files (x86)\IntelSWTools>ifort /c C:\temp\hello.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on IA-32, Version 18.0.3.210 Build 20180410
Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.

error: can't open file hello.obj for write
compilation aborted for C:\temp\hello.f90 (code 1)

C:\Program Files (x86)\IntelSWTools>

 

I can turn off the "Read-only" attribute for the folder C:\temp, but when I execute ifort it gets changed back, and ifort can not generate the .obj file. 

 

Write access for .obj file

$
0
0

The big picture is that I need to migrate a 50,000-line Fortran code package from WinXP to Win10. The fatal flaw in trying to execute to old code seems to be a change in the API for mouse clicks. Full description of code: 

www.paseeger.com/documents/SPIE_5536(2004)109.pdf

The IMMEDIATE problem is that I have to learn to use Intel Fortran in the Win10 environment.  So far, I can't even compile the simplest program from a command line, because I can't get write access for the .obj file.  The folder C:\temp has the Read-only attribute set, and I can turn tat attribute off.  However, whenever I try to compile, it gets turned on aqain.  

This is the source file:

      Program hello
      print *, 'hello world'
      end program

This is the command screen:

Copyright (C) 1985-2018 Intel Corporation. All rights reserved.
Intel(R) Compiler 18.0 Update 3 (package 210)

Setting environment for using Microsoft Visual Studio Shell 15.0 x86 tools.

C:\Program Files (x86)\IntelSWTools>ifort /c C:\temp\hello.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on IA-32, Version 18.0.3.210 Build 20180410
Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.

error: can't open file hello.obj for write
compilation aborted for C:\temp\hello.f90 (code 1)

 

 

 

 

 

Activation failure for Intel Parallel Studio Cluster Edition

$
0
0

Hello there,

I have got a problem in the installation process of parallel studio. The client pops an error saying that my serial number is invalid. However, in my "Intel Products" page, the serial number that I have been given seems to be active. By the way, the serial number is an educational one and it was working before I format my computer.

The things that I've already tried are: Downloading the license file and browsing it in the client, did not work, same error. I have tried to install older versions since I took my educational serial number about 1 year ago, did not work also.

I do not know what to do, it seems I am running out of options.

Thank you.

 

 

Parallel Studio XE 18 for x64 Installation problems!

$
0
0

Hi all,

I keep having troubles with x64 version of Intel Fortran compiler (Parallel Studio XE 18, and also with earlier versions). I used to work with win32 version all the time, and now I need a 64 version - but I keep getting runtime errors - that entry point for some procedure is missing (most frequently for "for_array_copy_out", or smth like this).

I already reinstalled the intel compiler completely, and also made sure that I have C++ tools in the version of Visual Studio I use, but I still cannot run my programs with x64 version.

I would appreaciate any help/advice!!

Thanks!

Irina

How to include mkl_spblas.f90 ?

$
0
0

Hello,

I'm trying to use mkl_sparse_spmm routine, which seems to require include mkl_spblas.f90.

When I just state include'mkl_spblas.f90'at the head of my subroutine, it triggers many compile errors.

Could you give me some comments or an example of including the mkl_spblas.f90??

Thanks.

 

 

 

How to get sparse array in CSR format from a matrix handle?

$
0
0

Hello,

I'm using Sparse BLAS routines.

For matrix-matrix multiplications using the mkl_sparse_spmm routine, I created matrix handles, and then execute the routine.

But, how can I get the result in the original CSR format? I mean, the mkl_sparse_spmm gives the result in the form of matrix handle (pointer),

so I need a further step to get the final result in CSR format.

Thanks.

 

 

Help needed: call to MKL subroutine sgesv causes thread to exit with code 2

$
0
0

I am building a Windows app that makes use of the MKL libraries that ship with Intel Fortran 18.

I have a call to the subroutine sgesv(n, nrhs, a, lda, ipiv, b, ldb, info) which causes my program to exit with the message:

The thread 0x13458 has exited with code 2 (0x2).

I have checked that the parameters that I pass to sgesv(...) are all correct. However, I am at a loss as to what to do now, since sgesv() does not pass an error message back to me (and the thread crashes before I can read 'info', which normally reports on the success or otherwise of the call).

Any help would be much appreciated!

Andrew

 


missing libraries with .exe ( libifcoremd.dll )

$
0
0

Dear all,

I am developing a code with Intel Visual studio.

In my laptop everything works fine. However, the exe does not work on one colleague's laptop and on a workstation.

Both of them says that the libifcoremd.dll library is missed.

What could be the problem?

How can I solve it?

Really, Really,

Thanks 

 

 

How to detect tabulator signs in a character string

$
0
0

A program I made gets the data input from user written text files. If the user apply tabs to get the figures in the correct column, the file will be corrupted in the sense that the program is not able to read the data correctly from the file. I try to find a way that the program can scan the input file and remove the tab signs. I tried to use the fortran ICHAR function, but it seems like ICHAR returns the integer value 32, which means blank (bl). How I tested is shown below.

WRITE(IDEDIT,201) ! program prompts

READ(IDEDIT,202)ICOM ! just hit TAb and press return (ICOM is Character*2)

write(idedit,'(I3)' )ichar(icom(1:1)) ! test 22/08-18

write(idedit,'(I3)' )ichar(icom(2:2)) ! test 22/08-18

Hope somebody can give me a clue..

Q about solving a linear system using INTEL MKL

$
0
0

I want to solve the equation A*X=B, where A is a square matrix, and X and B are vectors,

Ex: real(8) A(10,10), x(10), B(10)

I was going to use the INTEL MKL - - - 

The routine that I see for that assumes that A is a TRIANGULAR matrix

(could be upper or lower), but I could not find a routine that assumes A is any general matrix.

Nor could I find a routine that converts A into a triangular matrix,

 

Does that mean I have to write code to first convert A into the proper format ?

Of course the right side (B) must also be transformed accordingly

It would be nice to have a simple example somewhere.

How do I reference the MKL from Visual studio ?

$
0
0

I cannot figure out what INCLUDE or USE statements to put into my code

 

so it can call a BLAS routine. I want to solve a linear system.

 

I NORMALLY use Visual Studio for my program development and testing,

 

Is there a special trick needed ?

Webinar : learn to be an intel visual fortran power user

FORTRAN mixed with C++

$
0
0

Hi Steve, hi all,

 

it is so confusing what I find about mixing FORTRAN and C++

I have Visual Studio 2017 with Intel Parallel Studio XE 2018 and Microsoft Visual C++ 2017.

My FORTRAN-routine should call C++ routines. Can you tell me exactly how I can do that?

 

Thanks in advance!

 

Olaf

Error 8284 and 6633 in V18 compiler

$
0
0

I am compiling legacy code, and running into errors 8284 and 6633, as many others have as well.  This is 40 year old code, and I have 559 of these errors, so editing the source code is not an option.  I see on the forum that in V12, it was possible to turn off these errors by setting Properties/Fortran/Diagnostics/Check Routine Interfaces to "No" (the default, I guess, used to be "Yes".

In V18 (at least as installed on my system), the default is already "No", so there is nothing to disable to get this to compile and link.  Has this option moved in later versions?

Thanks!


rc.exe

$
0
0

While compiling a simple Fortran code in Visual Studio 2012 I get:

1>rc.exe not found.

1>

1>Build log written to "file://C:\Data\dima\Path_integral\Parallel_Worlds\PW_2\PW_2\Debug\BuildLog.htm"

1>PW_2 - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

Can you help?

 

How change fortran associate target?

$
0
0

Say I want to define an associate s_yNext like this:

ascFS: associate ( s_yNext => darMatData(i) )

When i is increased how do I update the target of s_yNext ?

Actually the original code is:

s_yNext => status%darMatData(i, MATDATA_P1STRS+status%curveSection(i))

I want to avoid that long right side part by using associate. otherwise I could simply use s_yNext => darMatData

Non-advancing output to the screen - * versus output_unit

$
0
0

I ran into a little riddle: I wanted to show the progress of my program via a number written to the screen, not on separate lines, but one after the other. This did not work as I expected ,not even after adding a flush statement. It turns out that if you write to the screen using output_unit instead of *, the progress is shown as intended. This is not needed if the writes are followed by a read statement.

Here is a program that shows the behaviour (I tried with Intel Fortran 2015 and 2017, both do the same thing):

program chk
    use iso_fortran_env, only: output_unit

    implicit none

    integer :: i

    do i = 1,10
        !write(*,'(i10)', advance = 'no' ) i
        write( output_unit,'(i10)', advance = 'no' ) i
        flush( output_unit )
        call sleep( 1 )
    enddo

    write(*,'(a)', advance = 'no' ) 'Almost done ...'
    read(*,*) i
end program chk           

Use the first write statement instead of the second to see the effect. Is this behaviour intentional or some odd side effect? (FYI: this does not happen with gfortran). Mind you: this is not really a problem for me, just a riddle.

error #5102 'resource .fd'

$
0
0

hi, 

i work on a quickwin application using visual studio 2015 and intel visual fortran 2018 , i want to display a diaglog box but when i build the program it displayed me error#5102:cannot open include file 'resource.fd' , can anyone help me to fix this problem ?

Arezki Salem

Fortran error

$
0
0

Hello, i am getting the following error when trying to complied my program. 

Here is my code:

*USER SUBROUTINE

      SUBROUTINE DFLUX(FLUX,SOL,KSTEP,KINC,TIME,NOEL,NPT,COORDS,

     1 JLTYP,TEMP,PRESS,SNAME)

      include 'ABA_PARAM.INC'

      DIMENSION  FLUX(2),TIME(2),COORDS(3)

      CHARACTER*80 SNAME

*code 

!      REAL SOL,TEMP,PRESS

!      INTEGER JSTEP,JINC,NOEL,NPT,JLTYP

!      REAL t,dt,x,y,z

!      REAL FLUX1,FLUX2,FLUX3

      INTEGER flag,kstep 

      REAL t,x,y,z   

Real Q,a,b,cf,cr,pi,m,n   

*times

      t=time(1)

a= 6

      b = 2.5

      cf = 3

cr= 1

      pi = 3.14159265359

      

*start point parameters [m]

FLUX(1) = 0

FLUX(2) = 0

 

      x = coords(1)

      y = coords(2)

      z = coords(3)

      

C     FORM HEAT FLUX FROM SAMPLING POINTS

      if(kstep.EQ.3) then

Q = 0.5*10*90

x1=x

     y1=y

z1=z - 5*t

m=exp(-3*((x1)**2/(a)**2+(y1)**2/(b)**2+(z1)**2/(cf)** 2))

n=exp(-3*((x1)**2/(a)**2+(y1)**2/(b)**2+(z1)**2/(cr)** 2))

      FLUX(1)=(6*1.732*Q)*((1.5/cf)*m+(.5/cr)*n)/(pi*sqrt(pi)*(a*b))

end if

 

      return

      end

 

this is the error I am receiving:

Welding.for(35): error #5082: Syntax error, found '=' when expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. < .LE. <= .EQ. == .NE. /= .GT. > ...

     y=y

------^

Welding.for(34): error #6385: The highest data type rank permitted is INTEGER(KIND=8).   [X1]

x1=x1

-----------^

Welding.for(35): error #6385: The highest data type rank permitted is INTEGER(KIND=8).   [Y]

     y=y

-------^

compilation aborted for Welding.for (code 1)

Abaqus Error: Problem during compilation - C:\temp\Han\Welding.for

Begin MFS->SFS and SIM cleanup

8/28/2018 9:25:28 PM

   

 

Please let me know your thoughts on these few errors and how I could approach fixing them. Thanks!

Viewing all 5691 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>