Ifort 15.0.2 segfaults on shared pointer access within OpenMP tasks
Hello,I have a problem with OpenMP tasks in the Fortran code below:program helloworld use omp_lib implicit none integer, pointer :: a(:) allocate(a(40)) a = 0 !$omp parallel shared(a) !$omp master call...
View ArticleFortran compiler for linux to student
Hi everyone.I see that there is free version of c++ compiler available for studentsI want to ask you if there is a free version of fortran compiler for linux available for students. If the answer is...
View ArticlegFortran to iFortran static build
Background: I maintain a large legacy Fortran77 code with that has, for many years, been successfully compiled and linked under a c-shell with gFortran and g++, now under OS X Yosemite. I am moving the...
View ArticleNeed advice re: parallelisable code
I have some number-crunching code which contains the following type of nested pair of do-loops:DO I=1,NPHASE CP=CPHASE(I) SP=SPHASE(I) SUMR=0.0D+00 SUMI=0.0D+00 DO J= I,NMAX, NPHASE...
View ArticleOptimization question: Using temporary variables instead of direct array access
Hi,lately I've seen a piece of code out of a famous scientific article, which is known for its fastness. In it the author always uses temporary variables to restrict access to array elements to a...
View ArticleSpecific Old Version Required
Hello,I require a particular older version of Intel Fortran. I have a latest student version of Parallel Studio XE Composer 2015 and I tried to download a specific older version i.e. Intel Fortran...
View ArticleGetting error when invoking dummy function when it returns an array
I am trying to invoke an external function through a dummy function name. The error is:Error 1 error #6634: The shape matching rules of actual arguments and dummy arguments have been violated....
View ArticleIntel release of IMSL Ver 7.1 ?
I recently found that version 7.1 of the IMSL libraries from Rogue Wave provided support for use of Nvidia GPU's, Does anyone know when the Intel ver of IMSL 7.1 will be available and if it will...
View ArticleUnable to decide what to download
Hi and Good Day!I have an academic serial and I am interested to download some environment where I can make fortran applications. Now when I try to download, I am given four choices of softwares i.e....
View ArticleNot getting exact output
Hi,I am Gaurav & just started using fortran. I tried to run following code for which output should be 10.5 but instead I am getting 16.5. Why is it so? please tellPROGRAM try REAL (KIND=8)::...
View ArticleCompiling with -check bounds
I have looked at this thread - https://software.intel.com/en-us/forums/topic/271337 and I have recompiled my code with -check bounds. However this does not print as output anywhere that array...
View ArticleWant tips on Porting Fortran developed on Intel WIndows IDE to Gfortran on Linux
I have a straightforward 64-bit Windows console program .EXE that reads input from formatted files, crunches numbers and outputs to other formatted files. It consists of two .F90 free-format files,...
View ArticleInternal compiler error (C0000005)
Dear Fortran Masters, The code below is given an internal compiler error (C0000005). It seems valid Fortran 2003 to me. The idea of the code is to know the dimensions of the internal arrays of the...
View ArticleIA-32 build Thread model Free in HKEY_CLASSES_ROOT\Wow6432NODE\
Hi,I have Windows 7 professional service pack version 1Intel Core TM i72760 QM CPU 2.40GHZVisual Studio 2005Visual Fortran version 10 for windowsIA-32 Build I have an application that works just fine...
View Articleold 32-bit compiler vs 64-bit compiler trouble - array values
Hello, A program is seg faulting due to Common array values not being constant through subroutines. This did not occur on our old 32-bit machine, but it has appeared in our new 64-bit machine. Old...
View ArticleHow to output a matrix without changing to a new line?
For exampleprogram main integer m complex cjj complex matrix(3, 5) cjj=(0.0, 1.0) matrix(1, :)=2*cjj matrix(2, :)=2+1*cjj matrix(3, :)=5*cjj+6 open(16, file='data.txt') do m=1, 3 write(16, *)matrix(m,...
View ArticleDifferent results in debug and release
Running my program in ivf release mode returns other results than ivf debug mode, cvf debug mode and cvf release mode (their results are all the same). After a long search I found that the compiler...
View ArticlePassing multi-dimensional arrays from VB.net 2013 to IVF
Hi,though I expect the subject has been discussed many time, I couldn't find a reference in the forum.I am looking for documentation or (working) examples on how to pass 2d arrays from VB.net 2013 to...
View Articlecatastrophic error using automatic arrays in module procedure declarations...
Hi I'm getting a catastrophic error when trying something like this:module foo_mod ... interface ... module subroutine foo(lb,v) integer(IK), intent(in) :: lb real(RK), intent(inout) :: v(lb,:) end...
View Articlecalling .Net methods from FORTRAN
Hi,I did come across lot of examples showing how FORTRAN procedures can be called from .NET platform. Is the other way round is possible?That is, can we call .NET methods from FORTRAN, are there any...
View Article