Cannot find the DLL file

Discussion about building and installing Elmer
Post Reply
tacojoi
Posts: 20
Joined: 16 Mar 2011, 14:22
Antispam: Yes

Cannot find the DLL file

Post by tacojoi »

Dear Sir,

After compiler a subroutine file and produced a DLL file sucessfully, I put this file to Elmer7\share\elmersolver\lib and run. But the logger window shows messages as below,

Load: Unable to open shraed library...
cannot find...

Please tell me how to solve this problem. (Elmer Version is 5898, Windows 32bits)

Thank you.

Taco
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Cannot find the DLL file

Post by mzenker »

Hi,

could you copy-paste the relevant lines of your log file completely and also the relevant part of your sif file?

Matthias
tacojoi
Posts: 20
Joined: 16 Mar 2011, 14:22
Antispam: Yes

Re: Cannot find the DLL file

Post by tacojoi »

Hi, Matthias

All messages are in the attachments. Thanks

Taco
Attachments
Solver Log.pdf
Solver log
(462.29 KiB) Downloaded 341 times
sif file.pdf
sif file
(184.76 KiB) Downloaded 364 times
Compiler log.JPG
Compiler log
(106.48 KiB) Not downloaded yet
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Cannot find the DLL file

Post by mzenker »

Could you post the file with the extension .sif where you make the call to your function HHHQ7?

Matthias
tacojoi
Posts: 20
Joined: 16 Mar 2011, 14:22
Antispam: Yes

Re: Cannot find the DLL file

Post by tacojoi »

Hi, Matthias

The attachment is .sif file.

Because I just want to test, so I simplified my function program very much.

I think it may be the problem of compiling.

Because the almost the same program can be complied and run in Elmer v6.0, but can't in version 7.

Thank you very much.

Taco
Attachments
SIF.7z
.sif file
(495.67 KiB) Downloaded 328 times
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Cannot find the DLL file

Post by mzenker »

Hi,

I have had a look at your files. If you really compiled your test.f90 successfully with elmerf90 and put it to C:\Elmer7\share\elmersolver\lib and Elmer does not find it, I don't see what goes wrong for you, sorry.
Maybe someone else does?

Matthias
Post Reply