[visit-users] visit 2.0 build

Cyrus Harrison cyglor at gmail.com
Tue Mar 30 10:27:39 EDT 2010


Hi Alex,
The problem is VISIT_MPI_LIBS requires paths to the actual libraries -
not just the MPI lib directory.
Instead of using VISIT_MPI_LIBS I recommend trying
-DVISIT_MPI_COMPILER=/usr/local/openmpi/bin/mpic++
VisIt will use this compiler wrapper to setup the proper include/lib
paths & libs.

-Cyrus

On Tue, Mar 30, 2010 at 6:05 AM, Alexander Wagner
<alexander.y.wagner at googlemail.com> wrote:
> Dear VisIt developers/users,
>
> I have trouble building the VisIt 2.0 trunk. First of all, are there any
> instructions that I can follow?
>
> For the most part I have been following BUILD_NOTES.
>
> When I come to building VisIt i get:
>
> visit-trunk/src>../third_party/cmake-2.8.0/bin/cmake
> -DCMAKE_BUILD_TYPE:STRING=2.0.0 -DCMAKE_INSTALL_PREFIX:PATH=$VISITDIR
> -DVISIT_PARALLEL:BOOL=ON -DVISIT_BUILD_ALL_PLUGINS:BOOL=ON
> -DVISIT_HDF5_DIR:PATH="$VISITDIR/hdf5/1.8.3/
> $VISITARCH" -DVISIT_MPI_LIBS=/usr/local/openmpi/lib
> -- Trying to include config-site/mosura.cmake
> -- CMake Platform: Linux
> -- Looking for Python
> -- Looking for MESA
> --   Found library MesaGL in [...]
>
> [...all 3rd party libraries that I want are found...]
>
> -- Parallel version of VisIt
> --     VISIT_PARALLEL_CFLAGS = -I/usr/local/openmpi/lib -pthread  --
> VISIT_PARALLEL_CXXFLAGS = -I/usr/local/openmpi/lib -pthread
> --     VISIT_PARALLEL_LINKER_FLAGS = -pthread -L/usr/local/openmpi/lib
> -lmpi_cxx -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil
> -lm -ldl -Wl,-rpath,/usr/local/openmpi/lib
> --     VISIT_PARALLEL_LIBS = /usr/local/openmpi/lib
> -- BSD style pseudo-tty
> -- Check for strtof prototype
> -- Check for strtof prototype - found
> -- Check for ftime prototype
> -- Check for ftime prototype - found
> -- Check for isfinite
> -- Check for isfinite - found
> -- Setting VISIT_RENDERING_SIZE_LIMIT to 16384
> -- Configuring VisIt Data Targets
> -- Configuring done
> WARNING: Target "cognomen" requests linking to directory
> "/usr/local/openmpi/lib".  Targets may link only to libraries.  CMake is
> dropping the item.
> WARNING: Target "avtpipeline_par" requests linking to directory
> "/usr/local/openmpi/lib".  Targets may link only to libraries.  CMake is
> dropping the item.
>
> [... hundreds of other targets with the same problem ... ]
>
> -- Generating done
> -- Build files have been written to:
> /priv/myriad3/ayw/research/COALA/visit2/visit-trunk/src
>
>
> and then I get compile errors because the above sources can't find the mpi
> library.
>
> I may not have built the third party libraries correctly. Can someone guide
> me onto the right track?
>
> Cheers,
> Alex
>
>
> --
> List subscription information:
> https://email.ornl.gov/mailman/listinfo/visit-users
> Searchable list archives: https://email.ornl.gov/pipermail/visit-users
> VisIt Users Wiki: http://visitusers.org/
> Frequently Asked Questions for VisIt: http://visit.llnl.gov/FAQ.html
>
>


More information about the visit-users mailing list