[Trilinos-Users] R: error executing Sundance

Andrea Penza pepe.aero at alice.it
Thu Dec 8 09:35:50 MST 2011


Thanks to the answer of Alberto i'm now able to execute my Sundance application.
It still remains a problem. trying to use ExodusII mesh file the system report this error while i call the ExodusMeshReader object:


Throw number = 1

Throw test that evaluated to true: true

ExodusMeshReader called for a build without ExodusII
caught in /home/andre/Projects/trilinos-10.8.3-Source/packages/src-std-mesh/Sources/SundanceMeshSource.cpp:69

Is someone understands what it means?
Thank you all so much again. 
Kind regards,

Andrea

-- msg. originale --
Oggetto: Re: [Trilinos-Users] error executing Sundance
Da: Alberto F. Martín-Huertas <amartin at cimne.upc.edu>
Data: 08/12/2011 12:15

 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.


_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov
http://software.sandia.gov/mailman/listinfo/trilinos-users





More information about the Trilinos-Users mailing list