Running Simple PyFR Example on Windows Using Anaconda

41 views
Skip to first unread message

Xavier Johnson

unread,
Feb 10, 2020, 4:36:23 PM2/10/20
to PyFR Mailing List
I followed the list of dependencies that was required and installed through anaconda. Then I created PyFR from source.

I linked cblas in the .ini file "cblas = C:\Users\{Username}\AppData\Local\Continuum\anaconda3\Library\include\openblas"

then started running this command: "pyfr run -b openmp -p mesh.pyfrm couette_flow_2d.ini"

But get the following errors:

"Traceback (most recent call last):
File "C:\Users\cong\AppData\Local\Continuum\anaconda3\Scripts\pyfr-script.py", line 11, in <module>
load_entry_point('pyfr==1.9.0', 'console_scripts', 'pyfr')()
File "C:\Users\{Username}\AppData\Local\Continuum\anaconda3\lib\site-packages\pyfr-1.9.0-py3.7.egg\pyfr\__main__.py", line 110, in main
File "C:\Users\{Username}\AppData\Local\Continuum\anaconda3\lib\site-packages\pyfr-1.9.0-py3.7.egg\pyfr\__main__.py", line 235, in process_run
File "C:\Users\{Username}\AppData\Local\Continuum\anaconda3\lib\site-packages\pyfr-1.9.0-py3.7.egg\pyfr\__main__.py", line 201, in _process_common
ImportError: DLL load failed: The specified module could not be found."

Not sure where to start with debugging/setting up from here.

Freddie Witherden

unread,
Feb 12, 2020, 7:34:58 PM2/12/20
to pyfrmai...@googlegroups.com
Hi Xavier,

On 10/02/2020 15:36, Xavier Johnson wrote:
> I followed the list of dependencies that was required and installed
> through anaconda. Then I created PyFR from source.
>
> I linked cblas in the .ini file "cblas =
> C:\Users\{Username}\AppData\Local\Continuum\anaconda3\Library\include\openblas"

The cblas directive in the .ini file needs to be a path to a library
which ends in .dll.

Regards, Freddie.



signature.asc

Xavier Johnson

unread,
Feb 13, 2020, 10:58:27 AM2/13/20
to PyFR Mailing List
I was able to get it to work.

Thank you.
Reply all
Reply to author
Forward
0 new messages