Closed WilliamWangPeng closed 3 years ago
Hi,
Your executable has multi-threading which is not supported by the current version of MICA. Try compiling your test1.zip with multi-threading disabled, or, if it has runtime parameters, use one which only launches a single thread.
-Amir
On Fri., Mar. 19, 2021, 16:02 william, @.***> wrote:
Hi dear expert It's an honor to write a letter to you, I'm using mica in pin3.4 nowadays to test the program test1.zip https://github.com/boegel/MICA/files/6171033/test1.zip
which could be compiled using: $mkdir build $cd build $cmake .. $make and I using $./pin -t /home/pwang/tools/VR/installs/pin-3.4/source/tools/MICA-master/obj-intel64/mica.so -- ./Task-sphere the errors are below, I don't know why?
[image: image] https://user-images.githubusercontent.com/51076736/111780114-e7a86200-88f1-11eb-973f-b5645f968d30.png
[image: image] https://user-images.githubusercontent.com/51076736/111780179-ff7fe600-88f1-11eb-9d57-1b812493cd34.png
[image: image] https://user-images.githubusercontent.com/51076736/111780198-07d82100-88f2-11eb-94b0-917c888e2186.png
and I don't know if this result is true.
thank you Best Regards William
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/boegel/MICA/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECKHVYXGONXAYHRZV3NKLTEM74JANCNFSM4ZOWPQ2Q .
Hi, Your executable has multi-threading which is not supported by the current version of MICA. Try compiling your test1.zip with multi-threading disabled, or, if it has runtime parameters, use one which only launches a single thread. … -Amir On Fri., Mar. 19, 2021, 16:02 william, @.***> wrote: Hi dear expert It's an honor to write a letter to you, I'm using mica in pin3.4 nowadays to test the program test1.zip https://github.com/boegel/MICA/files/6171033/test1.zip which could be compiled using: $mkdir build $cd build $cmake .. $make and I using $./pin -t /home/pwang/tools/VR/installs/pin-3.4/source/tools/MICA-master/obj-intel64/mica.so -- ./Task-sphere the errors are below, I don't know why? [image: image] https://user-images.githubusercontent.com/51076736/111780114-e7a86200-88f1-11eb-973f-b5645f968d30.png [image: image] https://user-images.githubusercontent.com/51076736/111780179-ff7fe600-88f1-11eb-9d57-1b812493cd34.png [image: image] https://user-images.githubusercontent.com/51076736/111780198-07d82100-88f2-11eb-94b0-917c888e2186.png and I don't know if this result is true. thank you Best Regards William — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#18>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECKHVYXGONXAYHRZV3NKLTEM74JANCNFSM4ZOWPQ2Q .
Hi dear amirjamez @amirjamez
Thank you for giving me the reply, I tried to build again like this:
pwang@pwang-OptiPlex-7060:~/tools/VR/show/Computer-Graphics/task04-sphere/build$ cmake --disable-thread-support ..
pwang@pwang-OptiPlex-7060:~/tools/VR/show/Computer-Graphics/task04-sphere/build$ make
could you help me to build the test1.zip and try to use MICA to test ppm and ilp_one?
thank you
Best Regards to you
William
Hi,
You still have thread/pthread support set to TRUE in your CMAKE configuration. Look for the line that generates this and disable it:
On Fri., Mar. 19, 2021, 18:28 william, @.***> wrote:
Hi, Your executable has multi-threading which is not supported by the current version of MICA. Try compiling your test1.zip with multi-threading disabled, or, if it has runtime parameters, use one which only launches a single thread. … <#m6787158915050724792> -Amir On Fri., Mar. 19, 2021, 16:02 william, @.***> wrote: Hi dear expert It's an honor to write a letter to you, I'm using mica in pin3.4 nowadays to test the program test1.zip https://github.com/boegel/MICA/files/6171033/test1.zip which could be compiled using: $mkdir build $cd build $cmake .. $make and I using $./pin -t /home/pwang/tools/VR/installs/pin-3.4/source/tools/MICA-master/obj-intel64/mica.so -- ./Task-sphere the errors are below, I don't know why? [image: image] https://user-images.githubusercontent.com/51076736/111780114-e7a86200-88f1-11eb-973f-b5645f968d30.png [image: image] https://user-images.githubusercontent.com/51076736/111780179-ff7fe600-88f1-11eb-9d57-1b812493cd34.png [image: image] https://user-images.githubusercontent.com/51076736/111780198-07d82100-88f2-11eb-94b0-917c888e2186.png and I don't know if this result is true. thank you Best Regards William — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#18 https://github.com/boegel/MICA/issues/18>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECKHVYXGONXAYHRZV3NKLTEM74JANCNFSM4ZOWPQ2Q .
Hi dear amirjamez @amirjamez https://github.com/amirjamez Thank you for giving me the reply, I tried to build again like this: @.OptiPlex-7060:/tools/VR/show/Computer-Graphics/task04-sphere/build$ cmake --disable-thread-support .. @.OptiPlex-7060:/tools/VR/show/Computer-Graphics/task04-sphere/build$ make
[image: image] https://user-images.githubusercontent.com/51076736/111799614-26481780-8906-11eb-80c3-1007ee671fd8.png
[image: image] https://user-images.githubusercontent.com/51076736/111799649-2e07bc00-8906-11eb-9224-7717722af1b3.png
[image: image] https://user-images.githubusercontent.com/51076736/111799701-38c25100-8906-11eb-9935-918628b89f3c.png
could you help me to build the test1.zip and try to use MICA to test ppm and ilp_one?
thank you Best Regards to you William
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/boegel/MICA/issues/18#issuecomment-802894627, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACECKHRHTCYT7QWFZQAHFF3TENQ7RANCNFSM4ZOWPQ2Q .
Tested with the provided code in my machine, there is sphere rendered in the window, my environments:
The mica.conf I use:
analysis_type: ilp
interval_size: 100000000
ilp_size: 32
page_size: 12
block_size: 6
itypes_spec_file: itypes_default.spec
append_pid: yes
The cmake output is:
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at external/glfw/CMakeLists.txt:10 (cmake_policy):
The OLD behavior for policy CMP0042 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Vulkan: /usr/lib/x86_64-linux-gnu/libvulkan.so
-- Using X11 for window creation
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/zz/work/hh/Computer-Graphics/task04-sphere/build
The build/CMakeCache.txt is: (use ccmake .
or cmake-gui to view it, may also toggle advance variables)
It seems that the shader files are not loaded correctly. Load Shader File Error! in the pasted screenshot. @WilliamWangPeng Do you changd the default directory of shader files?
Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR) This error message is also different than my one. From the gcc version you pasted, I guess you are using ubuntu 18.04, and you may consider install vulkan via:
sudo apt install libvulkan1 libvulkan-dev vulkan-tools mesa-vulkan-drivers vulkan-uttils
Done
Hi dear expert
It's an honor to write a letter to you, I'm using mica in pin3.4 nowadays to test the program test1.zip
which could be compiled using:
$mkdir build
$cd build
$cmake ..
$make
and I using $./pin -t /home/pwang/tools/VR/installs/pin-3.4/source/tools/MICA-master/obj-intel64/mica.so -- ./Task-sphere
the errors are below, I don't know why?
and I don't know if this result is true.
by the way, there is no error in testing hello ELF.
thank you
Best Regards
William