Linux*

Fortran forrtl: severe (174): SIGSEGV, segmentation fault in derived type data

 "m.f90" :
  1 module typedef
  2 implicit none
  3 type::mytype
  4     integer::mn(2,2)
  5     complex(kind=8)::w
  6     integer,allocatable::sz(:)
  7 end type
  8 end module typedef
  9 subroutine mysub(mtp)
 10 use typedef
 11 implicit none
 12 type(mytype)::mtp(6)
 13 integer::lm
 14 complex(kind=8)::f0(6),f1(6)
 15 do lm=1,6
 16     write(*,*)"a",lm
 17     f0(lm)=mtp(lm).w
 18     f1(lm)=f0(lm)
 19 end do
 20 end subroutine

forrtl: severe (174): SIGSEGV, segmentation fault occurred

when I compiled my program m.f90 with command: "ifort m.f90" and then run it "./a.out", error occured as follows

a           1
 b           1
 c           1
 a           2
forrtl: severe (174): SIGSEGV, segmentation fault occurred,

I don't understand why

The following is my program m.f90:

How to align the 3D array which is dynamic allocated by new operator to 64 bytes?

Hi!

I am using pointer to dynamic allocate a 3D array like this:

double ***p;

p=new double** [x_dimension];
    for (int i=0; i<x_dimension; i++)
    {
        phi[i]=new double* [y_dimension];
        for(int j=0; j<y_dimension; j++)
        {
            phi[i][j]=new double [z_dimension];
        }
    }

How can I rewrite the code to make sure the allocated memory is 64 bytes alignment?

Thanks!

Intel® Visual Fortran Composer XE 2013 SP1 for Windows* with Microsoft Visual Studio 2010 Shell & Libraries*, Update 5

Intel® Visual Fortran Composer XE 2013 SP1 Update 5 includes the latest Intel Fortran compilers and performance libraries for IA-32 and Intel® 64 architecture systems. This new product release now includes: Intel® Visual Fortran Compiler XE Version 14.0.5, Intel® Math Kernel Library (Intel® MKL) Version 11.1 Update 4, Intel® Debugger Extension 7.5-1.0 for Intel® Many Integrated Core Architecture (Intel® MIC Architecture)

New in this release:

  • Entwickler
  • Linux*
  • Windows*
  • Fortran
  • Intel® Composer XE
  • Intel® Fortran Compiler
  • Intel® Fortran Composer XE
  • Intel® Visual Fortran Composer XE
  • Intel® Debugger
  • Intel® Math Kernel Library
  • Compiler Memory Errors

    This isn't a problem, per se, but in trying to gather more information for one of the infamous "catastrophic internal errors", I ran ifort 12.0.0 (and its descendants) through valgrind.  ifort had several dozen memory access errors (mostly jump-based-on-uninitialized), and fortcom had over 1,000 errors reported (mostly use of uninitialized variables).  You guys might want to consider adding memory profiling tests to your pre-release software qualification suite.

    Issues accessing mic0 with non-root user

    I am having some issues getting access to mic0 through non-root users. Accessing the card as root works fine.

    The issue is that I keep getting prompted for password and no matter what password I generate (either an empty passphrase or an actual password) I get prompted for a password each time I try to ssh or scp but it never authenticates me and lets me log in. I can however ssh with root using an empty passphrase without any issues.

    Ask the Community: LGA1150 motherboard for 31S1P

    I'm interested in programming for 31S1P and want to ask:

                   is there a LGA1150 motherboard that (unofficially) supports Xeon Phi?

    I have MB that does not support MMIO above 4G. So I need to replace a MB at least.

    I know that official supported hardware list does not contain my configuration. So, it's a question for MIC community primarily.

    Speed Up with MIC/ in Parallel

    My question is not specific to MIC developers, it for all parallel developers in general. 

    By increasing data sampling (n) in the program, I get better speed up. Also the sequential  is better than parallel version with small (n). 

    I know this is normal in parallel programming, but would you tell me why ? or give me some reasons to convince me.

     

    List Directed I/O Error

    Hi,

    As can be seen in the attached program, when I am trying to open, read and write data into an array, I am getting an error which says as follows:

    "forrtl: severe (59): list-directed I/O syntax error".

    Any suggestions or insight into this would be greatly helpful.

    Thank you.

    Linux* abonnieren