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

Valgrind error with very simple program

The following simple programProgram Main implicit none write(*,*) "123" End Programgives some errors when run through valgrind.Here is the output$ ifort -v ifort version 16.0.2 $ ifort -g main.f90 $...

View Article


Using Intel Fortran in Amazon AWS EC2 instances

Do Intel Fortran and C++ compilers work in Amazon AWS EC2 instances? What is the best type of license to purchase for use in EC2 instances? Any advice would be greatly appreciated.

View Article


Pointer assignment

  Hi,I am working on profiling and optimising an application. The application is written in Fortran 2003 and I am using the Intel ifort (IFORT) 16.0.0 20150815 version to build. I have two questions.In...

View Article

MAX,MIN,ABS,MOD functions for long integer

HelloIs there any counterpart to the Fortran functions MAX,MIN,ABS,MOD which would return a long integer (integer(8)) number upon returnThanksAdam 

View Article

iostat 31 on write

Hi,I am migrating a legacy fortran program from HP UX f90 to Redhat Linux using the ifort compiler.  The program is throwing an error on the first attempt to write to a direct access file on the linux...

View Article


Confusion with FORTRAN 2008 OO

The more I use F08 object orientation, the more confused I get... I was pretty sure I had tested this previously with Intel compiler and it worked (about 4 years ago) but now it refuses to!Imagine a...

View Article

Problem with structure constructor

ifort produces an error compiling the following code:module m implicit none type, abstract :: c_a end type c_a type, extends(c_a), abstract :: c_b !type, abstract :: c_b ! removing the ancestor solves...

View Article

Dependency Generation Issues

We have a fairly complicated piece of software with thousands of files, multiple libraries/executables/build configurations (many implemented with #ifdef blocks), and a mixture of F77/F90/F2003 code...

View Article


Image may be NSFW.
Clik here to view.

More Polymorphic Pointers - Upcasting

Hello there once again,I have been playing with some upcasting (and downcasting) with Fortran's polymorphism these days, but I am not really sure about what is allowed.I am basically creating a derived...

View Article


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
Browsing all 2746 articles
Browse latest View live


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