Resolved -- "cannot find -lhdf5_hl_cpp" compiler error with C++ code using hdf5
January 24, 2012 by Helen He (0 Comments)
Symptom:
After the 1/18 system maintenance, C++ code compilation gets an error if the default hdf5/1.8.5.0 module is loaded: "/usr/bin/ld: cannot find -lhdf5_hl_cpp".
Workaround
Users can either do any of the following module swaps and recompile: 1) module swap xt-asyncpe xt-asyncpe/5.01; or 2) module swap hdf5 hdf5/1.8.7; or 3) if the default netcdf/4.1.1.0 is loaded, then do "module swap netcdf netcdf/4.1.3".
Status
Problem is resolved by setting newer netcdf/4.1.3 and hdf5/1.8.7 to the default versions. The underlying problem has been reported to Cray.
Post your comment
You cannot post comments until you have logged in. Login Here.
Comments
No one has commented on this page yet.
RSS feed for comments on this page | RSS feed for all comments


