-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Setup for AWS AMI Hangs compiling TBB #1362
Comments
Closing this as it's not an HHVM issue. Hopefully someone else can advise though -- we haven't seen this. (I'd suggesting asking in AWS and/or TBB support forums.) |
this issue is on the old amazon AMI. Their recent linux AMI (Amazon Linux AMI 2013.09.2) does not have this issue. |
I am now facing on same problem. The AMI is "Amazon Linux AMI release 2013.09" |
@atsushi-fukushima having compiled HHVM 2.4.1, 2.4.2 and the latest master build on the linux AMI, I am confident that it works fine. Are you sure you are compiling the proper TBB version and have all the updates applied to the AMI ? |
I followed https://github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-Amazon-Linux-2013.09.1 and https://github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-Amazon-Linux-2014.03 on amzn-ami-pv-2014.03.0.x86_64-ebs and both issue compiling Thread Building Blocks. ./test_atomic.exe And it just hangs there. |
@schmite what is the size of your AWS instance? |
@shivaas m1.small |
@schmite I would recommend upping the size of your instance to a c3.8xlarge and then building tbb with the -j32 flag, where 32 is the number of cores available. let me know if that still hangs up on test_atomix.exe |
fyi, you can downgrade the machine size after the build is complete so you don't run up a huge bill :) |
Thank you! It worked! |
@schmite -j is a flag to tell make how many cores to use to parallel compile the files. 32 is the number of cores (4x8) available on 8x large machine on AWS. |
@shivaas Thank you, In my case, build is not really hung up. It just took long time to test during the build process. In case skip the test process, the build will be finished in a reasonable time. I am now believing this test is too hard, and one of best benchmark on SMP system :-P |
Same issue here with the "hang". I upsized my m3.medium to a c3.8xlarge and re-make-ed with -j32. The build process blew right past test_atomic.exe. |
I'm trying to get HHVM installed on an Amazon Linux 2013.09.1 machine (m1.small) and i'm getting an issue compiling Thread Building Blocks.
The command line show's
./test_atomic.exe
And it just hangs there - I left it for 35 minutes and nothing happens.
Has anyone else had this issue and how did you resolve?
Thanks
The text was updated successfully, but these errors were encountered: