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

norm2 for complex vectors

dear all,I usually use NORM2 to compute the error in a while cycle.However, I have complex vector now and NORM2 does not work.Is there any norm2 function for complex vectors?Thanks 

View Article


User-defined derived-type i/o

I'm trying to find a way of using this to serialize some data. The problem I'm having is that the data are already written into a direct-access file but I can't find a way to use the DTIO functionality...

View Article


Fortran Optional Arguments

I have a subroutine splits_str_to_int (s, delim, t1, t2, t3, t4, t5), where t2, t3, t4, and t5 are optional. I am creating a wrapper around it. When using optional arguments in the wrapper subroutine,...

View Article

Polymorphic Variable Detecting Arrays

Is it possible for an unlimited polymorphic variable to detecd an array. subroutine test (tn) class (*), Intent (Out) :: tn Select type (tn) Type Is (Integer, dimension(:)) tn = 3 End Select end...

View Article

Image may be NSFW.
Clik here to view.

catastrophic error: Internal compiler error

The attached subroutine (old Fortran) generates the following error:crash2.f: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with...

View Article


New Log In Total Points vs Status Points

In attempts to resolve a licensing issue (other thread on this forum), it came to my attention (today) that there is a new Log In page. Well.. ok... but then I received an email this morning...

View Article

Image may be NSFW.
Clik here to view.

Open Source Downloads

This article makes available third-party libraries, executables and sources that were used in the creation of Intel® Software Development Products or are required for operation of those. Intel provides...

View Article

linux compiler

Hi,   Question One: I just purchased a student version of the intel fortran compiler for Linux. Knowing that there is three different versions of the compilers, "composer", "profession", "cluster", on...

View Article


Transfering string sequence to integer array

I want to be able to transter a sequence of numbers in a string to an array.My question is what will be the most intuitive way to behave when the numberof elements in s are different from size of isq...

View Article


memory usage - print it out

Dear all,I find very useful to print out the CPU time in a Fortran program.I would like to know if is possible to print out also the RAM or memory usage.Thanks a lot

View Article

building linux executables from windows/MS VS/ifort

 I was wondering if there is an existing way, or if in the future, there would be cross compiler support to run MS VS and intel fortran on windows  to build both windows executables and linux...

View Article

Compilation error when using Class(*), Intent (out)

Have written a routine to convert a character to integer Integer :: j Write (*,*) '# Call str_to_num ("12", j)' Call str_to_num ("12", j) Write (*,*) "j: ", j I am using class(*) and getting error...

View Article

Problem evaluating function result array under debug

The following code is compiled with debug (no optimisation), irk is a integer parameter equal to 8 in this case: function dca_axis_ang(theta,x) result(dca) implicit none real(irk) :: dca(3,3)...

View Article


Image may be NSFW.
Clik here to view.

Intel(r) Visual Fortran run-time error when running ansys from matlab

I tried to interface Matlab and Ansys. Starting Ansys from Matlab again and again in a loop.It worked but after several loops it stop and a window with below error comes up.

View Article

Cubic root: CBRT

HiThe pgi-fortran-compiler provides access to the LIBLM, which include as function "CBRT". CBRT is the cubic root y = x**(1./3.) which turns out to be much faster than the fortran-term x**(1./3.).Can I...

View Article


strange problem of DATA statement

      When I assign initial values to variables using the DATA statement, such as ,integer(kind=4):: nss DATA nss /86400/then I print out the value of nss, the result is 86527. I don't konw why this...

View Article

Running program freezes after a while

Hi,I compiled my program with ifort (with ifort  -parallel -O3). The program runs for a while, but the computations finally stop and the program is in the state "S" (interruptible sleep) according to...

View Article


Project settings saved per user?

Hi,I am using Visual Studio 2013 update 4 and IVF package 2015.1.148I have noticed that some project settings are saved per user, not per project. If I create a new DLL project called "MyDLL", Visual...

View Article

Image may be NSFW.
Clik here to view.

Puzzling compiler error msg

I get error #6008 when I compile this.How then should I initialize these arrays?except by copying arrays from some other locations that are not in the module.Actually I dont understand why DATA...

View Article

Legacy Fortran Compiling Woes

I have legacy Fortran code ranging in date from the 60s to 90s that I need to be able to compile.The code works as it is written, even if it uses some old practices that are no longer standard. It was...

View Article
Browsing all 3270 articles
Browse latest View live


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