首页 > 解决方案 > Anaconda/IntelPython 似乎没有卸载到 Xeon Ph 30

问题描述

    >>> import numpy
    >>> numpy.show_config()
    mkl_info:
        libraries = ['mkl_rt', 'pthread']
        library_dirs = ['/home/steph/anaconda3/envs/intel_py/lib']
        define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
        include_dirs = ['/home/steph/anaconda3/envs/intel_py/include']
    blas_mkl_info:
        libraries = ['mkl_rt', 'pthread']
        library_dirs = ['/home/steph/anaconda3/envs/intel_py/lib']
        define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
        include_dirs = ['/home/steph/anaconda3/envs/intel_py/include']
   blas_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/home/steph/anaconda3/envs/intel_py/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/home/steph/anaconda3/envs/intel_py/include']
lapack_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/home/steph/anaconda3/envs/intel_py/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/home/steph/anaconda3/envs/intel_py/include']
lapack_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/home/steph/anaconda3/envs/intel_py/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/home/steph/anaconda3/envs/intel_py/include']
>>>

这似乎表明我有正确的库。

我的环境设置是:

export MKL_MIC_ENABLE=1
export OFFLOAD_DEVICES=1,2
export OFFLOAD_ENABLE_ORSL=1
export MKL_HOST_WORKDIVISION=0,2
export MKL_MIC_WORKDIVISION=1
export MKL_MIC_1_WORKDIVISION=0.9
export MKL_MIC_2_WORKDIVISION=0.9
#export MKL_MIC_MAX_MEMORY=<value>
#export MKL_MIC_<number>_MAX_MEMORY=<value>
#For example: export MKL_MIC_0_MAX_MEMORY=2G
export MKL_MIC_REGISTER_MEMORY=1
#export MKL_MIC_RESOURCE_LIMIT=<value>
#For example: export MKL_MIC_RESOURCE_LIMIT=0.34
#export MIC_OMP_NUM_THREADS=<value>
#export MIC_<number>_OMP_NUM_THREADS=<value>
#For example: export MIC_0_OMP_NUM_THREADS=240
export OFFLOAD_REPORT=2
#For example: export OFFLOAD_REPORT=2
#export LD_LIBRARY_PATH="/opt/intel/mic/coi/host-linux-release/lib:${LD_LIBRARY_PATH}"
#export MIC_LD_LIBRARY_PATH="/opt/intel/mic/coi/device-linux-release/lib:${MKLROOT}/lib/mic:${MIC_LD_LIBRARY_PATH}"
#export MKL_MIC_THRESHOLDS_?GEMM="<N>,<M>,<K>"
#For example: export MKL_MIC_THRESHOLDS_?GEMM="2000,1000,500"
export OMP_NUM_THREADS=16
export MIC_OMP_NUM_THREADS=236
export KMP_AFFINITY=granularity=fine,compact,1,0
export MIC_KMP_AFFINITY=explicit,granularity=fine,proclist=[1-236:1]
export MIC_ENV_PREFIX=MIC_

然而,当我运行 fft.py 时,mismc 表明 Phis 上没有任何活动。也没有卸载报告。

知道我做错了什么吗?

StackOverflow 希望我在发布之前向问题添加更多内容。我在帖子中有所有详细信息,所以这只是看我是否可以发布这个问题。多么愚蠢的小人工智能机器人。

mismc显示

标签: anacondaintel-mklxeon-phi

解决方案


推荐阅读