[MAGMA MIC 1.0] problem with magma_mic_server

Open discussion for MAGMA

[MAGMA MIC 1.0] problem with magma_mic_server

Postby mb_infn_it » Thu May 30, 2013 10:15 am

Hi,
I'm trying MAGMA MIC 1.0 on a remote host with Intel Xeon Phi, it is the first time I'm playing around with this device.
After compiling the library, i'm trying to execute the magma_mic_server, as specified in the INSTRUCTION_to_run.txt file, prior to launching testing applications.
I'm trying to execute it via micnativeloadex because I'm not allowed to directly ssh the MIC device:

micnativeloadex interface_mic/server/magma_mic_server -e "USE_2MB_BUFFERS=3000 OMP_NUM_THREADS=240 KMP_AFFINITY=proclist=[1-240],granularity=fine,explicit"

this command gives the following error message:

Supplied binary does not match the Intel(R) Xeon Phi(TM)
coprocessor that is installed.


How can I resolve this issue? Is it a result of a wrong compilation/linking process?

this is the output of micinfo
Code: Select all
MicInfo Utility Log

Created Thu May 30 12:40:44 2013


   System Info
      HOST OS         : Linux
      OS Version      : 2.6.32-358.el6.x86_64
      Driver Version      : 6720-13
      MPSS Version      : 2.1.6720-13
      Host Physical Memory   : 32845 MB

Device No: 0, Device Name: mic0

   Version
      Flash Version        : 2.1.02.0386
      SMC Firmware Version    : 1.14.4616
      SMC Boot Loader Version    : 1.8.4326
      uOS Version        : 2.6.38.8-g5f2543d
      Device Serial Number     : ADKC24200276

   Board
      Vendor ID        : 0x8086
      Device ID        : 0x225d
      Subsystem ID        : 0x2500
      Coprocessor Stepping ID    : 3
      PCIe Width        : Insufficient Privileges
      PCIe Speed        : Insufficient Privileges
      PCIe Max payload size    : Insufficient Privileges
      PCIe Max read req size    : Insufficient Privileges
      Coprocessor Model    : 0x01
      Coprocessor Model Ext    : 0x00
      Coprocessor Type    : 0x00
      Coprocessor Family    : 0x0b
      Coprocessor Family Ext    : 0x00
      Coprocessor Stepping     : B1
      Board SKU        : B1PRQ-3110P
      ECC Mode        : Enabled
      SMC HW Revision     : Product 225W Passive NCS

   Cores
      Total No of Active Cores : 57
      Voltage        : 974000 uV
      Frequency       : 1100000 kHz

   Thermal
      Fan Speed Control     : N/A
      Fan RPM        : N/A
      Fan PWM        : N/A
      Die Temp       : 59 C

   GDDR
      GDDR Vendor       : Hynix
      GDDR Version       : 0x3
      GDDR Density       : 2048 Mb
      GDDR Size       : 2976 MB
      GDDR Technology       : GDDR5
      GDDR Speed       : 5.000000 GT/s
      GDDR Frequency       : 2500000 kHz
      GDDR Voltage       : 1501000 uV
mb_infn_it
 
Posts: 7
Joined: Wed Oct 10, 2012 4:39 am

Re: [MAGMA MIC 1.0] problem with magma_mic_server

Postby mb_infn_it » Mon Jun 03, 2013 5:02 am

Up, need help here! I'm stuck with this error message, I can't figure out how to make it work...
Maybe I have to tweak some compilation/execution parameter to exactly match the installed MIC features, but I can't understand how..

Anyway, here is my make.inc file (only fortran compiler was edited):

Code: Select all
#//////////////////////////////////////////////////////////////////////////////
#   -- MAGMA (version 0.1) --
#      Univ. of Tennessee, Knoxville
#      Univ. of California, Berkeley
#      Univ. of Colorado, Denver
#      April 2012
#//////////////////////////////////////////////////////////////////////////////

#
# GPU_TARGET specifies for which GPU you want to compile MAGMA
#      0: NVIDIA Tesla Family
#      1: NVIDIA Fermi Family
#      2: AMD          Family
#      3: Intel MIC    Family
#
GPU_TARGET = 3

CC        = icc -mkl
ICC               = icc
NVCC      = nvcc
FORT      = ifort

ARCH      = ar
ARCHFLAGS = cr
RANLIB    = ranlib

OPTS      = -O3 -DHAVE_MIC -DADD_ -g -Wall
FOPTS     = -O3 -DHAVE_MIC -DADD_ -g -Wall -x f95-cpp-input
#NVOPTS    = -DADD_ --compiler-options -fno-strict-aliasing -DUNIX -O3 -g -G
NVOPTS    = -O3 -DHAVE_MIC -DADD_ --compiler-options -fno-strict-aliasing -DUNIX -O3
LDOPTS    = -fPIC -Xlinker -zmuldefs -Wall -DNOCHANGE -DHOST

# to set MKLROOT run: /mnt/scratch/sw/intel/2011.2.137/mkl/bin/mklvars.sh intel64
#MKLROOT   = /mnt/scratch/sw/intel/2011.2.137/composerxe-2011.2.137/mkl
#MKLROOT   = /mnt/scratch/sw/intel/composer_xe_2013.0.079/mkl
#MKLROOT   = /mnt/scratch/sw/intel/composer_xe_2013.1.117/mkl
#MKLROOT   = /mnt/scratch/sw/intel/composer_xe_2013.2.146/mkl

LIB       = -lscif -lpthread
#LIB        = -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lm -fopenmp
#LIB       += -lclAmdBlas -lOpenCL

CUDADIR   = /mnt/scratch/cuda-4.0.17
GPUBLAS   = /opt/clAmdBlas-1.7.245

LIBDIR    = -L$(MKLROOT)/lib/intel64 \
            -L$(MKLROOT)/../compiler/lib/intel64
LIBDIRMIC =     -L$(MKLROOT)/lib/mic \
            -L$(MKLROOT)/../compiler/lib/mic

#            -L$(GPUBLAS)/lib64
#INC       = -I$(GPUBLAS)/include -I/opt/AMDAPP/include

mb_infn_it
 
Posts: 7
Joined: Wed Oct 10, 2012 4:39 am


Return to User discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron