[OpenMP] Threadprivate outside main program and copyin clause
Dear all,I have an issue with a Fortran code that I am trying to parallelize using OpenMP. This is a code for Monte Carlo particle transport and it has several COMMON blocks that I marked as private...
View ArticleUsing C library : option -cxxlib
Hi,With Linux OS we could use the linker option -cxxlib in order to link C libraries. I am trying to migrate my fortran project from Linux to Windows, and I cannot find an equivalent option. Is there...
View ArticleCOARRAYS
I would like to parallelise certain parts of my fortran project and to start with changed the enable coarrays parameter to For Shared Memory (/Qcoarray:shared). The program recompiled and linked...
View ArticleInternal compiler error getting RNG state
The following code generates an internal compiler error with 14.0.3.202:MODULE rng_state TYPE StateType INTEGER, ALLOCATABLE :: s(:) END TYPE StateType TYPE (StateType) :: state CONTAINS SUBROUTINE...
View ArticleMKL related calls not allowed inside offload regions?
HiI am implementing offload of an existing Fortran openMP region to Xeon Phi and have run into a few issues ...I run the latest version of parallel studio 2013 with visual studio 2012 on Windows server...
View ArticleScrolling in Fortran Windows application
I have written a fortran windows application, wherein the main window uses the right and bottom scroll bars as well as being able to scroll via the mouse in the middle of the screen. The problem is...
View ArticleUrgent Help Requested in Running Intel FORTRAN on Windows
Hello Steve Lionel,This is a SOS. I have old FORTRAN files (F77 version) in a folder on my desktop. What I need to do is to compile and run these files. I am using Windows and have Intel Visual...
View Article“This is not a valid initialization expression” while using NULL() to...
Hello everybody, In the module i'm writing, I'm using a module called FluidProp that uses DWINTY. I have seen on a help page that there are conflicts with the null statement, and that it could be...
View Article[OpenMP] SpeedUp for array initialization
Hi all,I'm investigating a problem that I could boild down to basically the array initialization - which does not really seem to give me any speedup on Windows OS.Consider the following piece of...
View ArticleCORE_AVX2 vs. Fortran array assignments
I've noticed that the CORE-AVX2 or xHost option sometimes produces AVX-128 code (about equivalent to SSE) where the AVX option produces AVX-256. I've submitted a premier report in case this may be...
View ArticleCtrl + C being intercepted
I have a Visual Studio 2010 C dll that has a Intel Visual Fortran Composer XE 2011 static library that is linked to the C dll. This dll is loaded from a third party tool that uses Ctrl + C to interupt...
View ArticleNo Debug information when debugging a project
I have a Fortran test driver which calls a function in a DLL. The DLL is built as a C++ project. The C++ project links an Intel Fortran built LIB of various Fortran subroutines, together with C++...
View ArticleObject-oriented list example in "Modern Fortran Explained" does not work
I am unable to get the "classic" list example in Modern Fortran Explained - Michael Metcalf, John Reid and Malcolm Cohen, Oxford University Press, 2011, ISBN 978-0199601417 to work with Intel Fortran;...
View ArticleMemory leak with WRITE operation on an internal file (variable of CHARACTER...
Consider the following trivially simple program :PROGRAM p IMPLICIT NONE !.. Local variables CHARACTER(LEN=2) :: StrBuffer INTEGER :: I I = 1 WRITE(StrBuffer, FMT='(I2)') I !.. STOP END PROGRAM p When...
View ArticleInternal compiler error with a derived type with a procedure pointer "container"
The following code generates an internal compiler error with compiler version 2015 Beta:MODULE m !.. IMPLICIT NONE !.. PRIVATE TYPE :: s !.. CHARACTER(LEN=:), ALLOCATABLE :: q PROCEDURE(fabs), NOPASS,...
View Articlex86 and x64 Compiling issue
Hello everybody. I posted an issue a few days back, and unfortunately another one made its appearance.My project built smoothly (with warnings on the FluidProp module, my supervisor used the module...
View ArticleHow to read multiple data without changing line?
Dear all,I have a file without fixed number of data in every line. The example data are as follows:0 0 0 30 45 0.2 0.001 5 0.005 0 0 1 0 0 1 0 0 0.2 0.001 1For every line, if the eighth number is...
View ArticleCalling a File (a matrix with unknown size) inside of the UEL and COMMON...
Hi everybody,I'm almost new in FORTRAN and UEL. I have two questions:1- Inside of the UEL I have to open and read a file which contain a matrix with unknown size. Without defining the size I can't open...
View ArticleVALUE attribute has no value?
PROGRAM DubiousValues IMPLICIT NONE LOGICAL :: array(3) !**** array = .TRUE. PRINT "('Before:',*(L1,:,1X))", array CALL proc(array) PRINT "('After :',*(L1,:,1X))", array CONTAINS SUBROUTINE proc(arg)...
View ArticleWRITE Statement
Hi all,The output of my program is a text file. The write statement is as follow:open(unit=3 , file='GI.txt') do i=1,n write(3,*) GI(i,20),GI(i,21),GI(i,22),GI(i,23),GI(i,24),GI(i,25),GI(i,3) end do...
View Article