[Trilinos-Users] trilinos-12.0.1 with intel compiler - exo2mat error

Rossi Simone simone.rossi at epfl.ch
Tue Jun 23 08:58:56 EDT 2015


Dear Giuseppe,
"MAT_F_DONT_COPY_DATA" is a matio_flags.
My guess is that trillions cannot find Matio.h,
or you do not have it.
I compiled successfully seacas using the flag
-D TPL_ENABLE_Matio=OFF
in the configuration.
I hope this helps,
Best,
Simone

Simone Rossi,
Duke University
simone.rossi at duke.edu

________________________________
Da: Trilinos-Users [trilinos-users-bounces at trilinos.org] per conto di Giuseppe Calo [giuseppe.calo at cmcc.it]
Inviato: martedì 23 giugno 2015 10.05
A: trilinos-users at trilinos.org
Cc: Giuseppe Calo
Oggetto: [Trilinos-Users] trilinos-12.0.1 with intel compiler - exo2mat error

Hi all,
I need to install "trilinos-12.0.1" with the intel compiler.

I have just compiled and installed (with the intel compiler):

 BOOST/boost-1.58.0
 EMOS/libemos-4.0.6
 IMPI/intel_mpi_5.0.3.048
 SZIP/szip-2.1_int15
 PARALLEL_NETCDF/parallel-netcdf-1.6.1
 GRIB_API/grib_api-1.13.1
 HDF5/hdf5-1.8.15-patch1_parallel
 MAGICS/magics-2.24.7
 NETCDF/netcdf-C_4.3.3.1-F_4.4.2_C++_4.2.1_parallel
 SWIG/swig-3.0.5
 UDUNITS/udunits-2.2.19
 CMAKE/cmake-3.3.0-rc1

Before to run "make":

- I load the current environment module:

 BOOST/boost-1.58.0
 EMOS/libemos-4.0.6
 IMPI/intel_mpi_5.0.3.048
 SZIP/szip-2.1_int15
 PARALLEL_NETCDF/parallel-netcdf-1.6.1
 GRIB_API/grib_api-1.13.1
 HDF5/hdf5-1.8.15-patch1_parallel
 MAGICS/magics-2.24.7
 NETCDF/netcdf-C_4.3.3.1-F_4.4.2_C++_4.2.1_parallel
 SWIG/swig-3.0.5
 UDUNITS/udunits-2.2.19
 CMAKE/cmake-3.3.0-rc1

- run "cmake" with:

cmake \
 -DMPI_BASE_DIR=/users/home/opt/intel/impi/5.0.3.048/intel64 \
 -DCMAKE_INSTALL_PREFIX:FILEPATH="/users/home/opt-intel_2015.3.187/trilinos/trilinos_12.0.1" \
 -DMPI_EXEC:FILEPATH=/users/home/opt/intel/impi/5.0.3.048/intel64/bin/mpirun \
 -DBLAS_LIBRARY_DIRS:FILEPATH=/users/home/opt/intel/composer_xe_2015.3.187/mkl/lib/intel64 \
 -DBLAS_LIBRARY_NAMES:STRING=mkl_rt \
 -D LAPACK_LIBRARY_NAMES:STRING=mkl_rt \
 -DLAPACK_LIBRARY_DIRS:FILEPATH=/users/home/opt/intel/composer_xe_2015.3.187/mkl/lib/intel64 \
 -DCMAKE_EXE_LINKER_FLAGS="-L/users/home/opt-intel_2015.3.187/netcdf/netcdf-C_4.3.3.1-F_4.4.2_C++_4.2.1-parallel/lib -lnetcdf -L/users/home/opt/intel/composer_xe_2015.3.187/compiler/lib/intel64 -L/users/home/opt/intel/composer_xe_2015.3.187/mkl/lib/intel64" \
-DTPL_ENABLE_MPI=ON \
-DTrilinos_ENABLE_ALL_PACKAGES=ON \
-DTPL_ENABLE_GLM=OFF \
-DTrilinos_ENABLE_CXX11=ON \
 -D Trilinos_ENABLE_Piro:BOOL=ON \
 -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
 -D Trilinos_ENABLE_Netcdf=ON \
 -D Trilinos_ENABLE_OpenMP:BOOL=ON \
          -D Trilinos_ENABLE_Epetra:BOOL=ON \
          -D Trilinos_ENABLE_Teuchos:BOOL=ON \
          -D Trilinos_ENABLE_CTrilinos:BOOL=ON \
          -D Trilinos_ENABLE_ForTrilinos:BOOL=ON \
          -D DART_TESTING_TIMEOUT:STRING=600 \
          -D Trilinos_EXTRA_LINK_FLAGS:STRING="$FORTRAN_LIBRARIES" \
 -D BUILD_SHARED_LIBS:BOOL=ON \
-D CMAKE_CXX_COMPILER:STRING=/users/home/opt/intel/impi/5.0.3.048/intel64/bin/mpiicpc \
-D CMAKE_Fortran_FLAGS:STRING="-lgfortran" \
/users/home/SOFTWARE/trilinos/trilinos-12.0.1-Source

but I always receive:

Scanning dependencies of target exo2mat
[ 41%] Building C object packages/seacas/applications/exo2mat/CMakeFiles/exo2mat.dir/exo2mat.c.o
/users/home/SOFTWARE/trilinos/trilinos-12.0.1-Source/packages/seacas/applications/exo2mat/exo2mat.c: In function ‘matPutStr’:
/users/home/SOFTWARE/trilinos/trilinos-12.0.1-Source/packages/seacas/applications/exo2mat/exo2mat.c:163: error: ‘MAT_F_DONT_COPY_DATA’ undeclared (first use in this function)
/users/home/SOFTWARE/trilinos/trilinos-12.0.1-Source/packages/seacas/applications/exo2mat/exo2mat.c:163: error: (Each undeclared identifier is reported only once
/users/home/SOFTWARE/trilinos/trilinos-12.0.1-Source/packages/seacas/applications/exo2mat/exo2mat.c:163: error: for each function it appears in.)
……..
…
.

Can someone help me?
Thanks.
--------------------------------------------------------------------
Giuseppe Calò
CMCC - Supercomputing Center
presso Complesso Ecotekne - Università del Salento
Prov.le Lecce - Monteroni - 73100 Lecce  IT
http://www.cmcc.it/supercomputingcenter

Mobile (+39) 320 8190020
Mail   giuseppe.calo at cmcc.it
--------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150623/4f239fc4/attachment.html>


More information about the Trilinos-Users mailing list