Passing Scalar to Array and Vice Versa
Hi - I have some old code that passes scalars to functions with arrays for the dummy arguments (other parts of the code pass arrays to arrays).For example: real a,b a = 3 call FUNC([a],[b],1) real FUNC...
View ArticleStack overflow and memory allocation error
I’ve recently started working with a f77 source code which comes with 11 subroutines. This code is pretty old and others who have used this code in the past say that it worked perfectly when using...
View ArticleSetting a conditional breakpoint 101
Hello all. At long last, I have found it necessary to use one of ComposerXE's features that's supposed to let you set a breakpoint and run until some variable reaches a set value. In this case, the...
View Articlecopy 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 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 Articlemkl_serv_set_xerbla_interface
Hi,I just bumped into this error message while attempting to run a newly-built code: "Entry Point Not Found - The procedure entry point mkl_serv_set_xerbla_interface" could not be located in the...
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 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 ArticleIntel Software Tools Technical Webinar Series
These free technical webinars cover tips and techniques that will help sharpen your development skills to create faster, more reliable applications. Technical experts will cover topics ranging from...
View ArticleCompiler option for initializing variables
I'd like to know whether there is a way to initialize all the variables in a FORTRAN code to zero during compilation?Thanks.
View ArticleMultiline support in the result of a Preprocess Definition
I have a program that has the following fixed formatted code appearing in most of the subroutines. CHARACTER(5),PARAMETER,DIMENSION(6)::KEYWORDLIST= + ['ABS','EXP','LOG','L10','NEG','SQRT']...
View ArticleIOSTAT error or improper interpretation
character*100::str real*8::num str=11-30 read(str,*,iostat=ior)num !------------ after run :---------------------- ! no error report can be found since ior is 0 and num is interpreted as 11.0E-30 which...
View ArticleNumerical differences between v11.1 and v13.0
Background:We're just trying to upgrade our Intel Composer installation from 2011 to 2013, but we are finding that although most results are unchanged, a few change a bit, and some quite a lot.I've...
View ArticleComposer XE 2013 SP1 Update2 is very slower
Hi,I updated the Intel Fortran Compiler to SP1 update 2 (SP1.2.176) recently. I tried to compile my code using this new update. Compared with the previous compiler (XE 2013 Update 5 - 2013.5.198), it...
View ArticleBuilding a solution on a remote computer using TFS results in ifort: error...
When I trigger a new build for our solution from my development machine in the TFS Build Visual Studio integration, a licensing error prevents the Fortran projects in the solution from succeeding on...
View ArticleCalling C from Fortran
I am trying to call a C function from Fortran. However the first argument is coming with a bad pointer- it appears to be using the value of sBIPPath as the address, so I obviously have a pointer...
View Article