Quantcast
Channel: Intel® Fortran Compiler
Browsing all 3270 articles
Browse latest View live

Solving Equation by Iteration

Hello,I wrote the following code to solve an equation by iteration but I never get a reasonable answer.do f=0.0000,180.0000 y= (Thita_ow*pi/180d0) + (f*pi/180d0) - pi -...

View Article


Using C# Dll in Fortran

Hello,  I created following Code in C#: (I used R.Giesecke Dllexport Template to create a unmanaged Dll with C#... it creates me a ".lib" and ".dll" file with (managed) C# )//UnmanagedExports.cs using...

View Article


Problem with open statement using non-associated pointer argument

Hi,I'm trying to call the open statement with some specifiers which are non-associated pointer variable.Since the specifier in the open statement are optional arguments, calling the open statement with...

View Article

File not find during link

I'm working in a Linux system ( Ubuntu 12.04 ), using ifort linking the main program main.f90 and library lib.a. If I use commandifort main.f90 /home/tom/lib/lib.athen everything is fine. But if I...

View Article

OpenMP parallel do simd collapse problem

Dear all,when compiling the following demo codeprogram collapse implicit none real, dimension(1000) :: data1 = 1.0e0 real, dimension(100,10) :: data2 = 1.0e0 integer :: i,j !$omp parallel do simd do...

View Article


intel_VEC_memcpy issue

Hi,I have recently upgraded to XE2013SP1 and have got the following linker error:Error    3     error LNK2019: unresolved external symbol ___intel_VEC_memcpy referenced in function...

View Article

Calling dll from Intel Fortran.

I am new to Intel fortran. I have dll created by FORTRAN power station. Unfortunately, i don't have the source code for the dll. But i need to call the function through intel fortran. How to call the...

View Article

Equivalence behavior across Windows and Linux for legacy code from VMS

I have inherited some FORTRAN from VMS. It looks like it moved from VAx to Alpha/AXP and now headed to Window 7 and later and to Linux Redhat 5x and later. Building on VMS/Alpha with check/all reveals...

View Article


Selective use of OpenMP features

Is there a standard/recommended way to use OpenMP features selectively depending oncapabilities of the compilercapabilities of the hardwareWhat I mean is the following. If I write a code that should be...

View Article


memory leak of function returning polymorphic allocatable with allocatable...

The following code results in a memory leak when compiled with ifort 14.0.3module testmod type :: obj integer, allocatable :: i contains procedure :: add => obj_add procedure :: copy => obj_copy...

View Article

finding the right dlls to put with ifort exe to run on computers without a...

 We need to assemble the right dlls for a multithreaded win32 ifort exe so it will run on users computers which don't have compilers installed.  Right now, its a trial and error porcess to find which...

View Article

dll error

Hi,I am converting a program from Microsoft fortran power station to intel fortran. I compiled the program and bulid a exe file. when i run the exe file, it give system error " The program can't start...

View Article

How to use floating license as a second user?

Hi, we (my colleague and I) shared the fortran compiler (1 floating license with 2 seats, info at the bottom of the post)  last December. It worked fine for my colleague when he is the sole user. But...

View Article


iso_c_binding and indefinite number of arguments

Hello,I am trying to call a C subroutine with an indefinite number of arguments from a Fortran code. I have written something that work ok when using gcc/gfortran (various versions) but I get a...

View Article

local type(c_ptr) in a multithreaded code

Hello,I'm having a few issues with a type(c_ptr) variable declared inside a routine which is called by multiple threads at the same time. I managed to reproduce the problem in a small code with OpenMP...

View Article


ifort error #10037 could not find 'link'

Hi everyone,i've installed intel Parallel Studio XE 2013 last 4 months with the combination with MS Visual Studio 2010. It was working perfect till last week when I faced a compiling error by Matlab...

View Article

Inter-process communication

Hello,I saw some postings in this forum about using Pipe for inter-process communication. I try to write a Fortran code to implement this idea but ifort does not recognize CreatePipe. What do I miss...

View Article


Character

Hi,I wrote small program to read and write a character. But it gives error messages.program check1    CHARACTER str*(*)     read *, str    print *, str    end program check1When i ran this program, it...

View Article

Unresolved externals with intrinsic Fortran functions

I've recently changed the core mathematical libraries we use from the Netlib versions of BLAS and LAPACK to the MKL versions. This has been going fine until I tried to link a Fortran binary to these...

View Article

output of gfortran compiler vs ifort compiler

This is my code and the name of the file is comp.f:      program comp      complex    :: x      x=(6.3,1.0)      print*,x      end program compIf I compile it with ifort "ifort comp.f", when I run it...

View Article
Browsing all 3270 articles
Browse latest View live


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