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!
Error with ModuleHDF5
-
- MOHID Beginner
- Posts: 3
- Joined: Mon Feb 09, 2015 02:26
Error with ModuleHDF5
- Attachments
-
- Nix.mk
- Sin título2.jpg (209.16 KiB) Viewed 5685 times
-
- Error
- Sin título.jpg (197.96 KiB) Viewed 5685 times
Re: Error with ModuleHDF5
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
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
Who is online
Users browsing this forum: No registered users and 1 guest