Mersenne Twister


I have two questions:

a) In the Mersenne sample code in Matsumoto's page (, there are 3 variants for creating a double (64 bit) which he calls : genrand64_real{1,2,3}.

I need to make a comparison with some other implementation and would like to know which one is used in mkl?

Build Problem - OFFLOAD MIC


i am trying to compile a version of my code in which i use OFFLOAD on MIC. I am able to obtain all *.o files but when i try to link them i receive a lot of errors like this:

x86_64-k1om-linux-ld: skipping incompatible /opt/intel/composer_xe_2015.2.164/compiler/lib/intel64/ when searching for

My previous code was only MPI-OPENMP without offload. I changed only three files and compiled them using -qoflload=mandatory. I obtain *.o files without any error but then i am not able to link them. 

question about some parameter of scalapack routine

I have some questions about the use of scalapack. 


For example, I want to use the eigensolver pdsyev to obtain all the eigenvalues and eigenvectors.

By now, I can hardly understand the dimensions of parameter a (and also z). In the MKL manual, the dimensions of local matrix a should be "lld_a*LOCc(ja+n-1)", but I do not understand what is LOCc(ja+n-1). 

ja is the column index in the global matrix A indicating the first column of the submatrix a, and n is the number of the column of global matrix A. 

Why does the VS looking for "libmmdd.lib" ?


I have the following scenario.

System : Windows 7, Visual Studio 2012, Intel Parallel Studio XE 2016 Update 1 Composer Edition.

Sceneario :

Project1.sln                        -              Visual Studio 2012 Solution

Main.vcxproj                     -              Visual C++ Project set to build using MS compiler, Main project creates main.EXE using intel.LIB and MS.LIB

Intel.vcxproj                      -              Visual C++ Project set to build using intel C++ compiler, generates intel.LIB

Putting Your Data and Code in Order: Optimization and Memory – Part 1

This series of two articles discusses how data and memory layout affect performance and suggests specific steps to improve software performance. The basic steps shown in these two articles can yield significant performance gains. These two articles are designed at an intermediate level. It is assumed the reader desires to optimize software performance using common C, C++ and Fortran* programming options.
  • Développeurs
  • Professeurs
  • Étudiants
  • C/C++
  • Débutant
  • Intermédiaire
  • Bibliothèque Intel® Math Kernel Library
  • MPI
  • Intel® Advanced Vector Extensions
  • Modernisation du code
  • Informatique parallèle
  • Vectorisation
  • Incorrect resolution of class in anonymous namespace


    We came across an issue in our Intel (2016) compiler build where it appears separate, but identically named, classes in anonymous namespaces are not being resolved correctly. We've managed to create small example that illustrates the problem, and wondered if somebody could please investigate.

    GUI OS X, Application Parameters with dash dash syntax

    My application, on the command line uses these arguments:

    ./a.out --zones 32,32,32 --gset 1 --groups 32 --quad 96 --nest DGZ --niter 10

    For the OS X gui, the Application parameters input does not accept dash-dash syntax.  It appears to try to format the double dashes into a single long dash, much like Word would do.  

    How do I pass double-dash arguments to my application?

    On a related question, in the GUI where do you set ENV variables, like OMP_NUM_THREADS=16 ?



    S’abonner à Vectorisation