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

My student license expired

I have been using Intel parallel studio on a student license but it expired recently. I found on a forum that you have to register again for this product to get a new license. I have been trying to...

View Article


-m64 flag doesn't seem to work

 Greetings, I've compiled a project from source with the command:ifort -c ../Source/*/* -std90 -m64 Next, I try to link all the binaries with ifort * -o runfileThis generates the warning ld: warning:...

View Article


MPI_Sendrecv setting rank to zero.

I am trying to use mpi_sendrecv, but it sets my process ranks to 0.The c version works fine. Can anyone help?Here's the code.program mpi_bug use mpi implicit none integer :: n,i integer ::...

View Article

Does the order of the compiler options matter?

I was debugging my Fortran code with some compiler options and, during runtime, the following error came up:forrtl: severe (194): Run-Time Check Failure. The variable 'readinputfiles_$I3' is being used...

View Article

type to class conversion in call with optional arguments

Out of curiosity, does anybody know whether the following code is standard conform or not. This was due to a minor oversight, but took a while to figure out, as the ifort compiler does not give any...

View Article


debugging and optimization on Linux

I am modifying someone else's code on Linux, and I get some runtime errors.  The programs are built with the -O3 option.  I wish to debug with gdb and take advantage of as many features as possible, so...

View Article

Backwards compatibility between intel 18 and intel 17 ifort compilers

Hi,I'm using ifort (intel 18) to compile this module: module test integer:: a contains subroutine f() end subroutine end module testTo be used with this program compiled with ifort (intel 17): program...

View Article

no traceback with -static-libgcc ?

Please consider this trivial code snippet, which does nothing else but generate a backtrace:program tb use ifcore call TRACEBACKQQ end  Compiling this with ifort 18 using the -traceback flag yields the...

View Article


allocation of large array

I am allocating a 4-dimensional array, and getting an application-generated error saying "FATAL: Unable to allocate array. Program ends"  (that's not an Intel Fortran message).I re-compiled with -debug...

View Article


-sox option inactive on link time ?

Hi,I'm compiling a fortran binary object per object, using the -sox option and using the "strings -a" command on the final binary, I can see the command lines used for compilation of each object.The...

View Article

mysterious floating point exception

I am working with a package provided by a university-affiliated organization.  I keep hitting an arithmetic exception on a particular line of code, and there seems to be no reason. I am wondering what...

View Article

Segmentation fault

Long time ago, I had this kind of error, but this time, I can not understand the reason. Compile any fortran code and run executable file gives error:  Segmentation fault (core dumped)I assume...

View Article

Using MPI with ifort

I have inherited an application with a makefile that supports the use of MPI for parallelization.  Toward the end of the make procedure, the make fails due to the mpif90 command not being found.  I...

View Article


yet another bug(?) in parameterized derived types

Hi allI think this code should compile:Module modparadt Type, public :: xx(k) Integer, kind :: k integer(k), allocatable :: v(:) End type xx End Module modparadt Program Test use modparadt Type(xx(8)),...

View Article

Trouble with naming a module

I have a stupid problem, and most probably I have messed something up but hear me out.I have a module of formmodule linear_stability real(kind=8), pointer :: curl_p1 end module linear_stabilityWhich...

View Article


forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable...

Dear All I am debugging my code and I saw a weird message which is shown below.forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable G_COARSWRK when it is not allocated  The...

View Article

call system error sh

Dear all,I have written this simple program to test "call system":PROGRAM unixsystem IMPLICIT NONE CHARACTER(LEN=30) :: cmd !string to store the Unix command cmd = "./pwd" ! As an example print the...

View Article


Linux under windows 10

Have been running Intel Fortran through the free version of Microsoft Visual Studio on a Windows 10 operating system.Since the build I have of Windows 10 is a later version I was able to download...

View Article

Polymorphic pointer to parent class not working

Consider the following class structure, which involves three separate modules:!----------------------- in file a.f      module parent_body_mod      type :: face         class(parent_body), pointer ::...

View Article

weird warning with round-remapping list in pointer

Could it be that warning 8589 is wrong if the data target is simply contiguous?A complete minimal program would be this ('main.f90'):real, target :: rank2_data(10,10) real, pointer :: rank1_ptr(:)...

View Article
Browsing all 2746 articles
Browse latest View live


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