[votca] Re: Installing Votca in linux

2011-12-17 Thread rp
I installed all dependencies and ,get an error as below .Can you tell
me where am I going wrong.

checking for module 'fftw3'
--   found fftw3, version 3.3
-- Found FFTW3: /usr/local/lib/libfftw3.a
-- Looking for fftw_plan_r2r_1d in /usr/local/lib/libfftw3.a
-- Looking for fftw_plan_r2r_1d in /usr/local/lib/libfftw3.a - not
found
CMake Error at CMakeModules/FindFFTW3.cmake:43 (message):
  Could not find fftw_plan_r2r_1d in /usr/local/lib/libfftw3.a, take a
look
  at the error message in /home/rp/src/tools/CMakeFiles/CMakeError.log
to
  find out what was going wrong.  If you don't have pkg-config
installed you
  will most likely have to set FFTW3_LIBRARY by hand (i.e.
  -DFFTW3_LIBRARY='/path/to/libfftw3.so') !
Call Stack (most recent call first):
  src/libtools/CMakeLists.txt:11 (find_package)


-- Configuring incomplete, errors occurred!

Thanks, I appreciate

On Dec 16, 11:24 am, Christoph Junghans jungh...@votca.org wrote:
 Please read:
 http://code.google.com/p/votca/wiki/Installing#From_Source

 As described there, you need to add:
 -DEXTERNAL_BOOST=OFF to the commandline of build.sh, e.g.

 ./build.sh -DEXTERNAL_BOOST=OFF  tools csg

 Alternatively, you could install boost and its dev package, see:
 http://code.google.com/p/votca/wiki/Dependencies

 Christoph

 Am 15. Dezember 2011 23:25 schrieb rp rakheep...@gmail.com:









  Following my previous message I reinstalled cmake and tried the steps
  again to configure votca, this provides me with a different error as
  below
  Looking for sqrt in m - found-- Could NOT find BoostCMake Error at src/
  CMakeLists.txt:5 (message):  Boost not found, make sure you have also
  installed boost and it's dev  package or use our internal replacement
  set -DEXTERNAL_BOOST=OFF

  -- Configuring incomplete, errors occurred!
  Can someone tell me how can I turn DEEXTERNAL_BOOST=OFF
  Thanks

  On Dec 15, 10:35 pm, rp rakheep...@gmail.com wrote:
  This is what I get after the command line

  + shift
  + [[ -prefix = -* ]]
  + [[ -prefix = --*=* ]]
  + [[ -prefix = -[^-]?* ]]
  + [[ -prefix = -[jpD]* ]]
  + set -- -p refix --latest tools csg
  + case $1 in
  + prefix=refix
  + shift 2
  + [[ --latest = -* ]]
  + [[ --latest = --*=* ]]
  + [[ --latest = -[^-]?* ]]
  + case $1 in
  + rel=1.2.1
  + shift
  + [[ tools = -* ]]
  + version_check -q
  ++ get_version ./build.sh
  ++ sed -ne 's/^#version[[:space:]]*\([^[:space:]]*\)[[:space:]]*-- .*$/
  \1/p' ./build.sh
  ++ sed -n '$p'
  + old_version=1.7.8
  + '[' -q = -q ']'
  ++ get_webversion -q
  ++ local version
  ++ '[' -q = -q ']'
  +++ wget -qO-http://votca.googlecode.com/hg/build.sh
  +++ get_version
  +++ sed -ne 's/^#version[[:space:]]*\([^[:space:]]*\)[[:space:]]*-- .*
  $/\1/p'
  +++ sed -n '$p'
  ++ version=1.7.8
  ++ echo 1.7.8
  + new_version=1.7.8
  + '[' -q = -q ']'
  + '[' -q = -q ']'
  + expr 1.7.8 '' 1.7.8
  + return 1
  + [[ -z tools ]]
  + [[ -z refix ]]
  + [[ refix = *WHERE/TO/INSTALL/VOTCA* ]]
  + [[ refix = /* ]]
  + die 'prefix has to be a global path (should start with a '\''/'\'')'
  + [[ -n prefix has to be a global path (should start with a '/') ]]
  + cecho RED 'prefix has to be a global path (should start with a
  '\''/'\'')'
  + local opts color 'colors=BLUE CYAN CYANN GREEN RED PURP'
  + [[ RED = -?* ]]
  + [[ -z prefix has to be a global path (should start with a '/') ]]
  + is_in RED 'BLUE CYAN CYANN GREEN RED PURP'
  + [[ -z RED ]]
  + [[ -z BLUE CYAN CYANN GREEN RED PURP ]]
  + [[  BLUE CYAN CYANN GREEN RED PURP  = *\ \R\E\D\ * ]]
  + color=''
  + shift
  + echo -n ''
  + echo -ne 'prefix has to be a global path (should start with a
  '\''/'\'')'
  prefix has to be a global path (should start with a '/')+ echo ''

  + exit 1

  Thanks for your time. I appreciate

  On Dec 15, 10:00 pm, Christoph Junghans jungh...@votca.org wrote:

   Just run:
   $ ./build.sh --debug -prefix ${prefix} --latest tools csg

   Am 15. Dezember 2011 19:46 schrieb rp rakheep...@gmail.com:

This is cmake 2.8.6 and I am installing votca in Ubuntu11.10. After
installing cmake there is no error .

Where should I add the debug option , please explain

I am installing votca-csg-1.2.1 . I want to make this clarification ,
I was using REDhat linux previously , now I am trying to do this in
Ubuntu .I read the Votca installation page and this says Ubuntu is
still in development . I am sorry if my question is not clear.
I appreciate your help
Thanks
On Dec 15, 7:50 pm, Christoph Junghans jungh...@votca.org wrote:
Hi rp,

which version of cmake is it?
$cmake --version

Please add the '--debug' option and attach the output.

Cheers,

Christoph

Am 15. Dezember 2011 11:42 schrieb rp rakheep...@gmail.com:

 Dear Users,I get the following error while installing cmake not
 found , below are some lines. Then I installed cmake and tried 
 again
 so this send me the error as prefix shoudl start with / as this is
 global path . I 

Re: [votca] Re: Installing Votca in linux

2011-12-17 Thread Christoph Junghans
Can you please post /home/rp/src/tools/CMakeFiles/CMakeError.log?



Am 17. Dezember 2011 13:22 schrieb rp rakheep...@gmail.com:
 I installed all dependencies and ,get an error as below .Can you tell
 me where am I going wrong.

 checking for module 'fftw3'
 --   found fftw3, version 3.3
 -- Found FFTW3: /usr/local/lib/libfftw3.a
 -- Looking for fftw_plan_r2r_1d in /usr/local/lib/libfftw3.a
 -- Looking for fftw_plan_r2r_1d in /usr/local/lib/libfftw3.a - not
 found
 CMake Error at CMakeModules/FindFFTW3.cmake:43 (message):
  Could not find fftw_plan_r2r_1d in /usr/local/lib/libfftw3.a, take a
 look
  at the error message in /home/rp/src/tools/CMakeFiles/CMakeError.log
 to
  find out what was going wrong.  If you don't have pkg-config
 installed you
  will most likely have to set FFTW3_LIBRARY by hand (i.e.
  -DFFTW3_LIBRARY='/path/to/libfftw3.so') !
 Call Stack (most recent call first):
  src/libtools/CMakeLists.txt:11 (find_package)


 -- Configuring incomplete, errors occurred!

 Thanks, I appreciate

 On Dec 16, 11:24 am, Christoph Junghans jungh...@votca.org wrote:
 Please read:
 http://code.google.com/p/votca/wiki/Installing#From_Source

 As described there, you need to add:
 -DEXTERNAL_BOOST=OFF to the commandline of build.sh, e.g.

 ./build.sh -DEXTERNAL_BOOST=OFF  tools csg

 Alternatively, you could install boost and its dev package, see:
 http://code.google.com/p/votca/wiki/Dependencies

 Christoph

 Am 15. Dezember 2011 23:25 schrieb rp rakheep...@gmail.com:









  Following my previous message I reinstalled cmake and tried the steps
  again to configure votca, this provides me with a different error as
  below
  Looking for sqrt in m - found-- Could NOT find BoostCMake Error at src/
  CMakeLists.txt:5 (message):  Boost not found, make sure you have also
  installed boost and it's dev  package or use our internal replacement
  set -DEXTERNAL_BOOST=OFF

  -- Configuring incomplete, errors occurred!
  Can someone tell me how can I turn DEEXTERNAL_BOOST=OFF
  Thanks

  On Dec 15, 10:35 pm, rp rakheep...@gmail.com wrote:
  This is what I get after the command line

  + shift
  + [[ -prefix = -* ]]
  + [[ -prefix = --*=* ]]
  + [[ -prefix = -[^-]?* ]]
  + [[ -prefix = -[jpD]* ]]
  + set -- -p refix --latest tools csg
  + case $1 in
  + prefix=refix
  + shift 2
  + [[ --latest = -* ]]
  + [[ --latest = --*=* ]]
  + [[ --latest = -[^-]?* ]]
  + case $1 in
  + rel=1.2.1
  + shift
  + [[ tools = -* ]]
  + version_check -q
  ++ get_version ./build.sh
  ++ sed -ne 's/^#version[[:space:]]*\([^[:space:]]*\)[[:space:]]*-- .*$/
  \1/p' ./build.sh
  ++ sed -n '$p'
  + old_version=1.7.8
  + '[' -q = -q ']'
  ++ get_webversion -q
  ++ local version
  ++ '[' -q = -q ']'
  +++ wget -qO-http://votca.googlecode.com/hg/build.sh
  +++ get_version
  +++ sed -ne 's/^#version[[:space:]]*\([^[:space:]]*\)[[:space:]]*-- .*
  $/\1/p'
  +++ sed -n '$p'
  ++ version=1.7.8
  ++ echo 1.7.8
  + new_version=1.7.8
  + '[' -q = -q ']'
  + '[' -q = -q ']'
  + expr 1.7.8 '' 1.7.8
  + return 1
  + [[ -z tools ]]
  + [[ -z refix ]]
  + [[ refix = *WHERE/TO/INSTALL/VOTCA* ]]
  + [[ refix = /* ]]
  + die 'prefix has to be a global path (should start with a '\''/'\'')'
  + [[ -n prefix has to be a global path (should start with a '/') ]]
  + cecho RED 'prefix has to be a global path (should start with a
  '\''/'\'')'
  + local opts color 'colors=BLUE CYAN CYANN GREEN RED PURP'
  + [[ RED = -?* ]]
  + [[ -z prefix has to be a global path (should start with a '/') ]]
  + is_in RED 'BLUE CYAN CYANN GREEN RED PURP'
  + [[ -z RED ]]
  + [[ -z BLUE CYAN CYANN GREEN RED PURP ]]
  + [[  BLUE CYAN CYANN GREEN RED PURP  = *\ \R\E\D\ * ]]
  + color=''
  + shift
  + echo -n ''
  + echo -ne 'prefix has to be a global path (should start with a
  '\''/'\'')'
  prefix has to be a global path (should start with a '/')+ echo ''

  + exit 1

  Thanks for your time. I appreciate

  On Dec 15, 10:00 pm, Christoph Junghans jungh...@votca.org wrote:

   Just run:
   $ ./build.sh --debug -prefix ${prefix} --latest tools csg

   Am 15. Dezember 2011 19:46 schrieb rp rakheep...@gmail.com:

This is cmake 2.8.6 and I am installing votca in Ubuntu11.10. After
installing cmake there is no error .

Where should I add the debug option , please explain

I am installing votca-csg-1.2.1 . I want to make this clarification ,
I was using REDhat linux previously , now I am trying to do this in
Ubuntu .I read the Votca installation page and this says Ubuntu is
still in development . I am sorry if my question is not clear.
I appreciate your help
Thanks
On Dec 15, 7:50 pm, Christoph Junghans jungh...@votca.org wrote:
Hi rp,

which version of cmake is it?
$cmake --version

Please add the '--debug' option and attach the output.

Cheers,

Christoph

Am 15. Dezember 2011 11:42 schrieb rp rakheep...@gmail.com:

 Dear Users,I get the following error while installing cmake not
 found , below are some 

[votca] Re: Installing Votca in linux

2011-12-17 Thread rp
Below is the CMakeError.log file , as mentioned using -DWITH_FFTW=NO
will lead to reduced functionality , will this option disable certain
tools.Again if I try
-DFFTW3_LIBRARY='/path/to/libfftw3.so' with ./build.sh , do I need to
replace /path/to with the place where fftw library files are
installed.

Determining if the function pthread_create exists in the pthreads
failed with the following output:
Change Dir: /home/rp/src/tools/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make cmTryCompileExec/fast
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/
cmTryCompileExec.dir/build
make[1]: Entering directory `/home/rp/src/tools/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report /home/rp/src/tools/
CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/
CheckFunctionExists.c.o
/usr/bin/gcc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/
cmTryCompileExec.dir/CheckFunctionExists.c.o   -c /usr/local/share/
cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/
cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_createCMakeFiles/
cmTryCompileExec.dir/CheckFunctionExists.c.o  -o cmTryCompileExec -
rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
make[1]: Leaving directory `/home/rakhee/src/tools/CMakeFiles/
CMakeTmp'
make[1]: *** [cmTryCompileExec] Error 1
make: *** [cmTryCompileExec/fast] Error 2


Determining if the function pthread_create exists in the pthreads
failed with the following output:
Change Dir: /home/rakhee/src/tools/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make cmTryCompileExec/fast
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/
cmTryCompileExec.dir/build
make[1]: Entering directory `/home/rp/src/tools/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report /home/rakhee/src/tools/
CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/
CheckFunctionExists.c.o
/usr/bin/gcc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/
cmTryCompileExec.dir/CheckFunctionExists.c.o   -c /usr/local/share/
cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/
cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_createCMakeFiles/
cmTryCompileExec.dir/CheckFunctionExists.c.o  -o cmTryCompileExec -
rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
make[1]: *** [cmTryCompileExec] Error 1
make[1]: Leaving directory `/home/rp/src/tools/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Error 2


Determining if the function pthread_create exists in the pthreads
failed with the following output:
Change Dir: /home/rp/src/tools/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make cmTryCompileExec/fast
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/
cmTryCompileExec.dir/build
make[1]: Entering directory `/home/rp/src/tools/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report /home/rakhee/src/tools/
CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/
CheckFunctionExists.c.o
/usr/bin/gcc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/
cmTryCompileExec.dir/CheckFunctionExists.c.o   -c /usr/local/share/
cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/
cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_createCMakeFiles/
cmTryCompileExec.dir/CheckFunctionExists.c.o  -o cmTryCompileExec -
rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
make[1]: *** [cmTryCompileExec] Error 1
make[1]: Leaving directory `/home/rp/src/tools/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Error 2


Determining if the function pthread_create exists in the pthreads
failed with the following output:
Change Dir: /home/rakhee/src/tools/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make cmTryCompileExec/fast
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/
cmTryCompileExec.dir/build
make[1]: Entering directory `/home/rp/src/tools/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report /home/rakhee/src/tools/
CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/
CheckFunctionExists.c.o
/usr/bin/gcc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/
cmTryCompileExec.dir/CheckFunctionExists.c.o   -c /usr/local/share/
cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/
cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_createCMakeFiles/