[Trilinos-Users] error executing Sundance
Andrea Penza
pepe.aero at alice.it
Thu Dec 8 03:25:29 MST 2011
Hi all,
i'm trying to configure Trilinos to use Sundance working with MPI, ExodusII library and Netcdf. All are installed on my system.
I've run a configuration script like this:
EXTRA_ARGS=$@
cmake \
-D CMAKE_BUILD_TYPE:STRING=DEBUG \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D Trilinos_ENABLE_Sundance:BOOL=ON \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D TPL_ENABLE_MPI:BOOL=ON \
-D MPI_INCLUDE_DIRS:PATH=/usr/lib/openmpi/include \
-D MPI_LIBRARY_NAMES:STRING="mpi;mpi_cxx;mpi_f77;mpi_f90;openmpi_malloc;open-pal;open_rte;otf;vt;vt.fmpi;vt.mpi;vt.omp;vt.ompi" \
-D MPI_LIBRARY_DIRS:PATH=/usr/lib/openmpi/lib \
-D TPL_ENABLE_Netcdf:BOOL=ON \
-D Netcdf_INCLUDE_DIRS:PATH=/home/andre/Projects/netcdf-4.1.3/BUILD/include \
-D Netcdf_LIBRARY_NAMES:STRING="netcdf;netcdf_c++;netcdff;" \
-D Netcdf_LIBRARY_DIRS:PATH=/home/andre/Projects/netcdf-4.1.3/BUILD/lib \
$EXTRA_ARGS \
${TRILINOS_HOME}
and the configuration was done successfully. Then i've built and installed and all was ok.
My system is able to compile .cpp file and make .exe file but when a try to run the exe file it reports this error:
"error while loading shared libraries: libnetcdf.so.7: cannot open shared object file: No such file or directory."
I've checked that the library libnetcdf.so.7 is present in my system at the path i've insert, /home/andre/Projects/netcdf-4.1.3/BUILD/lib .
Has someone an idea of waht could be the problem? Thank you very much, your help is really appreciated!
Kind regards,
Andrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20111208/fda6bfa8/attachment.html
More information about the Trilinos-Users
mailing list