[Trilinos-Users] error executing Sundance
Alberto F. Martín-Huertas
amartin at cimne.upc.edu
Thu Dec 8 04:09:57 MST 2011
Hi Andrea,
did you add /home/andre/Projects/netcdf-4.1.3/BUILD/lib
to the LD_LIBRARY_PATH environment variable ?
Regards,
Alberto
On Thu, 8 Dec 2011 11:25:29 +0100, Andrea Penza wrote:
> 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
--
Alberto F. Martín-Huertas
Centre Internacional de Mètodes Numèrics a l'Enginyeria (CIMNE)
Parc Mediterrani de la Tecnologia, UPC
Esteve Terrades 5, Building C3, Office 210,
08860 Castelldefels (Barcelona, Spain)
Tel.: (+34) 9341 34223
e-mail: amartin at cimne.upc.edu
________________
IMPORTANT NOTICE
All personal data contained on this mail will be processed
confidentially and registered in a file property of CIMNE in
order to manage corporate communications. You may exercise the rights
of access, rectification, erasure and object by
letter sent to Ed. C1 Campus Norte UPC. Gran Capitán s/n Barcelona.
More information about the Trilinos-Users
mailing list