- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've installed the micperf rpm's and am trying to trouble shoot reports of performance variance. When I try to run the "micprun" command on the michost I get this output:
[root@n1297 mpss-3.3]# micprun
Traceback (most recent call last):
File "/usr/bin/micprun", line 311, in <module>
devIdx = micp_connect.MPSSConnect(device).get_offload_index()
File "/usr/src/micperf/micp-3.3/micp/connect.py", line 201, in get_offload_index
raise GetOffloadIndexError(errStr)
micp.connect.GetOffloadIndexError: Could not determine mic index from exact match AND
Could not determine mic index from sysfs entries AND
Could not determine mic index from loose match
[root@n1297 mpss-3.3]#
I set these environment variables
export PYTHONPATH=/usr/src/micperf/micp:${PYTHONPATH}
export PATH=/usr/src/micperf/micp/micp/scripts:${PATH}
The miccheck and micinfo output looks ok, anyone have an idea what the trouble is?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By not specifying a particular mic card on the command line, micprun would have used mic0 and get_offload_index should have returned 0. The only thing I can think of right now is that the re module did not return the right value when it tried to pick apart 'mic0'. I can't think of why it would do that though, unless for some reason that module could not be found. But if the module is not found then the 'import re' statement in connect.py should have gotten an import error. Still this is something to try -
The re module is part of the standard Python release. Rather than relying on any default location, try specifying the locations of all the standard modules as well as the micperf modules in your PYTHONPATH variable.
Let me know what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Frances,
It works if I feed the hostname of the mic card to the micprun command, the index does not work.
[jalbin@n1297 examples]$ micprun -d 0
Traceback (most recent call last):
File "/usr/bin/micprun", line 311, in <module>
devIdx = micp_connect.MPSSConnect(device).get_offload_index()
File "/usr/src/micperf/micp-3.3/micp/connect.py", line 201, in get_offload_index
raise GetOffloadIndexError(errStr)
micp.connect.GetOffloadIndexError: Could not determine mic index from exact match AND
Could not determine mic index from sysfs entries AND
Could not determine mic index from loose match
[jalbin@n1297 examples]$ micprun -d n1297-mic0
[ OFFLOAD ] native
**************************************RUN***************************************
Running dgemm --f_first_matrix_size 7680 --i_num_rep 3 --T_device 0 --n_num_thread 0 --m_mode NN --l_last_matrix_size 7680 --s_step 7680
Please be patient, this may take a few minutes...
benchmarking: dgemm
timer : native
num_threads : 0
min_niters : 3
min_t : 3.000000
first index : 7680
last index : 7680
step : 7680
data transf.: off
MKL : 11.1.1 build 20131010 (Product)
processor : Intel(R) Xeon Phi(TM) Coprocessor
CPU freq. : 1.05 (may float due to scaling)
max threads : 240
threads used: 240 (autodetected)
affinity : flat, set by benchmark
#0: NN
testing XGEMM( 'N', 'N', n, n, ... )
n min avg max stddev
7680 824.30 824.69 825.01 3.899e-04
* 7680 824.30 824.69 825.01 3.899e-04
[ DESCRIPTION ] 7680 x 7680 MKL DGEMM with 0 threads and 3 iterations
[ PERFORMANCE ] Task.Computation.Avg 824.69 GFlops R
**************************************RUN***************************************
Running linpack --omp_num_threads 240 --matrix_size 28672 --num_rep 3 --lead_dim 28736
Please be patient, this may take a few minutes...
Thanks for the pointer and help.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page