Can I use mkl lp64 vs ilp64 together in a singe program?
In my program, it has used my other libraries.I want to use some blas rountines with integer in 64bit. But I don't want to change the other parts of the program.So, I have to use blas in 64version and...
View ArticleICE in select type with class(*)
The code below produces an internal compiler error, if the /debug:full option is enabled.program main implicit none real :: foo(2,2) foo = 1.0 call testSub(foo) contains subroutine testSub(matrix)...
View ArticleMultiple versions of fortran and MS visual studio
Hi,I'm writing some fortran subroutines and linking them to a commercial code. The code is in the form of a library, and it was compiled with intel fortran parallel studio XE 2013, with MS Visual...
View ArticleDoctor Fortran in "The Future of Fortran"
In November 2014, I led a session at SC14 (the event formerly known as “Supercomputing”) titled “The Future of Fortran”. I invited representatives from other vendors and members of the Fortran...
View ArticleFirst Derivative
Hi,I have some data (z,h) which reprents sinusoidal curve. Now, I would like to calculate first derivative dh/dz at each point (z,h).I am using Intel Fortran Compiler with IMSL.Can you please help me...
View ArticleWhat hath "TS 29113/TS 18508" wrought!?
The following simple code compiles fine with the latest Intel Fortran compiler 2015, update 2 but it gives an error with gfortran, a GCC 5.0 development trunk version.The error, as shown below, has to...
View ArticleFortran source pretty printer/refactoring tool
When I switched to IVF/F90/F95 many years ago I used the plusFORT tool from Polyhedron to modernize the hundreds of source files in my Fortran projects saving me a lot of time and effort.Today I tried...
View ArticleMixing redistributables from multiple compiler versions on same machine
Hello,I have an application that was built with Intel Fortran 14.0 and I'm trying to run it on client workstation where Intel Fortran is not installed. So I've installed Intel Fortran 14.0...
View ArticleCalling Java from Fortran using JNI
Hello,I have a program to call Fortran from Java. The codes for func.f95, addC.c, and addJava.java are as follows:FUNCTION add(c, iflag) RESULT(f) INTEGER, INTENT(IN):: c INTEGER, INTENT(OUT):: iflag...
View Articlecompile ifort source code in different folder
Dear all,I would like to compile a fortran code with ifort. The source code files *.f90 are in different sub-folders.how can I do?Thanks
View Articleifort real*4 count bug
Recently, I wrote a piece of codes, like that below. The value of num is larger than the range of integer 32. The result of the tmp should be 2. But in that code, the program gave 0. No matter if use...
View ArticleOverriding type-bound procedures
Hi there,I am trying to make best use of Fortran's OOP features and I have a question regarding the overriding of type-bound procedures.Is there a way in which I can define a type-bound procedure that...
View ArticleInternal compiler error with nested ASSOCIATE constructs
program p implicit none integer :: i(1) asc_1: associate ( j => i ) asc_2: associate ( k => j ) end associate asc_2 end associate asc_1 stop end program p------ Build started: Project: p,...
View ArticleOpenMP calls with newer multi core/thread CPUs
My new workstation runs RH Release 6.6 with Linux kernel 2.6.32-504.el6.x86_64, with a Xeon CPU & 64 GB RAM, etc. Nothing else is different, however, now my Fortran routines with openMP calls to...
View Articleimplicit class
Intel Visual Fortran falis to compile implicit class statements such as:implicit class(foo) (a-b) implicit class(*) (c)gfortran had the same bug which was fixed in gfortran 4.9:...
View ArticleAccess violation reading location 0x00000000
The full error i'm getting is Unhandled exception at 0x0162EF4C in MAIN.exe: 0xC0000005: Access violation reading location 0x00000000I think this is just a symptom of an underlying problem. I've been...
View ArticleCharacter string allocation in elemental subroutine
If I build and run the attached program I getMethod 1: {Monday } {Tuesday } {Wednesday} {Thursday } {Friday } {Saturday } {Sunday }but I don't understand why. I'd have thought that...
View ArticleProblem
Hello, I bought three years ago a software FORTRAN from Intel. Recently I had a problem with my software. Then, I reinstalled it. The program works well but I have a message when I try to connect me to...
View ArticleInstalling Fortran compiler
I am trying to install the Fortran compiler (and associated libraries and linkers) on my MacBook Pro laptop -- a brand new (Yosemite) system. I downloaded the "Academic Research Performance Libraries...
View Articlelaunching the fortran compiler not possible
Dear Service Team,I have installed the parallel studio xe 2015 cluster version (30 days free). The installation was complete and sucessfull.But I dont find any .exe file in installation folder for...
View Article