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

Sequential WRITE with variable record length

I have been trying to read and write some files in Fortran, but my knwoledge on IO is pretty limited. I have been opening the file withOPEN(NEWUNIT=file_unit, FILE=filename, STATUS='replace',...

View Article


Image may be NSFW.
Clik here to view.

C++ Code written in VS2010 is working in Linux but not in windows

HiI am working on VS2010 mixed-programing and use the Intel Compiler / VisualStudio (Intel Parallel 2015) to compile my project in VS 2010.#include <conio.h> #include <string.h> //#define...

View Article


Mixed Language linking capitalization

Dear fellow developers,I've recently came across a compilation problem when using the HDF5 library with the Intel compiler suite (ifort 16.0). I'm using a rather complex setup on Ubuntu 14.04:What I...

View Article

subroutine argument real to integer conversion

Hey,I am migrating a legacy HP UX f90 program to a Linux Intel ifort program.  There is a call to a subroutine where one of the actual arguments is an integer array output from the subroutine but the...

View Article

will -heap-arrays flag be ignored if -openmp is used?

Will -heap-arrays flag be ignored if -openmp is used for compilation?BTW, will -heap-array cause any issue with thread-safety? Thanks, 

View Article


Installation and environment variables.

I use an iMac running OSX 10.11.4. I have Xcode and Command Line Tools installed.Yesterday I installed IntelŪ Parallel Studio XE 2015 Composer Edition for Fortran OS X evaluation. The installation...

View Article

Using a different floating point model for offload section

Hi,I am working on an application, where we can specify all the compiler flags, floating point models (eg -fp-model source etc.) etc, in the Macros file.In the code, I am offloading a certain section...

View Article

Silent truncation of character parameters

There appears to be a silent truncation of character parameters under certain circumstances.  This may be related to some internal limit.  However, I do not get any warning for this truncation.Sample...

View Article


OpenMP Collapse(n)

Intel Compiler looks to be behaving oddly for the loop structure below when compared to GCC. !$OMP DO collapse(3) private(l,j,k)DO l=1,n    DO k=1,n      DO j=1,n                        a...

View Article


unlimited polymorphic parameter and transfer intrinsic

Trying to use polymorphism with the transfer intrinsic, I ran into a behaviour that I don't understand.With the following test program, i get the following output :storage req. size =           16text...

View Article

updated Xcode and Fortran, now have loader problem

I am trying to compile a code with a makefile that worked fine until today. Today I updated Xcode to v7.3, then installed the latest version of Fortran Composer 2016 ('which ifort' yields...

View Article

why undefined reference to ??

I am now writing a makefile for a code not written by me. It uses 'MKL'. But the difficult part for me is that I do not know which 'lib' to include.Now when I try to generate a executable file, errors...

View Article

Why does the "ifort -v" command spawn a process to gcc

I noticed that when issuing the command ifort -v it then launches another process for gcc.  Is that to be expected or somehow tied to the bootstrapping of the Intel compiler installation?  I am...

View Article


Simple coarray test program generates segment faults

Hi All,Just started playing with coarrays, and have this simple program! This looks at a simple coarray version of doing a numerical gradient program CoarrayTest2 implicit none real(8), allocatable::...

View Article

segfault reading from piped stdin on centos7.2

I'm getting a buffer overflow detected segfault when reading from stdin via a pipe on centos7.2.  Works on ubuntu 14.04.  Works on both when compiled with gfortran. The ubuntu machines has the compiler...

View Article


How can one use the GNU Scientific Library with the Intel Fortran compiler?

The GNU Scientific Library contains functions not available in the MLK library.  The GSL website ishttp://www.gnu.org/software/gsl/Is it possible to use the GSL with the Intel Fortran compiler?  How?

View Article

Ifort bug: Loosing polymorphic information for overriden operators

Dear Intel developer,The ifort 16 compiler (16.0.0 20150815) seems to generate non-standard conforming code, when a polymorphic type with an overriden operator is stored as a pointer within a derived...

View Article


Ifort bug: Polymorphic assignment operator not recognized

Dear Intel developer,The ifort compiler (16.0.0 20150815) refuses to compile valid Fortran 2003 code if this contains overridden assignment in a polymorphic type. The self containing code below...

View Article

Xcode 7.3 upgrade and IFORT plugin

Actually can contribute an answer for once ... so thought would shareAfter the m_fcompxe_2016.2.049.dmg update in February the IFORT plugin was working in my Xcode 7.2 setup, yay happy daysUpgrade to...

View Article

Boundary Run-Time Check Failure

Good morning.I have a hybrid OpenMP/MPI code.It compiles and runs successfully. I compile with:mpiifort -qopenmp -mt_mpiWhen I use option: -check stack, I get:Boundary Run-Time Check Failure for...

View Article
Browsing all 2583 articles
Browse latest View live


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