# PyFR 1.15.0 Run Issue: libxsmm

**URL:** <https://pyfr.discourse.group/t/pyfr-1-15-0-run-issue-libxsmm/853>\
**Category:** Errors\
**Tags:** hpc, libxsmm\
**Created:** [20 June 2023 07:31 UTC](https://pyfr.discourse.group/t/pyfr-1-15-0-run-issue-libxsmm/853 "2023-06-20T07:31:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Merc96](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@Merc96](https://pyfr.discourse.group/u/Merc96)\
**Post date:** [20 June 2023 07:31 UTC](https://pyfr.discourse.group/t/pyfr-1-15-0-run-issue-libxsmm/853/1 "2023-06-20T07:31:51Z")

</div>

Hi All,

I’m trying run Pyfr on Rhel8.5.  
The other packages versions:

- Python 3.9.16
- libxsmm-1.17
- gcc-8.5.0 (RHEL8.5 Default)
- OpenMPI-4.1.2
- PyFR 1.15.0 (install ed with Pip)  
I built the libxsmm from source with documentation and when ı run  
“mpiexec -n 8 pyfr -b openmp -p euler-vortex.pyfrm euler-vortex.ini”

I’m getting the error.  
“AttributeError: /home/libxsmm/libxsmm-1.17/lib/libxsmm.so: undefined symbol: libxsmm\_fsspmdm\_create”

With PyFR-1.12.0 ı don’t get any error with same configuration.  
Is there something i’m missing?  
I tried build the libxsmm on the local disk and share storage. The result is same.

Any suggestions?  
Thank all.  
Regards.

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [20 June 2023 14:07 UTC](https://pyfr.discourse.group/t/pyfr-1-15-0-run-issue-libxsmm/853/2 "2023-06-20T14:07:52Z")

</div>

Your version of libxsmm is too old. From the installation guide:

> [libxsmm](https://github.com/hfp/libxsmm) \>= commit 0db15a0da13e3d9b9e3d57b992ecb3384d2e15ea compiled as a shared library (STATIC=0) with BLAS=0.

The absolute latest git revision of libxsmm contains some breaking changes, so I would go for that exact revision.

Regards, Freddie.

---

<div class="post-metadata">

**Author:** ![Merc96](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@Merc96](https://pyfr.discourse.group/u/Merc96)\
**Post date:** [21 June 2023 11:36 UTC](https://pyfr.discourse.group/t/pyfr-1-15-0-run-issue-libxsmm/853/3 "2023-06-21T11:36:01Z")

</div>

Hi Freddie,

I’m not sure why first time ı get error with this commit but ı decide use the stable release. But this time it works.  
Thanks a alot.

Regards.

---

<div class="post-metadata">

**Author:** ![dav\_ax](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@dav\_ax](https://pyfr.discourse.group/u/dav_ax)\
**Post date:** [8 March 2024 09:19 UTC](https://pyfr.discourse.group/t/pyfr-1-15-0-run-issue-libxsmm/853/4 "2024-03-08T09:19:48Z")

</div>

I have the same problem and have no clue on what ‘‘commit 0db15a0da13e3d9b9e3d57b992ecb3384d2e15ea’’ means.

---

<div class="post-metadata">

**Author:** ![WillT](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@WillT](https://pyfr.discourse.group/u/WillT)\
**Post date:** [8 March 2024 09:37 UTC](https://pyfr.discourse.group/t/pyfr-1-15-0-run-issue-libxsmm/853/5 "2024-03-08T09:37:40Z")

</div>

This means that you need to use a commit of libxsmm with a hash equal to or newer than that listed.

Using `git log` you can see the history of your repo.

---

<div class="post-metadata">

**Author:** ![dav\_ax](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@dav\_ax](https://pyfr.discourse.group/u/dav_ax)\
**Post date:** [11 March 2024 10:49 UTC](https://pyfr.discourse.group/t/pyfr-1-15-0-run-issue-libxsmm/853/6 "2024-03-11T10:49:27Z")

</div>

Thanks. However when I run PyFR it seems that the program is unable to load xsmm and libxsmm.so even if the path is set as the one in the instruction.

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [11 March 2024 17:35 UTC](https://pyfr.discourse.group/t/pyfr-1-15-0-run-issue-libxsmm/853/7 "2024-03-11T17:35:47Z")

</div>

You need to set the path to be wherever _your_ compiled version of `libxsmm.so` is. This is unlikely to be identical to what is listed in the example.

Regards, Freddie.
