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 ArticleUsing 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 ArticlePointer 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 ArticleMAX,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 Articleiostat 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 ArticleConfusion 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 ArticleProblem 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 ArticleDependency 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 ArticleMore 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 ArticleSequential 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 ArticleC++ 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 ArticleMixed 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 Articlesubroutine 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 Articlewill -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 ArticleInstallation 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 ArticleUsing 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 ArticleSilent 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 ArticleOpenMP 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 Articleunlimited 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 Articleupdated 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