sure, sorry, I'm not professional in Ubuntu that's why I'm asking too many.
On Tue, Dec 4, 2018 at 1:41 AM Christoph Junghans <jungh...@votca.org> wrote: > On Mon, Dec 3, 2018 at 2:19 PM Navid KhademAbbasi > <navid.khademabbas...@gmail.com> wrote: > > > > Dear Dr. Junghans > > my previous problem solved but in general installation, for "cmake > -DBUILD_CSGAPPS=ON -DBUILD_CTP=ON -DBUILD_XTP=ON > -DCMAKE_INSTALL_PREFIX=${prefix} .." command I had this error message which > was the attachment file. > > Just read the error message, for some reason your gromacs installation > wasn't found! Can you post your CMakeError.txt? > > Also if you don't need xtp and ctp, you can do -DBUILD_CTP=OFF and > -DBUILD_XTP=OFF. > > Also on Ubuntu if you don't develop, you can just do: > $ apt-get install votca-csg > > Christoph > > > Regards, > > N. Khademabbasi > > > > > > On Mon, Dec 3, 2018 at 2:44 AM Navid KhademAbbasi < > navid.khademabbas...@gmail.com> wrote: > >> > >> Thank you for your response, > >> my current Ubuntu version is 18.5 > >> Yes, I just work with the CSG. > >> > >> On Mon, Dec 3, 2018 at 2:39 AM Christoph Junghans <jungh...@votca.org> > wrote: > >>> > >>> > >>> > >>> On Sun, Dec 2, 2018 at 16:05 Navid KhademAbbasi < > navid.khademabbas...@gmail.com> wrote: > >>>> > >>>> Hi everyone, > >>>> I am trying to install the dependencies for core functionality of > ((apt-get install make cmake git g++ libexpat-dev libfftw3-dev libgsl-dev > libboost-all-dev txt2tags libsqlite3-dev octave gnuplot python-numpy > libhdf5-dev graphviz pkg-config psmisc libint2-dev libeigen3-dev libxc-dev > libceres-dev libgromacs-dev gromacs-openmpi)), on Ubuntu and I've found the > error message like "can't find libint2-dev" then I've searched this > library, but I can't find it. > >>>> I would be glad if you help me in this field. > >>> > >>> What version of ubuntu is this? > >>> > >>> And libint2 is only needed for xtp, so for csg just go ahead without > it! > >>> > >>> Christoph > >>>> > >>>> > >>>> Thanks > >>>> > >>>> Navid Khademabbasi > >>>> > >>>> -- > >>>> 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 votca+unsubscr...@googlegroups.com. > >>>> To post to this group, send email to votca@googlegroups.com. > >>>> 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 votca+unsubscr...@googlegroups.com. > >>> To post to this group, send email to votca@googlegroups.com. > >>> Visit this group at https://groups.google.com/group/votca. > >>> For more options, visit https://groups.google.com/d/optout. > > > > -- > > 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 votca+unsubscr...@googlegroups.com. > > To post to this group, send email to votca@googlegroups.com. > > 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 votca+unsubscr...@googlegroups.com. > To post to this group, send email to votca@googlegroups.com. > Visit this group at https://groups.google.com/group/votca. > For more options, visit https://groups.google.com/d/optout. > -- 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 votca+unsubscr...@googlegroups.com. To post to this group, send email to votca@googlegroups.com. Visit this group at https://groups.google.com/group/votca. For more options, visit https://groups.google.com/d/optout.
Determining if the pthread_create exist failed with the following output: Change Dir: /home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_c2851/fast" /usr/bin/gmake -f CMakeFiles/cmTC_c2851.dir/build.make CMakeFiles/cmTC_c2851.dir/build gmake[1]: Entering directory `/home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c2851.dir/CheckSymbolExists.c.o /home-gs/compiler/GCC/gcc-8.1.0/build/bin/gcc -o CMakeFiles/cmTC_c2851.dir/CheckSymbolExists.c.o -c /home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_c2851 /home-gs/compiler/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2851.dir/link.txt --verbose=1 /home-gs/compiler/GCC/gcc-8.1.0/build/bin/gcc -rdynamic CMakeFiles/cmTC_c2851.dir/CheckSymbolExists.c.o -o cmTC_c2851 CMakeFiles/cmTC_c2851.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status gmake[1]: *** [cmTC_c2851] Error 1 gmake[1]: Leaving directory `/home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp' gmake: *** [cmTC_c2851/fast] Error 2 File /home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <pthread.h> int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_61af4/fast" /usr/bin/gmake -f CMakeFiles/cmTC_61af4.dir/build.make CMakeFiles/cmTC_61af4.dir/build gmake[1]: Entering directory `/home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_61af4.dir/CheckFunctionExists.c.o /home-gs/compiler/GCC/gcc-8.1.0/build/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_61af4.dir/CheckFunctionExists.c.o -c /home-gs/compiler/cmake/share/cmake-3.12/Modules/CheckFunctionExists.c Linking C executable cmTC_61af4 /home-gs/compiler/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_61af4.dir/link.txt --verbose=1 /home-gs/compiler/GCC/gcc-8.1.0/build/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_61af4.dir/CheckFunctionExists.c.o -o cmTC_61af4 -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[1]: *** [cmTC_61af4] Error 1 gmake[1]: Leaving directory `/home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp' gmake: *** [cmTC_61af4/fast] Error 2 Performing C SOURCE FILE Test HAVE_AIX failed with the following output: Change Dir: /home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_ccb69/fast" /usr/bin/gmake -f CMakeFiles/cmTC_ccb69.dir/build.make CMakeFiles/cmTC_ccb69.dir/build gmake[1]: Entering directory `/home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ccb69.dir/src.c.o /home-gs/compiler/GCC/gcc-8.1.0/build/bin/gcc -DHAVE_AIX -o CMakeFiles/cmTC_ccb69.dir/src.c.o -c /home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp/src.c /home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp/src.c:3:8: error: #error #error ^~~~~ gmake[1]: *** [CMakeFiles/cmTC_ccb69.dir/src.c.o] Error 1 gmake[1]: Leaving directory `/home-gs/users/nsgs066_LLJ/software/votca/build/CMakeFiles/CMakeTmp' gmake: *** [cmTC_ccb69/fast] Error 2 Source file was: int main(void) { #ifndef _AIX #error #endif return 0; } Performing C SOURCE FILE Test HAVE_AIX failed with the following output: Change Dir: /home/navid/votca/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_846d8/fast" /usr/bin/make -f CMakeFiles/cmTC_846d8.dir/build.make CMakeFiles/cmTC_846d8.dir/build make[1]: Entering directory '/home/navid/votca/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_846d8.dir/src.c.o /usr/bin/cc -DHAVE_AIX -o CMakeFiles/cmTC_846d8.dir/src.c.o -c /home/navid/votca/build/CMakeFiles/CMakeTmp/src.c /home/navid/votca/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’: /home/navid/votca/build/CMakeFiles/CMakeTmp/src.c:3:8: error: #error #error ^~~~~ CMakeFiles/cmTC_846d8.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_846d8.dir/src.c.o' failed make[1]: *** [CMakeFiles/cmTC_846d8.dir/src.c.o] Error 1 make[1]: Leaving directory '/home/navid/votca/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_846d8/fast' failed make: *** [cmTC_846d8/fast] Error 2 Source file was: int main(void) { #ifndef _AIX #error #endif return 0; } Determining if the function gmx_version exists in the /home/navid/gromacs/lib/libgromacs.so failed with the following output: Change Dir: /home/navid/votca/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_79e3c/fast" /usr/bin/make -f CMakeFiles/cmTC_79e3c.dir/build.make CMakeFiles/cmTC_79e3c.dir/build make[1]: Entering directory '/home/navid/votca/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_79e3c.dir/CheckFunctionExists.cpp.o /usr/bin/c++ -DCHECK_FUNCTION_EXISTS=gmx_version -o CMakeFiles/cmTC_79e3c.dir/CheckFunctionExists.cpp.o -c /home/navid/votca/csg/CMakeModules/CheckFunctionExists.cpp make[1]: *** No rule to make target '/home/navid/gromacs/lib/libgromacs.so', needed by 'cmTC_79e3c'. Stop. make[1]: Leaving directory '/home/navid/votca/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_79e3c/fast' failed make: *** [cmTC_79e3c/fast] Error 2