Le mer. 24 juil. 2019 à 08:43, Christoph Junghans <[email protected]> a
écrit :

>
>
> On Wed, Jul 24, 2019, 06:41 Abdessamad Moumen <
> [email protected]> wrote:
>
>> Hi
>>
>> I am new beginner in votca,I tray to install votca-csg several times but
>> always i get the same error,
>>
>>
>> -- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_Core_LINK_LIBRARY)
>>
>> -- Found Eigen3: /usr/lib/cmake/eigen3
>>
>> CMake Error at tools/CMakeModules/FindFFTW3.cmake:41 (message):
>>
>> Could not find fftw_plan_r2r_1d in /usr/local/lib/libfftw3.a, take a look
>>
>> at the error message in /home/acer/votca/build/CMakeFiles/CMakeError.log
>> to
>>
>> find out what was going wrong. If you are using a static lib (.a) make
>>
>> sure you have specified all dependencies of fftw3 in FFTW3_LIBRARY by hand
>>
>> (i.e. -DFFTW3_LIBRARY='/path/to/libfftw3.so;/path/to/libm.so') !
>>
>> Call Stack (most recent call first):
>>
>> CMakeLists.txt:78 (_find_package)
>>
>> tools/CMakeLists.txt:77 (find_package)
>>
>>
>>
>> -- Configuring incomplete, errors occurred!
>>
>> See also "/home/acer/votca/build/CMakeFiles/CMakeOutput.log".
>>
>> See also "/home/acer/votca/build/CmakeFiles/CmakeError.log".
>>
>>
>> could anyone explain me how to fix this problem ?
>>
> What does the CMakeError.log say?
>
> Christoph
>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/votca/CACZy3M-gXyyihCg81x8D164e2dhwO-gSVXvM%3DWO1xg9%2By8862A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/votca/CACZy3M-gXyyihCg81x8D164e2dhwO-gSVXvM%3DWO1xg9%2By8862A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/votca/CAHG27e63cR2hfNg2tXbg-uLS803QbdcF2XW_Sqz1MWi87DzT9A%40mail.gmail.com
> <https://groups.google.com/d/msgid/votca/CAHG27e63cR2hfNg2tXbg-uLS803QbdcF2XW_Sqz1MWi87DzT9A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/votca/CACZy3M86%2BR7O6EQLqUGmAJEnKHzZ_yMYbTbYaUE8nyg-0HsBpg%40mail.gmail.com.
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/acer/votca/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_a331f/fast && /usr/bin/make -f CMakeFiles/cmTC_a331f.dir/build.make CMakeFiles/cmTC_a331f.dir/build
make[1] : on entre dans le répertoire « /home/acer/votca/build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_a331f.dir/src.c.o
/usr/bin/cc   -DCMAKE_HAVE_LIBC_PTHREAD   -o CMakeFiles/cmTC_a331f.dir/src.c.o   -c /home/acer/votca/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_a331f
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a331f.dir/link.txt --verbose=1
/usr/bin/cc  -DCMAKE_HAVE_LIBC_PTHREAD    CMakeFiles/cmTC_a331f.dir/src.c.o  -o cmTC_a331f 
CMakeFiles/cmTC_a331f.dir/src.c.o : Dans la fonction « main » :
src.c:(.text+0x3e) : référence indéfinie vers « pthread_create »
src.c:(.text+0x4a) : référence indéfinie vers « pthread_detach »
src.c:(.text+0x5b) : référence indéfinie vers « pthread_join »
src.c:(.text+0x6f) : référence indéfinie vers « pthread_atfork »
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_a331f.dir/build.make:86: recipe for target 'cmTC_a331f' failed
make[1]: *** [cmTC_a331f] Error 1
make[1] : on quitte le répertoire « /home/acer/votca/build/CMakeFiles/CMakeTmp »
Makefile:121: recipe for target 'cmTC_a331f/fast' failed
make: *** [cmTC_a331f/fast] Error 2


Source file was:
#include <pthread.h>

void* test_func(void* data)
{
  return data;
}

int main(void)
{
  pthread_t thread;
  pthread_create(&thread, NULL, test_func, NULL);
  pthread_detach(thread);
  pthread_join(thread, NULL);
  pthread_atfork(NULL, NULL, NULL);
  pthread_exit(NULL);

  return 0;
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/acer/votca/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_086c4/fast && /usr/bin/make -f CMakeFiles/cmTC_086c4.dir/build.make CMakeFiles/cmTC_086c4.dir/build
make[1] : on entre dans le répertoire « /home/acer/votca/build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_086c4.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_086c4.dir/CheckFunctionExists.c.o   -c /usr/local/share/cmake-3.15/Modules/CheckFunctionExists.c
Linking C executable cmTC_086c4
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_086c4.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTC_086c4.dir/CheckFunctionExists.c.o  -o cmTC_086c4 -lpthreads 
/usr/bin/ld : ne peut trouver -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_086c4.dir/build.make:86: recipe for target 'cmTC_086c4' failed
make[1]: *** [cmTC_086c4] Error 1
make[1] : on quitte le répertoire « /home/acer/votca/build/CMakeFiles/CMakeTmp »
Makefile:121: recipe for target 'cmTC_086c4/fast' failed
make: *** [cmTC_086c4/fast] Error 2



Determining if the function fftw_plan_r2r_1d exists in the /usr/local/lib/libfftw3.a; failed with the following output:
Change Dir: /home/acer/votca/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_6ce3b/fast && /usr/bin/make -f CMakeFiles/cmTC_6ce3b.dir/build.make CMakeFiles/cmTC_6ce3b.dir/build
make[1] : on entre dans le répertoire « /home/acer/votca/build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_6ce3b.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=fftw_plan_r2r_1d   -o CMakeFiles/cmTC_6ce3b.dir/CheckFunctionExists.c.o   -c /usr/local/share/cmake-3.15/Modules/CheckFunctionExists.c
Linking C executable cmTC_6ce3b
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6ce3b.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=fftw_plan_r2r_1d    CMakeFiles/cmTC_6ce3b.dir/CheckFunctionExists.c.o  -o cmTC_6ce3b /usr/local/lib/libfftw3.a 
/usr/local/lib/libfftw3.a(mapflags.o) : Dans la fonction « fftw_mapflags » :
mapflags.c:(.text+0x3b9) : référence indéfinie vers « log »
/usr/local/lib/libfftw3.a(trig.o) : Dans la fonction « cexpl_sincos » :
trig.c:(.text+0x23c) : référence indéfinie vers « sincos »
trig.c:(.text+0x2ba) : référence indéfinie vers « sincos »
/usr/local/lib/libfftw3.a(trig.o) : Dans la fonction « fftw_mktriggen » :
trig.c:(.text+0x4c3) : référence indéfinie vers « sincos »
trig.c:(.text+0x574) : référence indéfinie vers « sincos »
trig.c:(.text+0x62b) : référence indéfinie vers « sincos »
/usr/local/lib/libfftw3.a(trig.o):trig.c:(.text+0x6e4) : encore plus de références indéfinies suivent vers « sincos »
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_6ce3b.dir/build.make:87: recipe for target 'cmTC_6ce3b' failed
make[1]: *** [cmTC_6ce3b] Error 1
make[1] : on quitte le répertoire « /home/acer/votca/build/CMakeFiles/CMakeTmp »
Makefile:121: recipe for target 'cmTC_6ce3b/fast' failed
make: *** [cmTC_6ce3b/fast] Error 2



Reply via email to