Dear Christoph

I got the same error even with -DCMAKE_DISABLE_FIND_PACKAGE_MKL=ON, and 
same in gcc compiler.
GSL was chosen instead of MKL during the compile.

Takahiro

2017年10月27日金曜日 1時52分38秒 UTC+9 Christoph Junghans:

> 2017-10-26 4:02 GMT-06:00 Takahiro Ohkuma <[email protected] 
> <javascript:>>: 
> > Dear Christoph 
> > 
> > I put folders of "tools" and "csg" in a directory with build.sh and 
> tried to 
> > compile them with the --selfdownload option. 
> > However, an error occurred in compiling the linalg.cc file. 
> > The error is the following: 
> > /home/ohkuma/cc/tools/votca/tools/src/libtools/linalg.cc(193): error: no 
> > suitable user-defined conversion from "const 
> > boost::numeric::ublas::unbounded_array<double, std::allocator<double>>" 
> to 
> > "const boost::numeric::ublas::vector<double, 
> > boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>" 
> > exists 
> >          const ub::vector<double>& Aarray=A.data(); 
> >                                           ^ 
> > /home/ohkuma/cc/tools/votca/tools/src/libtools/linalg.cc(194): error: no 
> > suitable user-defined conversion from "const 
> > boost::numeric::ublas::unbounded_array<double, std::allocator<double>>" 
> to 
> > "const boost::numeric::ublas::vector<double, 
> > boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>" 
> > exists 
> >          const ub::vector<double>& Barray=B.data(); 
> > 
> > 
> > Intel compiler was used. But, I confirmed errors in the same lines of 
> > linalg.cc in case of gcc compiler. 
> > The log file is attached. 
> Can you try to compile without mkl, i.e. with 
> -DCMAKE_DISABLE_FIND_PACKAGE_MKL=ON? 
>
> Christoph 
> > 
> > Thank you for your considerations. 
> > Takahiro 
> > 
> > 
> > 
> > 2017年10月11日水曜日 0時24分16秒 UTC+9 Christoph Junghans: 
> >> 
> >> 2017-10-10 8:54 GMT-06:00 Takahiro Ohkuma <[email protected]>: 
> >> > I need to install VOTCA on a computer (RedHat) which is not 
> connecting 
> >> > to 
> >> > the internet. Could anyone tell me a way to manually install the 
> >> > packages? 
> >> > Thank you very much for your advice in advance. 
> >> build.sh has the "--selfdownload" option, just put all the tarball, 
> >> e.g. votca-tools-1.4.1.tar.gz, votca-csg-1.4.1.tar.gz, in same 
> >> directory and run build.sh. 
> >> 
> >> Otherwise here are some hints on manual install: 
> >> <https://github.com/votca/csg/wiki/Installing#manual-install> 
> >> 
> >> Christoph 
> >> > 
> >> > Takahiro 
> >> > 
> >> > -- 
> >> > You received this message because you are subscribed to the Google 
> >> > Groups 
> >> > "votca" group. 
> >> > To unsubscribe from this group and stop receiving emails from it, 
> send 
> >> > an 
> >> > email to [email protected]. 
> >> > To post to this group, send email to [email protected]. 
> >> > Visit this group at https://groups.google.com/group/votca. 
> >> > For more options, visit https://groups.google.com/d/optout. 
> >> 
> >> 
> >> 
> >> -- 
> >> Christoph Junghans 
> >> Web: http://www.compphys.de 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "votca" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/votca. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Christoph Junghans 
> Web: http://www.compphys.de 
>

-- 
You received this message because you are subscribed to the Google Groups 
"votca" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/votca.
For more options, visit https://groups.google.com/d/optout.
Log of '/home/ohkuma/cc/tools/votca/./build.sh --selfdownload 
--prefix=/home/ohkuma/cc/tools/votca -DCMAKE_DISABLE_FIND_PACKAGE_MKL=ON 
-DWITH_SQLITE3=off tools csg --log log'
get_webversion: Could not fetch new version number
get_webversion: Could not fetch new version number
This is VOTCA build.sh, version 2.1.6
Install prefix is '/home/ohkuma/cc/tools/votca'
Using 17 jobs for make/ninja
Working on tools
Source dir (tools) is already there - skipping checkout
cmake -DCMAKE_INSTALL_PREFIX='/home/ohkuma/cc/tools/votca' 
-DCMAKE_DISABLE_FIND_PACKAGE_MKL=ON -DWITH_SQLITE3=off 
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON /home/ohkuma/cc/tools/votca/tools
-- The C compiler identification is Intel 14.0.0.20130728
-- The CXX compiler identification is Intel 14.0.0.20130728
-- Check for working C compiler: 
/app/intel/icsxe_2013-R1/composer_xe_2013_sp1.0.080/bin/intel64/icc
-- Check for working C compiler: 
/app/intel/icsxe_2013-R1/composer_xe_2013_sp1.0.080/bin/intel64/icc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: 
/app/intel/icsxe_2013-R1/composer_xe_2013_sp1.0.080/bin/intel64/icpc
-- Check for working CXX compiler: 
/app/intel/icsxe_2013-R1/composer_xe_2013_sp1.0.080/bin/intel64/icpc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.41.0
-- Found the following Boost libraries:
--   program_options
--   filesystem
--   system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.23") 
-- Found GSL: /usr/include (found version "1.13") 
-- GSL found, overloading uBLAS prod()
-- Checking for module 'fftw3'
--   No package 'fftw3' found
-- Found FFTW3: /usr/lib64/libfftw3.so  
-- Looking for fftw_plan_r2r_1d in /usr/lib64/libfftw3.so;
-- Looking for fftw_plan_r2r_1d in /usr/lib64/libfftw3.so; - found
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for math.h
-- Looking for math.h - found
-- Looking for stdio.h
-- Looking for stdio.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for C++ include cmath
-- Looking for C++ include cmath - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include functional
-- Looking for C++ include functional - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include limits
-- Looking for C++ include limits - found
-- Looking for C++ include list
-- Looking for C++ include list - found
-- Looking for C++ include map
-- Looking for C++ include map - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include stack
-- Looking for C++ include stack - found
-- Looking for C++ include stdexcept
-- Looking for C++ include stdexcept - found
-- Looking for C++ include string
-- Looking for C++ include string - found
-- Looking for C++ include vector
-- Looking for C++ include vector - found
-- Looking for sqrt in m
-- Looking for sqrt in m - found
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.0.1") 
-- Performing Test HAVE_AIX
-- Performing Test HAVE_AIX - Failed
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ohkuma/cc/tools/votca/tools/build
cleaning tools
buidling tools
[  0%] Built target votca_tools_manpages
[  0%] Built target gitversion
Scanning dependencies of target votca_tools
[  2%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/akimaspline.cc.o
[  5%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/colors.cc.o
[  8%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/application.cc.o
[ 11%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/correlate.cc.o
[ 14%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/crosscorrelate.cc.o
[ 17%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/datacollection.cc.o
[ 20%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/cubicspline.cc.o
[ 22%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/histogram.cc.o
[ 28%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/globals.cc.o
[ 28%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/histogramnew.cc.o
[ 37%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/linspline.cc.o
[ 37%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/matrix.cc.o
[ 37%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/linalg.cc.o
[ 42%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/mutex.cc.o
[ 42%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/parcer.cc.o
[ 45%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/parsexml.cc.o
[ 48%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/property.cc.o
[ 51%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/propertyiomanipulator.cc.o
[ 54%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/random.cc.o
[ 57%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/random2.cc.o
[ 60%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/rangeparser.cc.o
[ 62%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/spline.cc.o
[ 65%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/table.cc.o
[ 68%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/thread.cc.o
[ 71%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/tokenizer.cc.o
[ 74%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/version.cc.o
/home/ohkuma/cc/tools/votca/tools/src/libtools/linalg.cc(193): error: no 
suitable user-defined conversion from "const 
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>" to 
"const boost::numeric::ublas::vector<double, 
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>" exists
         const ub::vector<double>& Aarray=A.data();
                                          ^

/home/ohkuma/cc/tools/votca/tools/src/libtools/linalg.cc(194): error: no 
suitable user-defined conversion from "const 
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>" to 
"const boost::numeric::ublas::vector<double, 
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>" exists
         const ub::vector<double>& Barray=B.data();
                                          ^

[ 77%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/linalg/gsl/cholesky.cc.o
compilation aborted for 
/home/ohkuma/cc/tools/votca/tools/src/libtools/linalg.cc (code 2)
make[2]: *** [src/libtools/CMakeFiles/votca_tools.dir/linalg.cc.o] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 80%] Building CXX object 
src/libtools/CMakeFiles/votca_tools.dir/linalg/gsl/eigensystems.cc.o
make[1]: *** [src/libtools/CMakeFiles/votca_tools.dir/all] Error 2
make: *** [all] Error 2

Reply via email to