vdt icon indicating copy to clipboard operation
vdt copied to clipboard

Out of src dir build still not possible (USE_VC=1)

Open adriansev opened this issue 8 years ago • 2 comments

Hi! I am trying to compile vdt out of src dir and at configuration stage with the command: cmake -DCMAKE_INSTALL_PREFIX=${tools}/heplibs/vdt -DCMAKE_BUILD_TYPE=Release -DPRELOAD=1 -DUSE_VC=1 -DAVX=1 ${tools}/heplibs/vdt-src

i have this in the output : running cd src;python /home/physics-tools/heplibs/vdt-src/src/signatures_generator.py -p -o /home/physics-tools/heplibs/vdt-src/src;cd - 2>&1 /home/physics-tools/heplibs/vdt/BUILD/src /home/physics-tools/heplibs/vdt/BUILD running cd src;python vc_wrapper_generator.py;cd - 2>&1 /home/physics-tools/heplibs/vdt/BUILD/src python: can't open file 'vc_wrapper_generator.py': [Errno 2] No such file or directory

CMake Error at lib/CMakeLists.txt:30 (add_library): Cannot find source file:

/home/physics-tools/heplibs/vdt-src/src/vdtdiag_vcWrapper.cc

full log here : http://pastebin.com/n2tTgMJ7

Moreover it seems that configuration step modifies the source files (which is bad) : diff --git a/include/externalLibcfg.h b/include/externalLibcfg.h index d2d237d..031d5e9 100644 --- a/include/externalLibcfg.h +++ b/include/externalLibcfg.h @@ -7,7 +7,7 @@ #define VDT_EXTERNAL_LIB_CFG

//Vc usage setup -#define USE_VC 0 +#define USE_VC 1 #if USE_VC //use this flag through the program #define VC_AVAILABLE

adriansev avatar Dec 22 '16 18:12 adriansev

Hi Adrian,

Thanks for the report. Are you on 0.3.9? For my education, the usage of VC is intended for testing purposes only, what is the reason leading you to require it?

Cheers, D

dpiparo avatar Dec 23 '16 09:12 dpiparo

Hi! Yes, i am on master 616450e As for the reason, i was looking over the differences/synergies between vdt and vc and i thought that in fact would be natural for vdt (which provides optimized functions) to use intrisic data and operations provided by vc (IMHO, it would be useful and interesting a project merger of these two, especially that i think that there is duplicated code and work ) .. so, i did not required, i was just trying it out :) Thank you! Adrian

adriansev avatar Dec 23 '16 14:12 adriansev