-
Notifications
You must be signed in to change notification settings - Fork 208
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
macOS can't compile from source or benchmark vdf #611
Comments
Yeah you can ignore those. MacOS isn't really supported. We can only confirm that the arweave node runs as a VDF server - but beyond that it should be considered unsupported (e.g. the |
what's the link for VDF server then? Is there precompiled binary? |
Does bin/start not work? If not then can you upload the output from that? There is no precompiled vdf binary. Only the instructions for compiling from source - but they have only been tested against bin/start. The benchmark binaries you've listed above haven't been tested on macos. |
./bin/start won't work either. It throws the same error message
|
this is specific to erlang which I'm sure ./bin/start would also use. |
Oh cool - so you know what the problem is? |
what I meant is this issue would pop up on running /bin/start as well as shown above. |
If you go into your
What do they print? |
Ah also, what does We usually just do the
|
changing ulimit won't help I guess but I'll try anyways I think it's related to kern.num_taskthreads which is set to 2048 per process. Are we requesting for more than that for erlang vm? |
Yup didn't help
|
Looks like I could get some success. unfortunately, the kern.num_taskthreads is a read only variable and can't be modified. Is 512 value below acceptable?
|
Yep for a VDF server |
If you want to open a PR against https://github.com/ArweaveTeam/arweave/blob/master/README.md with troubleshooting tips, I can merge it. |
Also you can override the Erlang VM flags using the
|
sudo ./bin/benchmark-vdf
Failed to create dirty io scheduler thread 1005, error = 35 ./bin/benchmark-vdf: line 10: 1492 Abort trap: 6 $ARWEAVE foreground $ARWEAVE_OPTS -run ar benchmark_vdf
hardware: Mac mini m2
OS version: 13.2.1
Also on compilation from source hit the below error message.
===> ar_weave:test/0 calls undefined function eunit:test/1 ===> Release successfully assembled: _build/default/rel/arweave ===> Unable to copy from /Users/rjxm2/miners/arweave/arweave/apps/arweave/lib/RandomX/build/randomx-benchmark to /Users/jdoe/miners/arweave/arweave/_build/default/rel/arweave/bin/randomx-benchmark because of {copy_failed, "/Users/jdoe/miners/arweave/arweave/apps/arweave/lib/RandomX/build/randomx-benchmark", "/Users/jdoe/miners/arweave/arweave/_build/default/rel/arweave/bin/randomx-benchmark", enoent}
The text was updated successfully, but these errors were encountered: