snarkit
snarkit copied to clipboard
snarkit compile crashs under ubuntu
Compile circuits/testdata under ubuntu with following command
snarkit compile /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5 --verbose --backend=auto
is always fail and prompt me Command terminated by signal 11
The issue seems caused by --verbose switch which called /usr/bin/time. so I can run the command succefully without --verbose switch.
However, call the sole command under bash shell directly runs well (though it would failed inside snarkit )
/usr/bin/time -v node --max-old-space-size=8192 --stack-size=65500 /usr/local/lib/node_modules/snarkit/node_modules/circom/cli.js /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5/circuit.circom -r /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5/circuit.r1cs -c /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5/circuit.cpp -s /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5/circuit.sym -v
what about
snarkit compile /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5 --verbose --backend=native
Still no luck ... and seems same error
The failing logs is attached here (with backend=auto/native).
When run without --verbose we success but of course, no log available ...