Intel® Parallel Studio XE

Passing an array of strings from VBA to Fortran DLL

Hi,

I have difficulties getting the DLL to read my array of strings. The following declaration is given in VBA:

    Public Declare Sub fortran_dll Lib "path_to_dll" _
    (ByVal array1 As String, ByRef array2 As Integer, ByRef array3 As Double, _
    ByRef array4 As Integer, ByRef array5 As Double)

The following attributes are given in Fortran:

HDF5 Installation Error in the latest Ubuntu 18.04LTS

Hi everyone,

 

While I used HDF5 library without any problem with Ubuntu version 16.04 LTS,

 

After I upgraded Ubuntu to Ubuntu 18.04 LTS, I have trouble in installing HDF5 with Intel Fortran and C Compilers.

I successfully installed HDF5 with gcc and gfortran.

But, I need to install HDF5 with Intel Fortran and C Compilers to further usage of scientific computation codes which are only compatible with Intel compilers.

 

I installed szip-2.1.1 and zlib-1.2.11 in the path of $HOME/LIB

using

Visual Studio 2017 (error, related with integrate)

Good afternoon, comrades!

Execuse me, if offtopic. How i can integrate Parallel XE 2019 with Visual Studio 2017 (latest version)?

 

If it impossible, please, tell me how to set up MPI for Fortran in VS 2015/2017? (XE2018/2019)

I've just get this warning and nothing else (picrelated)

 

---------------------------------------------------------------------------------------------------------------

Thread closed. The question is solved. XE 2019 integrated with installation

SIG_ERR unknown in module ifport

Dear,

 

I would like to modify the handling of a few signal in order to terminate correctly my running process (I'm actually using shared memory and semaphores that I want to close) in case of hardware of software errors triggering signals. To implement that, I'm using the function signal. This function should normally return SIG_ERR in case of error during the handling change but this MACRO seems to be not defined in the ifport module ? Indeed, I wrote the following line code :

subroutine change_sig_handler

Diffrence between DVF and Intel Fortan compiler XE 12.1

Hi,

Currently I am using Intel Fortran Compiler XE 12.1 (Parallel Studio XE 2010 with VS 2010) to edit  the source code of RT3D (A ground water modelling software). But  the manual of the software says to use Digital Visual Fortran.

Could I please know the difference between the compiler I am using and Digital Visual Fortran?

Many Thanks

Subhani

GetFileInfoQQ

I am trying to use the GetFileInfoQQ function to get the information relating the files including the size. Unfortunately if the files are large the file size is returned as -1. This seems to occur when the number of bytes in the file is greater than the integer(4) variable component limit is exceeded. Is there a work round for this? It would be great if the file size units could be specified. These days MB or even GB would seem more appropriate than bytes. Alternatively integer(8) components could be an option in a similar function GetFileInfoQQEx.

Thanks

Steve

 

Inlining with mixed C/Fortran code

I am having trouble with inlining when using a mixed C and Fortran 2008 code. The optimization report states:

-> (25,9) testfun(int64_t *, const int64_t, double *) (isz = 18) (sz = 27)
    [[ Unable to inline callsite  <1>]]
-> (27,9) testfunptr(int64_t *, const int64_t, double *) (isz = 18) (sz = 27)
    [[ Unable to inline callsite  <1>]]
<1> Inlining the subprogram will lead to incorrect program behavior.

Why does the compiler state that inlining will lead to incorrect behavior?

Subscribe to Intel® Parallel Studio XE