problems in offload in fortran modules

Hi all,

I have been trying to run what is called CESM(climate earth system model) and added an offload to one of its Fortran modules.

!dir$ offload begin target (mic)
    print *,'hi this is the offload section'
!dir$ end offload

I performed a successful build. The ar I replaced with the xiar and managed a successful build of the modules.

However while running the final executable i get the following error.

offline/online opencl compilation difference

Dear Community Members!

I have a program, which makes some calculations with the help of the opencl kernel, which runs on the cpu. I also make these calculations  without opencl and check for errors.


The problem is that I get errors from time to time, when I use online compilation of opencl kernel. I don't get errors, when I use offline compilation. 

Could anyone, please, help me and explain, why it happens?

You can find files here:



MPSS 3.4.3 restart failed when try to add an NFS mount entry to mic0


the host running on centos 7 has a new kernel Linux 3.10.0-123.20.1.el7.x86_64,

before mpss installation, I recompiled the mpss module and reflashed the firmware to 391 for mpss 3.4.3,

mic and mpss run well by using miccheck, mininfo, systemctl status mpss. 

NFS server has been installed in the host with:  yum install nfs-utils

rpcbind and nsf service are running well. firewalld and NetworkManger have been stopped. SELinux is disabled.

infiniband connection host-mic and mic-mic

Hi, I'm trying to set up infiniband connection between host and mic, mic and mic. Host is showing this on ifconfig:

mic0:ib: flags=67<UP,BROADCAST,RUNNING>  mtu 64512
        inet  netmask  broadcast
        ether 4c:79:ba:20:06:63  txqueuelen 1000  (Ethernet)

and two: mic0 and mic1 interfaces.

I have two coprocessors installed.  I can run ib_read_bw between host and mic0, but not host and mic1 or mic0 and mic1.  Getting error:  

Received 10 times ADDR_ERROR
Unable to perform rdma_client function.

Calculating “FLOP” using Intel® Software Development Emulator (Intel® SDE)


Floating point operations (FLOP) rate is used widely by the High Performance Computing (HPC) community as a metric for analysis and/or benchmarking purposes. Many HPC nominations (e.g., Gordon Bell) require the FLOP rate be specified for their application submissions.

The methodology described here DOES NOT rely on the Performance Monitoring Unit (PMU) events/counters. This is an alternative software methodology to evaluate FLOP using the Intel® SDE.

  • Developers
  • Professors
  • Students
  • Linux*
  • Server
  • Advanced
  • Intermediate
  • Intel® Software Development Emulator
  • FLOP
  • Knight’s Landing
  • Intel® SDE
  • HPC
  • Floating point operations
  • Intel® Xeon Phi™ Coprocessor
  • Intel® Core™ processor family
  • Intel® Many Integrated Core Architecture
  • MPSS 3.4.3 Glibc error: gethostbyname_r returns EINVAL not ERANGE


    The following is a slightly modified test for the GHOST vulnerability:

    #include <netdb.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <errno.h>

    #define CANARY "in_the_coal_mine"

    struct {
      char buffer[1024];
      char canary[sizeof(CANARY)];
    } temp = { "buffer", CANARY };

    int main(void) {
      struct hostent resbuf;
      struct hostent *result;
      int herrno;
      int retval;

    Running OpenCV Computer Vision Programs on Xeon Phi


    I would like to know how to run opencv programs by using the intel xeon phi coprocessor card? What are my options? Also, how can i work with the Transparent API released by OpenCV and Xeon Phi ? Has Intel developed any module or support for running computer visions programs on the xeon phi?  Any suggestions or thoughts in this regard will be greatly appreciated.

    Subscribe to Professors