All Articles Tagged pointer
| Link/Url | Tags |
|---|---|
| Deallocate bug[Forums] This program generates a run-time error.program ifort_bug implicit none type :: token type (token) , pointer :: next => null() end type type (token) , pointer :: first class (token)... Posted: 2011-12-19 06:33:28 | pointer, polymorphism |
| Effect of passing large arrays as pointers v/s as copies to subroutines[Forums] Hello,I am in the process of creating a simulation code for which I end up creating derived data types, construct relatively large arrays of these data types - and manipulate them using different subroutines.... Posted: 2011-10-24 13:33:26 | derived types, Fortran, pointer |
| ifort bug with pointer and intent(in)[Forums] ifort_intent_pointer_error.F90:program ifort_intent_pointer_error implicit none type intp integer, pointer :: p end type integer, target :: i = 1 type(intp) :: p p%p => i print *,... Posted: 2011-08-11 05:27:30 | bug, ifort, intent(in), pointer |
| Fatal compiler error with class() pointers[Forums] I am getting the message fortcom: Fatal: There has been an internal compiler error (C0000005).when I compile some code containing procedure pointers to functions returning class() pointers. I am using... Posted: 2011-07-27 23:46:08 | class, fatal, pointer, polymorphism |
| Using pointer to pass 2D array as 1D reordered array[Forums] I'm working with two CFD codes and I am trying to integrate the newer code into the older code. However, the older code has its arrays structuredarray(1:npts,1) = densityarray(1:npts,2) = pressureetc.and... Posted: 2011-06-21 12:21:03 | array, array ordering, Fortran, passing variables, pointer |
| wrong result traversing linked list with ifort 12[Forums] using:ifort (IFORT) 12.0.0 20101006In this test case, I create a linked list of 4 elements with polimorphic objects, and when I traverse it, it only prints 3 of them.using an alternate advance instruction,... Posted: 2010-12-01 04:01:19 | ifort 12.0, pointer, polimorphism |
| pointer and allocatable operation failure[Forums] Hi, I am having a segmentation faul when running the following program :PROGRAM test TYPE mytype INTEGER :: i_i, i_j, i_k REAL(KIND=8), POINTER, DIMENSION(:,:,:) :: & & vmod,... Posted: 2010-06-17 04:54:50 | pointer |
| pointer problem[Forums] Hi all, I need a pointer array that is pointed to elements of an array like this: integer, target :: a(5) integer, pointer :: b(:) array a(5): 1 2 3 4... Posted: 2010-03-31 19:40:09 | pointer |
| Compiler bug (?) with type-bound procedures and pointers[Forums] module ifort_bug_mod implicit none type :: foo_t integer :: i = 999 contains procedure :: write_foo end type type :: bar_t type(foo_t), pointer... Posted: 2009-11-28 13:35:16 | pointer, type-bound procedure |
| OpenMP issue: a threadprivate pointer doen't work when it has the dimension attribute[Forums] Hi,I have a problem using OpenMP with the ifort compiler version 11.0.Consider the following test program: program test use mod_test, only: check implicit none integer,pointer,save :: p=>null() ... Posted: 2009-03-02 06:25:28 | OpenMP, pointer |
| intrinsic function "ptr1(:,:,:) = ptr2(:,:,:)" segfaults -- ifort bug[Forums] Short Description: => Loop over i,j,k ("ptr1(i,j,k) = ptr2(i,j,k)") works fine, but "ptr1(:,:,:) = ptr2(:,:,:)" segfaults The attached program segfaults if it uses the intrinsic function ptr1(:,:,:)=ptr2(:,:,:)... Posted: 2008-10-07 06:14:52 | bug, memory, memory leak, pointer |
