Quantcast
Channel: Fortran
Browsing all 3108 articles
Browse latest View live

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


Image may be NSFW.
Clik here to view.

在 Linux* 主机上调试英特尔® 至强融核™ 应用

目录简介面向英特尔® MIC 的调试解决方案如何获得?为何使用英特尔提供的 GNU* GDB?英特尔为何提供命令行与 Eclipse* IDE 的集成?停用声明特性寄存器和指令集支持数据竞跑检测在命令行上调试本地调试远程调试使用 PDBX 进行远程调试使用 Eclipse* IDE...

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

MPI_BCAST fails with the error access violation only when the input is a string

Hi, all.I am puzzled on MPI_BCAST function. It works okay when I broadcast an integer, but fails when the input is a string. The test enviroment is VS2010+IVF 12 +MSMPI(v5).The error will beUnhandled...

View Article

how to delete the old edition Intel compiler in MacOSX?

how to delete the old edition Intel compiler in MacOSX?

View Article

Image may be NSFW.
Clik here to view.

Debugging Intel® Xeon Phi™ Applications on Linux* Host

ContentsIntroductionDebug Solution for Intel® MICHow to get it?Why use GNU* GDB provided by Intel?Why is Intel providing a Command Line and Eclipse* IDE Integration?Deprecation NoticeFeaturesRegister...

View Article


Image may be NSFW.
Clik here to view.

Debugging Intel® Xeon Phi™ Applications on Windows* Host

ContentsIntroductionDebug Solution for Intel® MICHow to get it?Debug Solution as IntegrationComponents RequiredConfigure & TestPrerequisite for DebuggingDebugging Applications with Offload...

View Article

relative ordering of LOGICAL and LOGICAL*1 in common blocks

As I've started several posts:  "I've got this legacy application . . ."Among its many "remarkable" features is the use of LOGICAL*1 to store characters on occasion.  I will change those to CHARACTER...

View Article


New code release

We are excited to announce the next release of the Intel® OpenMP* Runtime Library at openmprtl.org. This release aligns with Intel® Parallel Studio XE 2015 Composer Edition Update 2.New FeaturesOpenMP...

View Article

Passing allocatable array to a subroutine

I'm trying to pass an allocatable array, which is already allocated, to a subroutine. something like this:real(8), dimension(:,:), allocatable :: A allocate (A (6,6)) call subroutine mysub(A)...

View Article


Permission to access file denied

My application deals with an unformatted direct access file. A condensed outline isOPEN (60, FILE = 'dynbmrts.ts', FORM = 'unformatted', ACCESS = 'direct', RECL = ...) Write data to file Read data from...

View Article

From PowerStation 4.0 to Intel Fortran 12

Hello,At our laboratory we have some old Fortran code which has always been compiled by Power Station 4.0. Now, we want to migrate to Intel Fortran 12, but we are facing some problems. When we create a...

View Article

Image may be NSFW.
Clik here to view.

an interesting and serious topic

Hello there:         I have found an interesting  appearance which I can not explain. Okey, let's go.         I apply "micsmc" to surveiling the offload running state of MIC. The critical code like...

View Article
Browsing all 3108 articles
Browse latest View live


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