Hi all,
I am trying to compile a UDF on Windows but I'm getting the error:
"The code execution cannot proceed because libzstd.dll was not found. Reinstalling the program may fix this problem."
I've installed the latest "ElmerFEM-nogui-nompi-Windows-AMD64.exe" version. I tried re-installing to no avail.
My command was:
elmerf90 -o test.dll test.f90
"C:\Program Files\Elmer 9.0-Release/stripped_gfortran/bin/x86_64-w64-mingw32-gfortran.exe" -o test.dll test.f90 -fallow-argument-mismatch -DCONTIG= -DMINGW32 -DWIN32 -DHAVE_EXECUTECOMMANDLINE -DUSE_ISO_C_BINDINGS -DUSE_ARPACK -O3 -DNDEBUG -O3 -shared -I"C:\Program Files\Elmer 9.0-Release/share/elmersolver/include" -L"C:\Program Files\Elmer 9.0-Release/bin" -shared -lelmersolver
Has anyone else run into this problem before?
Thanks!
libzstd.dll error on Windows
Re: libzstd.dll error on Windows
Hello,
What happens if you use the Elmer Windows installer with gui and with mpi?
Do you get the same error?
Rich.
What happens if you use the Elmer Windows installer with gui and with mpi?
Do you get the same error?
Rich.
Re: libzstd.dll error on Windows
Hello,
I just ran this test:
Both versions ran to completion and passed the test.
Rich.
I just ran this test:
using these commands:elmerfem\fem\tests\PoissonPFEM
I used the Windows installers from today, 05-Oct-2022, for both with gui/with mpi and without gui/without mpi.elmerf90.bat Poisson.f90 -o Poisson.dll
elmergrid 1 2 square
elmersolver ptest.sif
Both versions ran to completion and passed the test.
Rich.
Re: libzstd.dll error on Windows
One more thing to check, on my laptop, libzstd.dll exists in C:\Program Files\Elmer 9.0-Release\bin.
Rich.
Rich.
-
- Posts: 2383
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: libzstd.dll error on Windows
Either the file is missing ot the path is wrong. You can check for the existence of the file by searching for it by name.
If it exists then check the path settings using
https://www.nic.funet.fi/pub/sci/physic ... dElmer.pdf
If it exists then check the path settings using
https://www.nic.funet.fi/pub/sci/physic ... dElmer.pdf
Re: libzstd.dll error on Windows
Hello,
I tried again, this time doing a complete uninstall and finished up by deleting the C:\Program Files\Elmer 9.0-Release folder. Then after installing the no gui no mpi version, the PoissonPFEM test passes, working normally. Interestingly with the no gui/no mpi version, the subject file, libzstd.dll, no longer exists in the C:\Program Files\Elmer 9.0-Release\bin folder.
Then after installing Elmer with gui/with mpi, the subject file now exists in the bin folder.
Rich.
I tried again, this time doing a complete uninstall and finished up by deleting the C:\Program Files\Elmer 9.0-Release folder. Then after installing the no gui no mpi version, the PoissonPFEM test passes, working normally. Interestingly with the no gui/no mpi version, the subject file, libzstd.dll, no longer exists in the C:\Program Files\Elmer 9.0-Release\bin folder.
Then after installing Elmer with gui/with mpi, the subject file now exists in the bin folder.
Rich.
-
- Posts: 22
- Joined: 06 Oct 2023, 14:31
- Antispam: Yes
Re: libzstd.dll error on Windows
Hi,
I got the same error, It'd be great to add this fille in the nogui nompi exe/zip setup file.
You can get the file under msys/mingw64 :
The dll file is located at /mingw/bin/libzstd.dll
I got the same error, It'd be great to add this fille in the nogui nompi exe/zip setup file.
You can get the file under msys/mingw64 :
Code: Select all
pacman -S mingw-w64-i686-zstd
- Attachments
-
- libzstd.zip
- (483.57 KiB) Downloaded 81 times