Fortran

initialization of local variables

My co-developer reports that, contrary to his expectations, Intel Fortran seems to be initializing local numeric variables, both scalar and array, to 0 or 0.0

I should note that In our application, all local variables are saved, and all arrays are pre-allocated (sizes are explicit in the code).  No arrays or structures are allocated at run-time, and no local variables are recursive.

Is his generalization correct?

Jay

 

Parameterized Derived Data Type Allocation Error

Hi all, the following is a simplified version of a code that I wrote that does not seem to work. For the larger code I just get a generic "compliation error" and then the compiler stops. I tracked that to where I am passing the parameterized derived data type into a subroutine with assumed parameters (eg TYPE (MYTYPE(*,*)),INTENT(INOUT):: TYP). I am not using kind numbers, so I it only contains portions that are defined with LEN in the data type.

 

Below is an example code that results in two different errors:
 

Redistributable Libraries and/or static compilation

Hi,

I need to send a co-worker the redistributable libraries for the latest Fortran compiler. Where can I find those (in my computer or on-line)?

Also, does the recipient have to do anything else (move dll's to same directory as exe, define an environment variable)?

As an alternative, is there an easy way to link everything statically? This is a simple Fortran console application that does not call any special numerical packages.

Getting Started with the MPI Performance Snapshot

The MPI Performance Snapshot (MPS) is a scalable lightweight performance tool for MPI applications. It collects a variety of MPI application statistics (such as communication, activity, and load balance) and presents it in an easy-to-read format. The tool is not available separately but is provided as part of the Intel® Trace Analyzer and Collector installation.  This article will serve as a quick getting started guide.

  • Sviluppatori
  • Linux*
  • Server
  • C/C++
  • Fortran
  • Principiante
  • Intel® Trace Analyzer and Collector
  • Message Passing Interface
  • Elaborazione basata su cluster
  • Calling a C function in Visual Studio from a Visual Fortran code

    Hi,

    I have a Visual Studio 2012 installed on Windows 8.1. Also, I installed Visual Fortran. I want to create a solution with two projects one in Fortran and one in C, then be able to call C function from Fortran code. Can anyone, please, show a simple step by step example on how to achieve this in VS? Thanks.

    runtime problems with PSBLAS library

    Hello,

    About two years ago I reported ifort F03 compilation issues with  PSBLAS library (http://people.uniroma2.it/salvatore.filippone/psblas/). With Intel 2015, the compilation issues are solved but there are runtime problems. I have also tried the Ifort 2016 Beta and same problem occurs. PSBLAS is usable with several other compilers (such as GNU/IBM/CRAY) other than Intel. We are thoroughly using Intel Compilers for research and using PSBLAS will save us big time for not reinventing the wheel.

    Debugger watch window subscript out of range

    I'm debugging a program which is set up to reference memory locations outside the range of the dimension of various variables. Program is compiled so subscripts are not checked for range, but when I use the debugger an try to look at the variable in a watch window, I always get a 'subscript out of range' when I use a subscript that I know gives me the location of the information I want to see. Is there any way to keep the watch window from checking on the subscript of a variable?

    aassertion failure

    Too bad, don't have installed a mailing client so I am posting the error here::

    [Process]
    Process Name: devenv.exe
    Virtual Memory Size: 1222880K
    Working Set Size: 515408K

    [Assertion]
    CrashedPID: 7324
    CrashedTID: 9196
    Expression: ("signal_t::_insert: this connection is already exists.", false)
    File: C:\bb\INNLchep2w6r\b\b\tmpwjs2dl\sdks\release_win32-x86\gen_helpers_2.18.4\include\gen_helpers2\core\config/../functor/signal.h
    Line: 260

    Iscriversi a Fortran