2017-10-02 4:08 GMT-06:00 Sudeep Maheshwari <
sudeep....@gmail.com>:
> I found the web page showing the commands to force search locations, i am
> able to include commands for the location of SQLITE but the GROMACS is
> installed as a module which works when i load it using "module load gromacs"
> on the cluster.
> Also after even after specifying the locations for the directory of sqlite,
> the program is not able to detect it and shuts out with the error of No
> package sqlite3 found.
>
> Could you please suggest me some solution of both of these problems
> I am using the command ./build.sh --prefix ~/votca --dev
> -DSQLITE_INCLUDE_DIR=/home/smaheshwari/bin/include
> -DSQLITE_LIBRARY=/home/smaheshwari/bin/lib -DWITH_GMX=OFF tools csg kmc moo
> ctp ctp-tutorials ctp-manual
If don't need ctp, you also don't need sqlite3 as well and can disable
it with the "-DWITH_SQLITE3=OFF" option, csg works without sqlite3.
If you need ctp, you will need to add
-DSQLITE3_INCLUDE_DIR="/home/smaheshwari/bin/include" and
-DSQLITE3_LIBRARY="/home/smaheshwari/bin/lib/libsqlite3.so"
Please note, that we are requiring sqlite3 for ctp and hence both
variables are called SQLITE3 (note the "3"), and cmake wants
SQLITE3_LIBRARY to be that path to the library, incl. the library name
itself.
You can use cmake-gui to see all variables:
$ export CMAKE=cmake-gui
$ ./build.sh --prefix ~/votca --dev ....
For more hints see:
https://github.com/votca/csg/wiki/Installing
Christoph