thliebig / openEMS

openEMS is a free and open-source electromagnetic field solver using the EC-FDTD method.
http://openEMS.de
GNU General Public License v3.0
413 stars 146 forks source link

libhdf5_serial.so.10 file not found error #111

Open lhragan opened 1 year ago

lhragan commented 1 year ago

Using an older Octave script on newer "i7" computer with Ubuntu 20.x. Followed installation instructions. With minor updates, simulation finishes (adaptive to available processors -- nice!!) Error output from nf2ff in z direction: (x and y ran without error) error: ReadHDF5Attribute: /home/lawrence/opt/openEMS/share/openEMS/matlab/h5readatt_octave.oct: failed to load: libhdf5_serial.so.10: cannot open shared object file: No such file or directory error: called from ReadHDF5Attribute at line 22 column 10 ReadNF2FF at line 22 column 12 CalcNF2FF at line 140 column 7 Not urgent. All help deeply appreciated. Thanks

lhragan commented 1 year ago

Listing the hd5f libs on my linuxmint ubuntu i7 computer: libhdf5-103:amd64 1.10.4+repack-11ubuntu1 amd64 ) - runtime files - serial version ii libhdf5-cpp-103:amd64 1.10.4+repack-11ubuntu1 amd64 - C++ libraries ii libhdf5-dev 1.10.4+repack-11ubuntu1 amd64 - development files - serial version ii libhdf5-mpi-dev 1.10.4+repack-11ubuntu1 amd64 - development files - serial version ii libhdf5-mpi-dev 1.10.4+repack-11ubuntu1 amd64 - development files - default MPI version ii libhdf5-openmpi-103:amd64 1.10.4+repack-11ubuntu1 amd64 - runtime files - OpenMPI version ii libhdf5-openmpi-dev 1.10.4+repack-11ubuntu1 amd64 development files - OpenMPI version Searched each of these on Ubuntu website. (Only found under focal). None contain the missing ifle.

So, is there a way to find the missing file and either add it to a library on my computer, or put it where the nf2ff routine can find it, or otherwise fix this for myself? Better yet, can I fix it so other users don't experience the same problem?