[Trilinos-Users] build error
John Mitchell
jamitch at sandia.gov
Wed Jun 16 13:45:48 MDT 2010
I checked out the votd of trilinos on my machine today and attempted to
build. But I get the following error. I have not build trilinos for a
couple of months but I don't recall seeing this error?
I'm on a RHEL 5 linux box -- 64 bit.
Any suggestions? Error below:
[ 98%] Building CXX object
packages/mesquite/src/CMakeFiles/mesquite.dir/Mesh/ParallelHelper.cpp.o
....
/usr/include/mpich2/mpi.h:347: error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:108:
error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:119:
error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:119:
error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:
In function ‘double Mesquite2::generate_random_number(int, int, size_t)’:
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:135:
error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:136:
error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:192:
error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:192:
error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:199:
error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:199:
error: ISO C++ does not support ‘long long’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:
In member function ‘virtual void
Mesquite2::ParallelHelperImpl::smoothing_init(Mesquite2::MsqError&)’:
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:385:
warning: ISO C++ does not support the ‘Z’ printf length modifier
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:388:
warning: ISO C++ does not support the ‘Z’ printf length modifier
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:551:
error: ISO C++ forbids variable-size array ‘unghost_procs_array’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:
In member function ‘int
Mesquite2::ParallelHelperImpl::comm_smoothed_vtx_tnb(Mesquite2::MsqError&)’:
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:1312:
warning: ISO C++ does not support the ‘Z’ printf length modifier
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:
In member function ‘int
Mesquite2::ParallelHelperImpl::comm_smoothed_vtx_tnb_no_all(Mesquite2::MsqError&)’:
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:1424:
warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long
unsigned int’
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:1512:
warning: ISO C++ does not support the ‘Z’ printf length modifier
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:
In member function ‘int
Mesquite2::ParallelHelperImpl::comm_smoothed_vtx_nb(Mesquite2::MsqError&)’:
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:1722:
warning: ISO C++ does not support the ‘Z’ printf length modifier
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:
In member function ‘int
Mesquite2::ParallelHelperImpl::comm_smoothed_vtx_nb_no_all(Mesquite2::MsqError&)’:
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:1936:
warning: ISO C++ does not support the ‘Z’ printf length modifier
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:
In member function ‘int
Mesquite2::ParallelHelperImpl::comm_smoothed_vtx_b(Mesquite2::MsqError&)’:
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:2108:
warning: ISO C++ does not support the ‘Z’ printf length modifier
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:
In member function ‘int
Mesquite2::ParallelHelperImpl::comm_smoothed_vtx_b_no_all(Mesquite2::MsqError&)’:
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/src/Mesh/ParallelHelper.cpp:2291:
warning: ISO C++ does not support the ‘Z’ printf length modifier
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/include/Mesquite.hpp:
At global scope:
/home/jamitch/trilinos_votd/Trilinos/packages/mesquite/include/Mesquite.hpp:141:
warning: ‘Mesquite2::MSQ_3RT_2_OVER_6RT_3’ defined but not used
make[2]: ***
[packages/mesquite/src/CMakeFiles/mesquite.dir/Mesh/ParallelHelper.cpp.o]
Error 1
make[2]: Leaving directory `/home/jamitch/trilinos_votd/build.votd'
make[1]: *** [packages/mesquite/src/CMakeFiles/mesquite.dir/all] Error 2
make[1]: Leaving directory `/home/jamitch/trilinos_votd/build.votd'
More information about the Trilinos-Users
mailing list