Skip to content

Compilation avec OpenCL

Relevé par Pierre Gerhard gerhard@math.unistra.fr

module load schnaps-fxt.profile

Résultat du cmake ..

- ##############################################
-- ####                                                                                           
-- #### CMAKE_BUILD_TYPE    : Release                                            
-- ####  -std=gnu99 -D_SCHNAPS_DIR=/home/u2/gerhard/schnaps2/schnaps/old_schnaps -O3  -Werror -Wno-deprecated-declarations -D_WITH_OPENCL -D_WITH_STARPU -D_WITH_UMFPACK -D_WITH_FLANN 
-- #### SuiteSparse Found   : ON                                                            
-- #### OpenCl Found        : TRUE                                                           
-- #### StarPU Found        : TRUE                                                           
-- #### igraph Found        : TRUE                                                            
-- #### GC USE              : OFF                                                                
-- ####                                                                                                 
-- ############################################################                                     
-- Configuring done     

make -> Echec compilation lors du linkage :

[ 34%] Linking C executable test/testumfpac
/usr/bin/ld : ne peut trouver -lOpenCL                                                                 
/usr/bin/ld : ne peut trouver -lOpenCL                                                                   
collect2: error: ld returned 1 exit status                                                             
[ 35%] Linking C executable example/testmhd                                                          
make[2]: *** [test/testumfpack] Erreur 1                                                                
make[1]: *** [CMakeFiles/testumfpack.dir/all] Erreur 2                                                  
make[1]: *** Attente des tâches non terminées..
mêmes erreurs répétées pour toute la suite
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information