Hi Freddie,

I set the environment variable "PYFR_XSMM_LIBRARY_PATH" in .bashrc

  export PYFR_XSMM_LIBRARY_PATH= <path to home>/FR/libxmm/lib/libxsmm.so

I also changed [backend-openmp] section according to your information.
  [backend-openmp]
  cc = icc
  cblas = 
/opt/intel/compilers_and_libraries_2017.2.174/linux/mkl/lib/intel64_lin/libmkl_rt.so

It works well! PyFR start to run without error. Thank you!

Best regards,
Tom



Hi Tom, 
>
> On 07/06/17 14:32, Tom Vilsack wrote: 
> > Thank you for the detail information. 
> > 
> > I set the environment variable "PYFR_XSMM_LIBRARY_PATH" in .bashrc 
>
> The path needs to be the absolute path to the library itself as opposed 
> to the directory in which it is located. 
>
> > 
> >   export PYFR_XSMM_LIBRARY_PATH=$HOME/FR/libxmm/lib 
> > 
> > In libxmm/lib, there are dynamic libraries like libxsmm*.so. 
> > 
> > Then, I set "[backend-openmp]" section in .ini file as described below. 
> > 
> >   [backend-openmp] 
> >   cc = icc 
> >   cblas = 
> > 
> /opt/intel/compilers_and_libraries_2017.2.174/linux/mkl/lib/intel64_lin_mic/libmkl_rt.so
>  
>
> > 
> > I got an error "KeyError: "'mul' has no providers"" when I execute PyFR. 
> > The error could be related to wrong cblas library pass. In mkl lib 
> > directory, there are many libraries. What dynamic library I should set 
> > in cblas section? 
> > 
> >   libmkl_ao_worker.so             libmkl_cdft_core.so   
> > libmkl_intel_thread.so     libmkl_sequential.a 
> >   libmkl_blacs_intelmpi_ilp64.a   libmkl_core.a         
> > libmkl_lapack95_ilp64.a    libmkl_sequential.so 
> >   libmkl_blacs_intelmpi_ilp64.so  libmkl_core.so         
> > libmkl_lapack95_lp64.a     libmkl_tbb_thread.a 
> >   libmkl_blacs_intelmpi_lp64.a    libmkl_intel_ilp64.a   
> > libmkl_rt.so               libmkl_tbb_thread.so 
> >   libmkl_blacs_intelmpi_lp64.so   libmkl_intel_ilp64.so 
> > libmkl_scalapack_ilp64.a   locale 
> >   libmkl_blas95_ilp64.a           libmkl_intel_lp64.a   
> > libmkl_scalapack_ilp64.so 
> >   libmkl_blas95_lp64.a            libmkl_intel_lp64.so   
> > libmkl_scalapack_lp64.a 
> >   libmkl_cdft_core.a              libmkl_intel_thread.a 
> > libmkl_scalapack_lp64.so 
>
> You want libmkl_rt.so.  This will resolve the provides problem. 
>
> Regards, Freddie. 
>
>

-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to