Memory leak in FORTRAN format with variable string length
Hi,I am experiencing a memory leak of ~1MB in a subroutine if I am using the following write like statement inside: write(*,10)(line(j),j=1,var) 10 format(1x,<var>a1)where var is variable...
View Articleattempt to compare Qparallel vs. Qopenmp compilation (15.0.2)
I thought I remembered that it used to be possible to compile an OpenMP source file with /Qparallel, omitting /Qopenmp. Now I get an immediate ICE when I try it. I don't recall seeing any advice...
View ArticleOptional OpenMP-Directives
HiI want to put OpenMP-directives and OpenACC-directives in one program.In the OpenACC-program some OpenMP-directives shall be ignored (when there is an equivalent OpenACC-directive) but others shall...
View ArticleSupport for passing internal procedures fails in parallel environment (not...
Fortran 2008 allows passing internal procedures as actual arguments and Intel Fortran supports this. A passed internal procedure can see host data so it makes it easier to write generic functions like...
View ArticleCompatibility VS2008 and IMSL7
Hello everybody,I'm using intel visual fortran implemented in the visual studio software VS2008 (specifications' details are joined below). My problem is that I need some mathematical functions which...
View ArticlePause program to wait for external signal
For a fortran program are there any extensions (or even possible with Fortran standard) that can pause a program during execution and wait for a signal from an external source to resume execution. My...
View ArticleUnresolved externals
I'm using the 30-day trial of the Intel Visual Studio 2015 with C++ and FORTRAN compilers. I'm evaluating for purchase and need some help please.When trying to build a simple mixed language project...
View ArticleCan't access GetMenuInfo function from USER32.f90
I'm using Intel Visual Fortran 2013, with MSVS 2010. I want to access the GetMenuInfo function which is in the USER32.f90 library.However I'm not able to access this function. I've tried to create...
View ArticleRandom reading of an unformatted file?
Hi All,I have a large file of geographic information created thus:open(1,file=trim(shapefile),status='replace',form='unformatted',iostat=ios, & err=1000,recl=128,recordtype='stream')I read the...
View ArticleIs this is bug? Error: Invalid signal or error
Program Test implicit none INTEGER, PARAMETER :: dble = SELECTED_REAL_KIND(P=10,R=50) INTEGER, PARAMETER :: sngl = SELECTED_REAL_KIND(P=5) REAL (KIND = dble), ALLOCATABLE, DIMENSION(:), TARGET...
View ArticleProblem with an unresolved symbol _for__rtc_uninit_src
Hello,for one of our program suites I keep getting a bizarre link error, which my colleagues do not experience. The message is:error LNK2001: unresolved external symbol _for__rtc_uninit_use_src By...
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 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 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 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 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 Article