Pallavi-Banerjee21 / votca

Automatically exported from code.google.com/p/votca
0 stars 0 forks source link

Csg does not build with gromacs 3.3 under Ubuntu #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I run the ./build.sh command and recieve several errors

2.michael@michael-laptop:~/Desktop/votca-csg-1.2/src$ ./build.sh 
This is VOTCA build.sh, version 1.6.1
prefix is '/home/michael/votca'
Using 3 jobs for make
Working on tools
Source dir (tools) is already there - skipping checkout
cmake -DCMAKE_INSTALL_PREFIX=/home/michael/votca  .
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/michael/Desktop/votca-csg-1.2/src/tools
buidling tools
[  9%] [  9%] Building CXX object CMakeFiles/csg_dump.dir/csg_dump.o
Building CXX object CMakeFiles/csg_density.dir/csg_density.o
[  9%] Building CXX object CMakeFiles/csg_fmatch.dir/csg_fmatch.o
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:19:38: error: 
votca/csg/csgapplication.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:23:42: error: 
boost/numeric/ublas/vector.hpp: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:24:49: error: 
boost/numeric/ublas/matrix_sparse.hpp: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:25:42: error: 
boost/numeric/ublas/matrix.hpp: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:26:37: error: 
votca/tools/cubicspline.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:27:34: error: 
votca/csg/nblistgrid.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:28:32: error: 
votca/csg/beadlist.h: No such file or directory
In file included from 
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:29:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:21:34: error: 
votca/tools/property.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:26:38: error: 
votca/csg/csgapplication.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:27:40: error: 
votca/csg/trajectoryreader.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:30:31: error: 
votca/tools/table.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:31:32: error: 
votca/tools/linalg.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:22: error: 
‘votca’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:22: error: ‘csg’ 
is not a namespace-name
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:22: error: expected 
namespace-name before ‘;’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:26: error: expected 
class-name before ‘{’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:27: error: 
‘string’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:28: error: 
‘ostream’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:36: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:36: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc: In member function 
‘void CsgDumpApp::HelpText(int&)’:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:29: error: invalid 
operands of types ‘int’ and ‘const char [76]’ to binary ‘operator<<’
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc: In member function 
‘void CsgDumpApp::Initialize()’:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:31: error: 
‘CsgApplication’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:32: error: 
‘AddProgramOptions’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc: In function ‘int 
main(int, char**)’:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:46: error: ‘class 
CsgDumpApp’ has no member named ‘Exec’
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc: At global scope:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:49: error: ‘bool 
CsgDumpApp::EvaluateTopology’ is not a static member of ‘class CsgDumpApp’
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:49: error: 
‘Topology’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:49: error: ‘top’ 
was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:49: error: 
‘Topology’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:49: error: 
‘top_ref’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:49: error: 
initializer expression list treated as compound expression
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_dump.cc:50: error: expected 
‘,’ or ‘;’ before ‘{’ token
make[2]: *** [CMakeFiles/csg_dump.dir/csg_dump.o] Error 1
make[1]: *** [CMakeFiles/csg_dump.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:19:38: error: 
votca/tools/histogramnew.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:20:35: error: 
votca/tools/tokenizer.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:21:38: error: 
votca/csg/csgapplication.h: No such file or directory
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:24: error: 
‘votca’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:24: error: 
‘csg’ is not a namespace-name
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:24: error: 
expected namespace-name before ‘;’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:25: error: 
‘votca’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:25: error: 
‘tools’ is not a namespace-name
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:25: error: 
expected namespace-name before ‘;’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:30: error: 
expected class-name before ‘{’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:31: error: 
‘string’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:32: error: 
‘ostream’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:46: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:46: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:47: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:47: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:57: error: 
‘string’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:58: error: 
‘HistogramNew’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:63: error: 
‘vec’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:64: error: 
‘vec’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:65: error: 
‘string’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:66: error: 
‘string’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc: In member 
function ‘void CsgDensityApp::HelpText(int&)’:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:33: error: invalid 
operands of types ‘int’ and ‘const char [105]’ to binary 
‘operator<<’
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc: In member 
function ‘bool CsgDensityApp::EvaluateOptions()’:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:50: error: 
‘CsgApplication’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:51: error: 
‘CheckRequired’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc: In function 
‘int main(int, char**)’:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:73: error: 
‘class CsgDensityApp’ has no member named ‘Exec’
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc: At global scope:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:76: error: 
variable or field ‘BeginEvaluate’ declared void
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:76: error: 
‘Topology’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:76: error: 
‘top’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:76: error: 
‘Topology’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_density.cc:76: error: 
‘top_atom’ was not declared in this scope
make[2]: *** [CMakeFiles/csg_density.dir/csg_density.o] Error 1
make[1]: *** [CMakeFiles/csg_density.dir/all] Error 2
In file included from 
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:29:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:29: error: 
‘votca’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:29: error: ‘csg’ 
is not a namespace-name
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:29: error: expected 
namespace-name before ‘;’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:45: error: expected 
class-name before ‘{’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:60: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:60: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:64: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:64: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:72: error: 
‘Property’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:84: error: 
‘CubicSpline’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:93: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:93: error: ISO C++ 
forbids declaration of ‘vector’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:93: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:95: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:95: error: ISO C++ 
forbids declaration of ‘vector’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:95: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:97: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:97: error: ISO C++ 
forbids declaration of ‘vector’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:97: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:99: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:99: error: ISO C++ 
forbids declaration of ‘vector’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:99: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:101: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:101: error: ISO C++ 
forbids declaration of ‘vector’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:101: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:103: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:103: error: ISO C++ 
forbids declaration of ‘vector’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:103: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:111: error: ISO C++ 
forbids declaration of ‘Property’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:111: error: expected 
‘;’ before ‘*’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:114: error: 
‘Property’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:116: error: ISO C++ 
forbids declaration of ‘list’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:116: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:118: error: ISO C++ 
forbids declaration of ‘list’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:118: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:120: error: ISO C++ 
forbids declaration of ‘vector’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:120: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:122: error: 
‘SplineContainer’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:125: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:125: error: ISO C++ 
forbids declaration of ‘matrix’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:125: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:127: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:127: error: ISO C++ 
forbids declaration of ‘vector’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:127: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:129: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:129: error: ISO C++ 
forbids declaration of ‘vector’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:129: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:132: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:132: error: ISO C++ 
forbids declaration of ‘matrix’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:132: error: expected 
‘;’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:157: error: ‘ub’ 
has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:157: error: expected 
‘,’ or ‘...’ before ‘<’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:159: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:161: error: 
‘Topology’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:167: error: 
‘Topology’ does not name a type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:168: error: ISO C++ 
forbids declaration of ‘TrajectoryReader’ with no type
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.h:168: error: expected 
‘;’ before ‘*’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc: In function ‘int 
main(int, char**)’:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:36: error: ‘class 
CGForceMatching’ has no member named ‘Exec’
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc: In member function 
‘void CGForceMatching::Initialize()’:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:42: error: 
‘CsgApplication’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:43: error: 
‘AddProgramOptions’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:44: error: 
‘boost’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:44: error: expected 
primary-expression before ‘>’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:44: error: expected 
primary-expression before ‘)’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:45: error: 
‘boost’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:45: error: expected 
primary-expression before ‘>’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:45: error: expected 
primary-expression before ‘)’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc: In member function 
‘bool CGForceMatching::EvaluateOptions()’:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:50: error: 
‘CsgApplication’ has not been declared
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:51: error: 
‘CheckRequired’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:53: error: 
‘OptionsMap’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:53: error: expected 
primary-expression before ‘>’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:53: error: expected 
primary-expression before ‘)’ token
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc: At global scope:
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:61: error: variable 
or field ‘BeginEvaluate’ declared void
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:61: error: 
‘Topology’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:61: error: 
‘top’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:61: error: 
‘Topology’ was not declared in this scope
/home/michael/Desktop/votca-csg-1.2/src/tools/csg_fmatch.cc:61: error: 
‘top_atom’ was not declared in this scope
make[2]: *** [CMakeFiles/csg_fmatch.dir/csg_fmatch.o] Error 1
make[1]: *** [CMakeFiles/csg_fmatch.dir/all] Error 2
make: *** [all] Error 2
michael@michael-laptop:~/Desktop/votca-csg-1.2/src$ 

3. I receive the same errors when I use the "./build.sh --prefix ${prefix} 
tools csg" line

Please provide any additional information below.

I have installed all of the dependencies.

Original issue reported on code.google.com by manningm...@gmail.com on 5 Jul 2011 at 2:50

GoogleCodeExporter commented 9 years ago
You are running build.sh inside the source directory of votca-csg-1.2/src, that 
is not how it should be done. Try:

mkdir XXX
cd XXX
wget http://votca.googlecode.com/hg/build.sh
chmod +x build.sh
./build.sh --prefix YYY tools csg

XXX is the directory, where you want to store the sources
YYY is the directory, where you want to install votca

Original comment by christop...@gmail.com on 5 Jul 2011 at 3:03

GoogleCodeExporter commented 9 years ago
 I have the folder stored on my desktop and I have tried to install votca in that folder as well as a different folder which i have created. Both times, I receive the error. The line that I have been using is listed below:

prefix=/home/michael/Desktop/votca-csg-1.2
mkdir -p ${prefix}/src
cd ${prefix}/src
wget http://votca.googlecode.com/hg/build.sh
chmod +x build.sh

Thank You for your help,
Michael
./build.sh --prefix ${prefix} tools csg

Original comment by manningm...@gmail.com on 5 Jul 2011 at 3:53

GoogleCodeExporter commented 9 years ago
I had another look at your error message from above, I guess you downloaded the 
votca-csg tarball yourself, which confuses the build script. Actually the build 
script is doing the download automatically. So just remove everything in except 
build.sh in ${prefix}/src and try again.

If you experience any further problems just keep on posting here!

Original comment by christop...@gmail.com on 5 Jul 2011 at 4:12

GoogleCodeExporter commented 9 years ago
my first command was "prefix=/home/michael/desktop/votca"
which is where I want the program to install.

then I ran the line you suggested

michael@michael-laptop:~/Desktop$ ./build.sh --prefix ${prefix} tools csg
This is VOTCA build.sh, version 1.6.1
prefix is '/home/michael/Desktop/Votca/src/'
Using 3 jobs for make
Working on tools
Doing checkout for tools from https://tools.votca.googlecode.com/hg/
(CTRL-C to stop) 5 4 3 2 1 
./build.sh: line 499: hg: command not found
michael@michael-laptop:~/Desktop$ 

thanks-
michael

Original comment by manningm...@gmail.com on 5 Jul 2011 at 5:04

GoogleCodeExporter commented 9 years ago
hg is the executable of mercurial package.

Either install mercurial or add the '--latest' option to the build.sh 
commandline to make build.sh download the tarballs for you.

I usually prefer mercurial, as it makes it easier to update later on.

Original comment by christop...@gmail.com on 5 Jul 2011 at 5:11

GoogleCodeExporter commented 9 years ago
I installed Boost, but the installer couldnt find it so I used the internal 
version... but now I am getting this message...
(I only included the part with the errors)

-- Looking for gsl_linalg_QR_decomp in 
/usr/local/lib/libgsl.so;/usr/local/lib/libgslcblas.so
-- Looking for gsl_linalg_QR_decomp in 
/usr/local/lib/libgsl.so;/usr/local/lib/libgslcblas.so - found
-- checking for module 'sqlite3'
--   package 'sqlite3' not found
-- Could NOT find SQLITE3  (missing:  SQLITE3_LIBRARY SQLITE3_INCLUDE_DIR)
CMake Error at src/libtools/CMakeLists.txt:46 (message):
  SQLITE3 not found, make sure you have also installed the sqlite3 and it's
  dev package, at this point sqlite3 is only needed for charge transport
  parts of VOTCA, so you can just switch it off using -DWITH_SQLITE3=OFF in
  case you do not need it.

Original comment by manningm...@gmail.com on 5 Jul 2011 at 6:53

GoogleCodeExporter commented 9 years ago
Do have an error message for the boost problem (cmake error.log)?

Do you want to study charge transport? 

Otherwise just add -DWITH_SQLITE3=OFF to the build.sh commmandline.

Original comment by christop...@gmail.com on 5 Jul 2011 at 7:08

GoogleCodeExporter commented 9 years ago
Thank You, now do I have to have GMX 5.0 to use VOTCA or can I use my current 
version and use the -DWITH_GMX=OFF tag while installing?

Original comment by manningm...@gmail.com on 5 Jul 2011 at 7:20

GoogleCodeExporter commented 9 years ago
No, gromacs 4.5 or even 4.0 is enough and Ubunutu has it as a package.
Depending on what you want to simulate, but I do not recommend disabling 
gromacs.

Original comment by christop...@gmail.com on 5 Jul 2011 at 9:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Can you please post the exact error message? 

There was a problem due to a wrong define in the gromacs headers, which 
appeared on Ubuntu, but was fixed 2 years ago:
<http://repo.or.cz/w/gromacs.git/commit/8afd6f89545357acf68a2ea9a1b78d836c249066
>

Which version of gromacs is installed on your machine?

Original comment by christop...@gmail.com on 6 Jul 2011 at 8:46

GoogleCodeExporter commented 9 years ago
-- Looking for sqrt in m - found
-- checking for module 'libgmx_d'
--   package 'libgmx_d' not found
-- Could NOT find GMX_D  (missing:  GMX_D_LIBRARY GMX_D_INCLUDE_DIR)
CMake Warning at src/libcsg/CMakeLists.txt:41 (message):
   gromacs-4.5 double precision not found failback to single precision

-- checking for module 'libgmx'
--   package 'libgmx' not found
-- Could NOT find GMX  (missing:  GMX_LIBRARY GMX_INCLUDE_DIR)
CMake Error at src/libcsg/CMakeLists.txt:44 (message):
  gromacs-4.5 (single or double) not found, make sure you have also installed
  the gromacs-5.0 and it's dev package or disable it with -DWITH_GMX=OFF.  If
  you have gromacs-5.0 installed enable to build against it with
  -DWITH_GMX_DEVEL=ON

-- Configuring incomplete, errors occurred!

I am running the modified version of 3.3.1 for Martini.

Original comment by manningm...@gmail.com on 7 Jul 2011 at 4:04

GoogleCodeExporter commented 9 years ago
gromacs-3 is not supported.

You can try if it builds anyhow by setting GMX_LIBRARY and GMX_INCLUDE_DIR, e.g.
-DGMX_LIBRARY=/path/to/libgmx.a -DGMX_INCLUDE_DIR=/path/to/include/gromacs

You can also build csg against gromacs 4.5 to have support for trr and xtc 
files, but use your modified version for Boltzmann inversion.

Original comment by christop...@gmail.com on 7 Jul 2011 at 5:04

GoogleCodeExporter commented 9 years ago
I have updated our dependency wiki page accordingly, actually starting with 
version 1.2 we do not even support gromacs 4.0 officially anymore, but with 
some tweaking it should build.

Did you get it working with gromacs 3.3? Maybe you have to add '-DGMX=40'.

Original comment by christop...@gmail.com on 17 Jul 2011 at 1:11