copy an array section within an array without temporary copy
I have some medium sized 3d arrays (approx 500x500x10) for which I sometimes need to copy a section of the array to a different (non-intersecting) section of the same array. E.g.: a(:,:,1:3) =...
View Articleloop with integer to real qp Internal compiler error
Hi ,I have internal compiler error with the following code, trying to convert from int to quadruple precision inside a loop with at least -O2 . Compiler version 14. It works with double...
View ArticleBaseline performance of non-vectorized code: '-no-vec' or ' -no-vec -no-simd' ?
Hi,I am trying to have a baseline performance of the non-vectorized version of the following code:1532 do k = ks, ke 1533 do ii = iis, iie 1534 value = vals(ii) 1535 do j = js, je 1536 offset_1 = (...
View ArticleOpenMP and polymorphic entities
Consider this simple program:program OpenMP_and_class implicit none type link_t integer :: id end type link_t type link_element_t type(link_t), allocatable :: element end type link_element_t type...
View ArticleOpenMP parallel loop crashes (?)
Hello everybody,I am trying to make the section of my code to run parallel:.... EL=0.0d0 !$OMP parallel DO SHARED(S,COUL) PRIVATE(I1,J1,ID,JD) reduction(+:EL) DO J1=1,NY DO I1=1,NX IF...
View Articleoutput from fortran to excel
hi everybody,at firts i apologise my english after that,i am using visual fortran for my acedemic thesis. i dont know fortran very well.in my programme, i took a output excel file but when i took my...
View Articleinput data file
i wanna input data which is txt or dat file. i dont do this. i saw a few example in internet but i dont this. in instance input data file1 252 333 374 45how fortran can read this data do you know,...
View ArticleIntel MPI Library and Composer XE Compatibility
The following table lists all supported versions of the Intel® MPI Library and the Intel® Composer XE. Use this as a reference on the cross-compatibility between the library and associated...
View Article-C options Internal compiler error
Hi all, The compiler is crashing with the following piece of code, with the options ifort -O2 -c -C . removing -C seems to resolve the issue Thanks subroutine pinv(A,X) implicit none double...
View Articleproblem for ifort which does not use system lib mission like idate getarg and...
Hello experts, I installed the new version intel parallel composer XE 2013 sp2 updates2 noncommercial, but I find when I use ifort to compile the fortran codes, the error reported like the...
View Articlehow to solve problem 'usr/lib/crt1.o: could not read symbols: File in wrong...
Hello experts:I just installed intel fortran compiler 8.0 on my x86-64 computer with Centos6.5 system.in the installation process, I choose IA-32 to install it.after default choice and installation, I...
View ArticleSpeed of case block
Hello!I ask you to help me with the understanding of the issue on speed of code. I have the following code:integer, parameter :: EL_H = 1 02 integer, parameter :: EL_He = 2 03 integer, parameter ::...
View ArticleCONTIGUOUS attribute for dummy arguments: what happens when the actual...
Steve,The code listed below compiles and runs without any errors in Intel Fortran XE 2013 Update 2 (13.1.0.149). And it writes out a result value of false for the statement on line 27. But do you...
View Articlecalling the subroutine expecting multi-dimension array with the address of...
Hello! I write a subroutine setrx and setix expecting a multi-dimensional array.When they are called in main code, an address of a location in a one dimensional arraycan be passed to them. It works...
View ArticleCan this be made better?
Hello,I wonder is anyone has the time and inclination to have look at the code below forany possible improvements.The extract included here is the the heaviest user of cpu in a large-ish simulation...
View ArticleFortran ==> C Interporability , and C Strutures
Hello everybody,I have a problem when there are severals structures (and depandancy ???)Consider this example :---------------------------------------------------------------------------# include...
View ArticleNEWUNIT= and CLOSE
Hi,When compiling and running the following code with the Intel Fortran Compiler, I get an error after entering the same (negative) integer value provided by NEWUNIT=, but gfortran runs the code...
View Articlemkl95_LAPACK produces segmentation fault (dgesv)
When I call "dgesv" routine from mkl library with fortran 95 interface I get segmentation fault.call dgesv( adns, rhs , ipiv , info ) ! forrtl: severe (174): SIGSEGV, segmentation fault occurredcall...
View ArticleSTOP statement write to terminal window
The FORTRAN code I'm working on writes its main output to unit 6. It also uses a number of STOP statements when trapping for errors. When I previously used the Lahey compiler the strings associated...
View ArticleIssues after removing intel parallel studio
Hi,Visual Studio 2008 was building my fortran project fine until I removed the intell parallel studio from the control panel. Now it gives me a microsoft development evnironment message saying...
View Article