Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program running very slow #35

Open
echo-hi opened this issue Aug 25, 2022 · 9 comments
Open

Program running very slow #35

echo-hi opened this issue Aug 25, 2022 · 9 comments

Comments

@echo-hi
Copy link

echo-hi commented Aug 25, 2022

Program running slowly in the cgal branch of libigl-example-project ,but the program running very very very slower compared with the libigl project tutorial 609_Boolean.
how can i fix this problem?
I use Ubuntu 16.04, x64

@alecjacobson
Copy link
Contributor

There's not enough information to replicate this issue. What's the program you're referring to?

@echo-hi
Copy link
Author

echo-hi commented Aug 25, 2022

boolean.zip
it is input file and source file , @alecjacobson

@alecjacobson
Copy link
Contributor

alecjacobson commented Oct 2, 2022 via email

@weiyu666
Copy link

weiyu666 commented Mar 1, 2023

I also have this problem! For the example of the 405 ARAP tutorial on MAC, I am in libigl-example-project
Why is the down run so slow? But the official website example runs fast? I only changed the file directory. TUTORIAL_ SHARED_ PATH "/decided-knight.off" is changed to "/Users/xxx/libigl-example-project/decided-knight.off", which is a special card! The information of the computer is as follows!
企业微信截图_e7d8477e-9484-4123-8de7-0a94ce5fe732
企业微信截图_9e65e613-0f6f-4d96-aa43-1a834bb75bed

Program.running.very.slow.mov

@echo-hi
Copy link
Author

echo-hi commented Mar 1, 2023

老哥,这个问题我没解决,用其他的库了

@weiyu666
Copy link

weiyu666 commented Mar 2, 2023

原来也是中国人的哈哈哈;哪你用的是什么库,这个是不是框架问题?能不能加一个联系方式沟通一下?邮箱 [email protected],企鹅 1139627754

@weiyu666
Copy link

@alecjacobson Hi, am I providing enough data messages now? Is the simd not triggered? Or is it something that caused it?

@alecjacobson
Copy link
Contributor

Could you confirm that you're compiling in release mode?

You could use make VERBOSE=1 and verify that you see -DNDEBUG and -O3

@weiyu666
Copy link

Switching to release performs better in vscode,
企业微信截图_9098989b-85a3-4cf8-a719-9025b099ed07
and directly making a running program will get stuck compared to vscode. Is there a problem with the number of iterations of this algorithm? imageFor example, if I change the number of iterations in the tutorial to 4 or 5, it will be very smooth. Is it an algorithmic problem or is the SIMD of the framework not started? Generally speaking, the original tutorial setting of 100 is for normal use.
企业微信截图_25724231-7481-4869-b279-90a497ea4e40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants