GithubHelp home page GithubHelp logo

steven-varga / hdf5_cmake Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rneder/hdf5_cmake

0.0 0.0 0.0 51 KB

Test of the make / make install compination for CMAKE and HDF5

CMake 28.73% C 43.44% Fortran 14.62% Shell 13.21%

hdf5_cmake's Introduction

HDF5_CMAKE

I have two build directories outside this repository: BuildConvert ! A fortran90 example BuildCexample ! A C example

The HDF5 is installed into $HOME/HDF_Group and the HDF5_DIR variable is set to: /home/reinhard/HDF_Group/HDF5/1.12.0/share/cmake/hdf5

Within the Build directories I run: : BuildConvert

cmake -DCMAKE_INSTALL_PREFIX=/home/reinhard ../HDF5_CMAKE/SourceConvert make make install ./Converthdf ! no issues $HOME/bin/Converthdf
#===> /home/reinhard/bin/Converthdf: error while loading shared libraries: libhdf5_fortran.so.200: cannot open shared object file: No such file or directory cp Converthdf $HOME/bin $HOME/bin/Converthdf ! No issues !!!!!!!!!!

: BuildCexample cmake -DCMAKE_INSTALL_PREFIX=/home/reinhard ../HDF5_CMAKE/SourceCexample make make install ./h5ex_d_rdwr ! no issues $HOME/bin/h5ex_d_rdwr #==> /home/reinhard/bin/h5ex_d_rdwr: error while loading shared libraries: libhdf5.so.200: cannot open shared object file: No such file or directory cp h5ex_d_rdwr $HOME/bin $HOME/bin/h5ex_d_rdwr ! No issue !!!!!!!!!

Why do the binaries in $HOME/bin fail with missing libraries, while the local binaries and the binaries copied into $HOME/bin do work? Am I missing something dumb in my CMakeLists.txt ? I do not have such issues with make install in other projects.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.