Error with ModuleHDF5

General Announcements (New Downloads, etc)
dinapolimatias@gmail.com
MOHID Beginner
Posts: 3
Joined: Mon Feb 09, 2015 02:26

Error with ModuleHDF5

Postby dinapolimatias@gmail.com » Tue Mar 03, 2015 04:16

Hello, I have got a problem during the compilation of "Nix.mk". I'm installing Mohid on Linux to use it throught the console. When it reaches to ModuleHDF5 shows the message that I add in the picture. I tried to put the explicit path for all libraries but it still showing me the same error. Is there anything I must modify or include in the installation of the Mohid?I guess that the next error (error #6683) is because HDF5 is not loaded fully.

Thanks!
Attachments
Sin título2.jpg
Nix.mk
Sin título2.jpg (209.16 KiB) Viewed 3780 times
Sin título.jpg
Error
Sin título.jpg (197.96 KiB) Viewed 3780 times

Jauch
Site Admin
Posts: 98
Joined: Thu Jan 01, 1970 00:00

Re: Error with ModuleHDF5

Postby Jauch » Mon Jul 06, 2015 08:15

Hello,

Sorry for take so long.

Did you compiled the HDF5 libraries with the same compiler you are using to compile mohid?
If not, you must.

Also, did you correct setup the HDF5LIB and HDF5INC parameters? Usually both point to the same place, that is the place where it is both the library as the mod files.

In any case, it is necessary to change the Nix.mk file.

The line:

export LFLAGS = -openmp -lpthread -fpp -nologo -warn all -i-static -convert big_endian -traceback -D_USE_NIX -mcmodel=large

Must be changed to include this: -Wl,-rpath,'$$$$ORIGIN/.'

Or during execution, the system will not find your HDF5 libraries.

Hope this will help you.
Cheers,
Eduardo


Return to “MOHID General”

Who is online

Users browsing this forum: No registered users and 1 guest