[Users] CarpetHDF5 plugin referencing library in wrong spot. How to change?

Scott Hawley scott.hawley at belmont.edu
Sat Apr 14 11:10:34 CDT 2012


The install script is trying to find the file /usr/lib/libmpi_cxx.dylib, but the file is not there.  It's actually in /opt/local/lib.

How does one change this setting?

I've gone through the various tabs in the menu (resulting from running the install script)  and I cannot find a place to change this setting.  Doing a "grep -r mpi *" in the CarpetHDF5 directory turns up nothing.

I went ahead and did a "sudo ln -s /opt/local/lib/libmpi* /usr/lib".  That solved the FIRST problem.  Now it's looking for `/usr/lib/libopen-rte.dylib'….

make[2]: *** No rule to make target `/usr/lib/libopen-rte.dylib', needed by `/Users/shawley/.visit/2.4.2/darwin-x86_64/plugins/databases/libECarpetHDF5Database_par.dylib'.  Stop.
make[1]: *** [CMakeFiles/ECarpetHDF5Database_par.dir/all] Error 2
make: *** [all] Error 2

We need to be able to change the directory it looks in.

Setting LIB_PATHS and/or LD_LIBRARY_PATH has no effect.

Thanks,
Scott
P.S.- Going back and putting in symbolic links for all the complaining libraries results in a full build!  However, when you try to run it in Visit (2.4.2) and load a .h5 file, what you get is….


VisIt was unable to open "/Users/shawley/runs/cactus/bruiser/texmex_test/gxx.h5". Each attempt to open it caused VisIt's metadata server to crash. This can occur when the file is corrupted, or when the underlying file format has changed and VisIt's readers have not been updated yet, or when the reader VisIt is using for your file format is not robust. Please check whether the file is corrupted and, if not, contact a VisIt develop







Plugin: CarpetHDF5 ("Carpet AMR/curvilinear HDF5 output generated by the Cactus Computational Toolkit", type=database) -- version 2.1
    Attribute:  ()

-- The C compiler identification is GNU
-- The CXX compiler identification is Clang
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/shawley/apps/VizTools/CarpetHDF5
Scanning dependencies of target ECarpetHDF5Database_par
[  6%] Building CXX object CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5EnginePluginInfo.C.o
[ 12%] Building CXX object CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5PluginInfo.C.o
[ 18%] Building CXX object CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5CommonPluginInfo.C.o
[ 25%] Building CXX object CMakeFiles/ECarpetHDF5Database_par.dir/avtCarpetHDF5FileFormat.C.o
[ 31%] Building CXX object CMakeFiles/ECarpetHDF5Database_par.dir/H5Index.C.o
make[2]: *** No rule to make target `/usr/lib/libmpi_cxx.dylib', needed by `/Users/shawley/.visit/2.4.2/darwin-x86_64/plugins/databases/libECarpetHDF5Database_par.dylib'.  Stop.
make[1]: *** [CMakeFiles/ECarpetHDF5Database_par.dir/all] Error 2
make: *** [all] Error 2
[provision:~/apps/VizTools/CarpetHDF5] shawley% ./install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20120414/073e848c/attachment.html 


More information about the Users mailing list