t-sakashita / rokko

Integrated Interface for libraries of eigenvalue decomposition
Boost Software License 1.0
10 stars 2 forks source link

FX10においてTAUでの性能測定用にRokkoをビルドする際にエラー #279

Open t-sakashita opened 8 years ago

t-sakashita commented 8 years ago

TAU用のコンパイララッパーを使う。

~/cmake/bin/cmake ~/development/rokko -DBLAS_LIBRARY="-SSL2BLAMP" -DBOOST_ROOT=$HOME/boost_1_55_0-1 -DBUILD_DEVELOPERS=ON -DBUILD_ELEMENTAL=OFF -DBUILD_Fortran_BINDING=OFF -DBUILD_Python_BINDING=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=tau_cxx.sh -DCMAKE_CXX_FLAGS="-Kfast -KPIC -Xg -mt" -DCMAKE_C_COMPILER=tau_cc.sh -DCMAKE_C_FLAGS="-Kfast -KPIC -Xg -mt" -DCMAKE_Fortran_COMPILER=tau_f90.sh -DCMAKE_Fortran_FLAGS="-Kfast -KPIC -mt" -DDISABLE_PDSYEVR=ON -DLAPACK_LIBRARY=-SSL2BLAMP -DOpenMP_CXX_FLAGS=-Kopenmp -DOpenMP_C_FLAGS=-Kopenmp -DSCALAPACK_LIB="-SCALAPACK -SSL2BLAMP" -DSTATIC_SCALAPACK=ON -DUSE_CXX_LINKER=ON

ここで、Fortranコンパイラのテストで止まるが、リターンキーを押すと先に進む。

エラー出力

[n000402@maki1]/work/n0004/n000402/build_tau/rokko% make
[ 70%] Built target lapacke
[ 70%] Building CXX object rokko/CMakeFiles/rokko.dir/scalapack/scalapack.cpp.o

Debug: Parsing with PDT Parser.
Executing> /home/n0004/n000402/pdt/sparc64fx/bin/cxxparse /work/n0004/n000402/try/rokko/rokko/scalapack/scalapack.cpp -I/home/n0004/n000402/tau/include -DPROFILING_ON -DTAU_DOT_H_LESS_HEADERS -Xg -DTAU_FUJITSU -DTAU_DOT_H_LESS_HEADERS -fPIC -DTAU_MPI -DTAU_UNIFY -DTAU_MPI_THREADED -DTAU_MPIGREQUEST -DTAU_MPIDATAREP -DTAU_MPIERRHANDLER -DTAU_MPIATTRFUNCTION -DTAU_MPITYPEEX -DTAU_MPIADDERROR -DTAU_LARGEFILE -D_LARGEFILE64_SOURCE -DTAU_BFD -DTAU_MPIFILE -DHAVE_GNU_DEMANGLE -DTAU_SS_ALLOC_SUPPORT -DTAU_STRSIGNAL_OK -DTAU_TRACK_LD_LOADER -DTAU_MPI_EXTENSIONS -I/opt/FJSVfxlang/GM-1.2.1-08/include/mpi/fujitsu -I/opt/FJSVfxlang/GM-1.2.1-08/include/mpi/fujitsu/openmpi -I/opt/FJSVfxlang/GM-1.2.1-08/include/mpi/fujitsu/openmpi/ompi -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DROKKO_BUILD_SHARED_LIBS=1 -Drokko_EXPORTS -I/work/n0004/n000402/build_tau -I/work/n0004/n000402/try/rokko -I/work/n0004/n000402/build_tau/3rd-party/lapacke/include -I/work/n0004/n000402/try/rokko/3rd-party/lapacke/include -I/work/n0004/n000402/try/rokko/3rd-party/eigen3 -I/global/app/materiapps/tool/boost/boost_1_55_0-1 -I/home/n0004/n000402/tau/include -I/work/n0004/n000402/try/rokko/rokko/scalapack
"/global/app/materiapps/tool/boost/boost_1_55_0-1/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp", line 89: error:
          unknown asm constraint letter 'a'
          "=m"( *pw ), "=&a"( rv ), "=&r"( tmp ): // outputs (%0, %1, %2)
                       ^

1 error detected in the compilation of "/work/n0004/n000402/try/rokko/rokko/scalapack/scalapack.cpp".
PDT: Error: Couldn't create scalapack.pdb: Invoking the alternate PDT parser based on EDG v4.10.1:
/home/n0004/n000402/pdt/x86_64//bin/cxxparse4101 /work/n0004/n000402/try/rokko/rokko/scalapack/scalapack.cpp -I/home/n0004/n000402/tau/include -DPROFILING_ON -DTAU_DOT_H_LESS_HEADERS -Xg -DTAU_FUJITSU -DTAU_DOT_H_LESS_HEADERS -fPIC -DTAU_MPI -DTAU_UNIFY -DTAU_MPI_THREADED -DTAU_MPIGREQUEST -DTAU_MPIDATAREP -DTAU_MPIERRHANDLER -DTAU_MPIATTRFUNCTION -DTAU_MPITYPEEX -DTAU_MPIADDERROR -DTAU_LARGEFILE -D_LARGEFILE64_SOURCE -DTAU_BFD -DTAU_MPIFILE -DHAVE_GNU_DEMANGLE -DTAU_SS_ALLOC_SUPPORT -DTAU_STRSIGNAL_OK -DTAU_TRACK_LD_LOADER -DTAU_MPI_EXTENSIONS -I/opt/FJSVfxlang/GM-1.2.1-08/include/mpi/fujitsu -I/opt/FJSVfxlang/GM-1.2.1-08/include/mpi/fujitsu/openmpi -I/opt/FJSVfxlang/GM-1.2.1-08/include/mpi/fujitsu/openmpi/ompi -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DROKKO_BUILD_SHARED_LIBS=1 -Drokko_EXPORTS -I/work/n0004/n000402/build_tau -I/work/n0004/n000402/try/rokko -I/work/n0004/n000402/build_tau/3rd-party/lapacke/include -I/work/n0004/n000402/try/rokko/3rd-party/lapacke/include -I/work/n0004/n000402/try/rokko/3rd-party/eigen3 -I/global/app/materiapps/tool/boost/boost_1_55_0-1 -I/home/n0004/n000402/tau/include -I/work/n0004/n000402/try/rokko/rokko/scalapack
"/global/app/materiapps/tool/boost/boost_1_55_0-1/boost/smart_ptr/detail/sp_cou
          nted_base_gcc_x86.hpp", line 75: warning: variable "tmp" was set but
          never used
      int rv, tmp;
              ^

"/global/app/materiapps/tool/boost/boost_1_55_0-1/boost/format/format_implement
          ation.hpp", line 94: error: no instance of overloaded function
          "std::vector<bool, _Alloc>::swap [with _Alloc=std::allocator<bool>]"
          matches the argument list
            argument types are: (std::vector<bool, std::allocator<bool>>)
            object type is: std::vector<bool, std::allocator<bool>>
          bound_.swap(x.bound_);
                 ^

"/global/app/materiapps/tool/boost/boost_1_55_0-1/boost/concept_check.hpp",
          line 974: warning: variable "mpl_assertion_in_line_974" was declared
          but never referenced
            BOOST_MPL_ASSERT((boost::is_same<key_type,value_type>));
            ^

"/global/app/materiapps/tool/boost/boost_1_55_0-1/boost/concept_check.hpp",
          line 987: warning: variable "mpl_assertion_in_line_987" was declared
          but never referenced
            BOOST_MPL_ASSERT((boost::is_same<value_type,required_value_type>));
            ^

"/work/n0004/n000402/try/rokko/rokko/scalapack/core.hpp", line 89: warning:
          missing return statement at end of non-void function
          "rokko::scalapack::solver::diagonalize(rokko::distributed_matrix<doub
          le, MATRIX_MAJOR> &, VEC &, rokko::distributed_matrix<double,
          MATRIX_MAJOR> &, const rokko::parameters &)"
  }
  ^

"/work/n0004/n000402/try/rokko/rokko/scalapack/core.hpp", line 127: warning:
          missing return statement at end of non-void function
          "rokko::scalapack::solver::diagonalize(rokko::distributed_matrix<doub
          le, MATRIX_MAJOR> &, VEC &, const rokko::parameters &)"
  }
  ^

"/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/include/g++_HEADERS/hdrs1
          /bits/stl_vector.h", line 258: error: no instance of function
          template "std::forward" matches the argument list
            argument types are: (std::vector<std::string,
                      std::allocator<std::string>>)
        : _Base(std::forward<_Base>(__x)) { }
                ^
          detected during instantiation of "std::vector<_Tp,
                    _Alloc>::vector(std::vector<_Tp, _Alloc> &&) [with
                    _Tp=std::string, _Alloc=std::allocator<std::string>]" at
                    line 81 of
                    "/work/n0004/n000402/try/rokko/rokko/factory.hpp"

"/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/include/g++_HEADERS/hdrs1
          /bits/stl_map.h", line 182: error: no instance of function template
          "std::forward" matches the argument list
            argument types are: (std::_Rb_tree<std::string, std::pair<const
                      std::string, int>, std::_Select1st<std::pair<const
                      std::string, int>>, std::less<std::string>,
                      std::allocator<std::pair<const std::string, int>>>)
        : _M_t(std::forward<_Rep_type>(__x._M_t)) { }
               ^
          detected during instantiation of "std::map<_Key, _Tp, _Compare,
                    _Alloc>::map(std::map<_Key, _Tp, _Compare, _Alloc> &&)
                    [with _Key=std::string, _Tp=int,
                    _Compare=std::less<std::string>,
                    _Alloc=std::allocator<std::pair<const std::string, int>>]"
                    at line 186 of
                    "/work/n0004/n000402/try/rokko/rokko/utility/timer.hpp"

"/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/include/g++_HEADERS/hdrs1
          /bits/stl_iterator.h", line 916: error: an rvalue reference cannot be
          bound to an lvalue
        { return *_M_current; }
                 ^
          detected during:
            instantiation of "std::move_iterator<_Iterator>::reference
                      std::move_iterator<_Iterator>::operator*() const [with
                      _Iterator=std::string *]" at line 74 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_uninitialized.h"
            instantiation of "_ForwardIterator
                      std::__uninitialized_copy<<unnamed>>::uninitialized_copy(
                      _InputIterator, _InputIterator, _ForwardIterator) [with
                      <unnamed>=false,
                      _InputIterator=std::move_iterator<std::string *>,
                      _ForwardIterator=std::string *]" at line 116 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_uninitialized.h"
            instantiation of "_ForwardIterator
                      std::uninitialized_copy(_InputIterator, _InputIterator,
                      _ForwardIterator) [with
                      _InputIterator=std::move_iterator<std::string *>,
                      _ForwardIterator=std::string *]" at line 256 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_uninitialized.h"
            instantiation of "_ForwardIterator
                      std::__uninitialized_copy_a(_InputIterator,
                      _InputIterator, _ForwardIterator, std::allocator<_Tp> &)
                      [with _InputIterator=std::move_iterator<std::string *>,
                      _ForwardIterator=std::string *, _Tp=std::string]" at line
                      266 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_uninitialized.h"
            instantiation of "_ForwardIterator
                      std::__uninitialized_move_a(_InputIterator,
                      _InputIterator, _ForwardIterator, _Allocator &) [with
                      _InputIterator=std::string *,
                      _ForwardIterator=std::string *,
                      _Allocator=std::allocator<std::string>]" at line 388 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/vector.tcc"
            instantiation of "void std::vector<_Tp,
                      _Alloc>::_M_fill_insert(std::vector<_Tp,
                      _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type,
                      const std::vector<_Tp, _Alloc>::value_type &) [with
                      _Tp=std::string, _Alloc=std::allocator<std::string>]" at
                      line 851 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_vector.h"
            instantiation of "void std::vector<_Tp,
                      _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator,
                      std::vector<_Tp, _Alloc>::size_type, const
                      std::vector<_Tp, _Alloc>::value_type &) [with
                      _Tp=std::string, _Alloc=std::allocator<std::string>]" at
                      line 557 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_vector.h"
            instantiation of "void std::vector<_Tp,
                      _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type,
                      std::vector<_Tp, _Alloc>::value_type) [with
                      _Tp=std::string, _Alloc=std::allocator<std::string>]" at
                      line 90 of
                      "/work/n0004/n000402/try/rokko/rokko/utility/timer.hpp"
            instantiation of "void
                      rokko::detail::timer_base<CLOCK>::registrate(size_t,
                      const std::string &, int) [with
                      CLOCK=rokko::detail::clock]" at line 277 of
                      "/work/n0004/n000402/try/rokko/rokko/utility/timer.hpp"

"/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/include/g++_HEADERS/hdrs1
          /bits/stl_construct.h", line 73: error: no instance of function
          template "std::forward" matches the argument list
            argument types are: (std::string)
        ::new(static_cast<void*>(__p)) _T1(std::forward<_T2>(__value));
                                           ^
          detected during:
            instantiation of "void std::_Construct(_T1 *, _T2 &&) [with
                      _T1=std::string, _T2=std::string]" at line 74 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_uninitialized.h"
            instantiation of "_ForwardIterator
                      std::__uninitialized_copy<<unnamed>>::uninitialized_copy(
                      _InputIterator, _InputIterator, _ForwardIterator) [with
                      <unnamed>=false,
                      _InputIterator=std::move_iterator<std::string *>,
                      _ForwardIterator=std::string *]" at line 116 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_uninitialized.h"
            instantiation of "_ForwardIterator
                      std::uninitialized_copy(_InputIterator, _InputIterator,
                      _ForwardIterator) [with
                      _InputIterator=std::move_iterator<std::string *>,
                      _ForwardIterator=std::string *]" at line 256 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_uninitialized.h"
            instantiation of "_ForwardIterator
                      std::__uninitialized_copy_a(_InputIterator,
                      _InputIterator, _ForwardIterator, std::allocator<_Tp> &)
                      [with _InputIterator=std::move_iterator<std::string *>,
                      _ForwardIterator=std::string *, _Tp=std::string]" at line
                      266 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_uninitialized.h"
            instantiation of "_ForwardIterator
                      std::__uninitialized_move_a(_InputIterator,
                      _InputIterator, _ForwardIterator, _Allocator &) [with
                      _InputIterator=std::string *,
                      _ForwardIterator=std::string *,
                      _Allocator=std::allocator<std::string>]" at line 388 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/vector.tcc"
            instantiation of "void std::vector<_Tp,
                      _Alloc>::_M_fill_insert(std::vector<_Tp,
                      _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type,
                      const std::vector<_Tp, _Alloc>::value_type &) [with
                      _Tp=std::string, _Alloc=std::allocator<std::string>]" at
                      line 851 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_vector.h"
            instantiation of "void std::vector<_Tp,
                      _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator,
                      std::vector<_Tp, _Alloc>::size_type, const
                      std::vector<_Tp, _Alloc>::value_type &) [with
                      _Tp=std::string, _Alloc=std::allocator<std::string>]" at
                      line 557 of
                      "/home/n0004/n000402/pdt/contrib/rose/rose-header-gen/inc
                      lude/g++_HEADERS/hdrs1/bits/stl_vector.h"
            instantiation of "void std::vector<_Tp,
                      _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type,
                      std::vector<_Tp, _Alloc>::value_type) [with
                      _Tp=std::string, _Alloc=std::allocator<std::string>]" at
                      line 90 of
                      "/work/n0004/n000402/try/rokko/rokko/utility/timer.hpp"
            instantiation of "void
                      rokko::detail::timer_base<CLOCK>::registrate(size_t,
                      const std::string &, int) [with
                      CLOCK=rokko::detail::clock]" at line 277 of
                      "/work/n0004/n000402/try/rokko/rokko/utility/timer.hpp"
t-sakashita commented 8 years ago

makiでも、pi@神戸大でも、同様のエラーとなる。

TAU用のコンパイララッパーを使わず、通常のmpiFCCpxなどを使うときは、エラーとならない。