Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Browsing all 2746 articles
Browse latest View live

Compiler Warnings when using linkers -- Noob Question

Hello All, I am very unaware of certain compiler errors and warnings, but my advisor has recruited me to fix a problem for him. After scouring the web and stackoverflow, I am very unsure of what to...

View Article


Error related to absent optional argument

The following code is a simplified version of another example posted by "Simon" on the Silverfrost Fortran Forum, see http://forums.silverfrost.com/viewtopic.php?p=18780 . My reading of the Fortran...

View Article


Download MKL solver examples

I am using the Intel Fortran compiler through my university's cluster and I cannot find the example codes for the MKL solver examples (which should be at "examples/solverf/source"). Is there any way I...

View Article

write format problem ( real )

hello, allI write a simple program for writing real variable.But  case1 and case 2 has some space in front of the number.Then I tried using 0PF0.4 format, but it removed the number zero.Finally I...

View Article

forrtl: severe (64): input conversion error

Hello! This may be a simple obstacle but I am clueless to resolve it. Thank you in advance to help me to fix it. Below is my section of code, I am getting the  error in line 2 of which I have no idea...

View Article


Behavior of function-returned array pointers of dynamic size

I'm trying to use array pointers as an output from a function. The pointer target is a function variable whose size is not fixed. I've noticed that when using these returned pointers in other parts of...

View Article

Traceback line numbers do not match source line numbers

Hi,I have an example where lines reported in the traceback on an error do not match source line numbers. The same mismatch exists between gdb line numbers and the source file. The mismatch starts...

View Article

OpenMPI 1.10.0 built with Intel Parallel Studio XE 2016

Hello,I have built Open MPI 1.10.0 using Intel compilers 16.0.0. When I am trying to compile the following test code:  program testmpi use mpi implicit none integer :: pid integer :: ierr integer ::...

View Article


FORTRAN IO OPERATION

Hi all I am using the following code to create a new file PROGRAM TEST_IO INTEGER*4 UNIT,IOS OPEN (UNIT=119, FILE = '$HOME/compile.log', IOSTAT = IOS, - STATUS = 'NEW', RECL = 132, FORM = 'FORMATTED',...

View Article


Bogus error with PROTECTED attribute

Hello,there is a strange problem when the PROTECTED attribute is used before the actual variable declaration.Example:module ifc_protected implicit none private public :: x !---------- protected :: x !...

View Article

ICE with an extended parameterized derived type (PDT)

module m use, intrinsic :: iso_fortran_env, only : i4 => int32, i8 => int64 implicit none type :: base_t(k,n,m) integer, kind :: k = i4 integer, len :: n = 1 integer, len :: m = 1 end type base_t...

View Article

Image may be NSFW.
Clik here to view.

linking failure with c++ libraries

I'm trying to add some new functions from a c++ library to one of my existing fortran projects. The library compiles and builds fine, but when I go to link I get errors that I don't understand where...

View Article

ISO_fotran_binding (bug?)

I'm experimenting with the iso_fortran_binding  facilities. I have found something that may be a bug.The compiler Version is:16.0.0.109 Build 20150815I have written the following C routine:#include...

View Article


INT gives me incorrect value

HelloI have this code:program th implicit none integer N1 integer maxi,ei,Nc,ns,na real CH1,CH2 OPEN(unit=1,file='input_file',status="old") read(1,*) ns !!! read(1,*) ei !!!!!!!!!!!!!!! read(1,*)...

View Article

Setting environment variable

Hi AllI am facing issue in setting environment variable in the linux platform using a fortran code.I have tried with SETENVQQ and export command inside the SYSTEM function and EXECUTE_COMMAND_LINE...

View Article


Compiler automatically set not declared variables to zero

Hi,I am developing an already existing code. When by mistake I insert a not declared variable in the code, for example because of a typo, the compiler don't give me back an error but define this...

View Article

kill a MPI job on Linux in a clean way

Currently I use killall or pkill to do it. But there are quite a few messages on the screen.I am wondering if there is a clean way to delete a MPI job?

View Article


Image may be NSFW.
Clik here to view.

Install parallel_studio_xe_2016_composer_edition failed (linux)

HelloI'm trying to install it, but I have the next problem at the end of installation.Step 6 of 7 | Installation -------------------------------------------------------------------------------- Each...

View Article

cycle velocity

Dear all,I have a very simple question. If I have two vector, let's say AA(:) and BB(:), what is between the following options the faster one?DO i=1,SIZE(AA) AA(i)=BB(i) ENDDOor AA(:) = BB(:)thanks a lot

View Article

debug options

Dear all,Usually, when I compile, I use the option -CB in order to check the correct allocations of my vector.  Is there any option to check the variables that I do not use in my code?Thanks a lot

View Article
Browsing all 2746 articles
Browse latest View live


Latest Images

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