Fail to install HISA

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
User avatar
Roland
Posts: 333
Joined: Fri Aug 21, 2015 2:20 pm

Fail to install HISA

Post by Roland »

Dear Forum,

I tried to install HISA, and went through the tutorials to check for any issues. None of the tutorials work because HISA was not found:

Code: Select all

--> FOAM Warning :
From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105
could not load "libhisaFiniteVolume.so"
I updated HISA from the FreeCAD Preferences menu and according to the dependency checker it installed correctly:
Smurf.png
Smurf.png (105.65 KiB) Viewed 1583 times

In the above picture, Output says that everything is OK. But it is not, as the Report View (panel) says:

Code: Select all

Checking CFD workbench dependencies...
Checking FreeCAD version
Checking for OpenFOAM:
Running echo $WM_PROJECT_VERSION
Raw command: ['C:/Program Files/FreeCAD 0.18/bin\python.exe', '-u', 'C:\Users\MyPC\AppData\Roaming\FreeCAD\Mod\CfdOF\WindowsRunWrapper.py', 'C:/PROGRA1/BLUECF1/OPENFO~1.X\..\msys64\usr\bin\bash', '--login', '-O', 'expand_aliases', '-c', 'echo $WM_PROJECT_VERSION']
Setting environment for OpenFOAM 5.x mingw-w64 Double Precision (of5-64), using MSMPI71 - please wait...
Environment is now ready. Notes:

    You can change between installed versions by running: ofmenu
    You can change to other predefined versions by running: ofmenuNew
    5.x
    Running cartesianMesh -version
    Raw command: ['C:/Program Files/FreeCAD 0.18/bin\python.exe', '-u', 'C:\Users\MyPC\AppData\Roaming\FreeCAD\Mod\CfdOF\WindowsRunWrapper.py', 'C:/PROGRA1/BLUECF1/OPENFO~1.X\..\msys64\usr\bin\bash', '--login', '-O', 'expand_aliases', '-c', 'cartesianMesh -version']
    Setting environment for OpenFOAM 5.x mingw-w64 Double Precision (of5-64), using MSMPI71 - please wait...
    Environment is now ready. Notes:
    You can change between installed versions by running: ofmenu
    You can change to other predefined versions by running: ofmenuNew
    /---------------------------------------------------------------------------
    | ========= | |
    | \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \ / O peration | Version: 5.x |
    | \ / A nd | Web: www.OpenFOAM.org |
    | \/ M anipulation | |
    *---------------------------------------------------------------------------/
    / Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt
    | Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com |
    *---------------------------------------------------------------------------/
    Build : 5.x-963176928289
    Exec : C:/PROGRA1/BLUECF1/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/bin/cartesianMesh.exe -version
    Date : May 26 2020
    Time : 21:29:13
    Host : "MyPC"
    PID : 6992
    I/O : uncollated
    Case : C:/PROGRA1/BLUECF1/msys64/home/ofuser
    nProcs : 1
    SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
    allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
cfMesh-CfdOF (cfMesh 1.1.2) 1.6
Running hisa -version
Raw command: ['C:/Program Files/FreeCAD 0.18/bin\python.exe', '-u', 'C:\Users\MyPC\AppData\Roaming\FreeCAD\Mod\CfdOF\WindowsRunWrapper.py', 'C:/PROGRA1/BLUECF1/OPENFO~1.X\..\msys64\usr\bin\bash', '--login', '-O', 'expand_aliases', '-c', 'hisa -version']
Setting environment for OpenFOAM 5.x mingw-w64 Double Precision (of5-64), using MSMPI71 - please wait...
Environment is now ready. Notes:

    You can change between installed versions by running: ofmenu
    You can change to other predefined versions by running: ofmenuNew
    /---------------------------------------------------------------------------
    | ========= | |
    | \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \ / O peration | Version: 5.x |
    | \ / A nd | Web: www.OpenFOAM.org |
    | \/ M anipulation | |
    *---------------------------------------------------------------------------/
    / Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt
    | Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com |
    *---------------------------------------------------------------------------/
    Build : 5.x-963176928289
    Exec : C:/PROGRA1/BLUECF1/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/bin/hisa.exe -version
    Date : May 26 2020
    Time : 21:29:15
    Host : "MyPC"
    PID : 5644
    I/O : uncollated
    Case : C:/PROGRA1/BLUECF1/msys64/home/ofuser
    nProcs : 1
    SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
    allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
--> FOAM Warning :
From function void* Foam::dlOpen(const Foam::fileName&, bool)
in file MSwindows.C at line 1336
LoadLibrary failed. "Error 126: The specified module could not be found.

"
hisa 1.1.3
Checking for paraview:
Checking for Plot workbench:
Checking for gmsh:
Completed CFD dependency check
Please note that FreeCAD installed version hisa 1.1.3.

Suggestion: Might it be possible that blueCFD-Core is not yet ready for hisa 1.1.3? Or is it another issue (installation error, FreeCAD bug ...?)?

Any suggestions welcome!

Greetz,

Roland
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Fail to install HISA

Post by Kunda1 »

Please remember to always add About info.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
oliveroxtoby
Posts: 837
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Fail to install HISA

Post by oliveroxtoby »

Roland wrote: Tue May 26, 2020 8:15 pm
Suggestion: Might it be possible that blueCFD-Core is not yet ready for hisa 1.1.3? Or is it another issue (installation error, FreeCAD bug ...?)?

Any suggestions welcome!

Greetz,

Roland
This should be resolved - please re-install hisa.
User avatar
Roland
Posts: 333
Joined: Fri Aug 21, 2015 2:20 pm

Re: Fail to install HISA

Post by Roland »

We reinstalled, it works now.

Thanks Oliver!
thschrader
Veteran
Posts: 3155
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Fail to install HISA

Post by thschrader »

Newest Hisa installed, works.
triangleHighMach.FCStd
(21.6 KiB) Downloaded 58 times
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20980 (Git)
Build type: Release
Branch: master
Hash: c2818d9159385d23b182dc7167af2d4bacbee94c
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
triangleCase.JPG
triangleCase.JPG (20.46 KiB) Viewed 1463 times
Post Reply