当前位置:网站首页>lotus v1.16.0-rc3 calibnet

lotus v1.16.0-rc3 calibnet

2022-06-25 06:38:00 mixboot

系列文章目录

lotus



前言

lotus v1.16.0-rc3


一、v1.16.0-rc3

# mkdir v1.16.0-rc3
# cd v1.16.0-rc3/
# git clone https://github.com/filecoin-project/lotus.git
# cd lotus/
# git checkout v1.16.0-rc3
# git show
commit 824da5ea511da6dde8c801ded1eb869c42e6e2ab (HEAD, tag: v1.16.0-rc3)

二、源码编译

1.AMD CPU

# go version
go version go1.18.2 linux/amd64
env RUSTFLAGS="-C target-cpu=native -g" FFI_BUILD_FROM_SOURCE=1 FFI_USE_CUDA=1 make clean calibnet lotus-bench

2.intel CPU

env CGO_CFLAGS_ALLOW="-D__BLST_PORTABLE__" CGO_CFLAGS="-D__BLST_PORTABLE__" FFI_USE_MULTICORE_SDR=0 FFI_BUILD_FROM_SOURCE=1 FFI_USE_CUDA=1 make clean calibnet lotus-bench

三、运行

  • lotus
nohup lotus daemon >> /var/log/calibnet/daemon.log 2>&1 &
  • miner
nohup lotus-miner run >> /var/log/calibnet/miner.log 2>&1 &
  • worker
  • P1
env TMPDIR=/tmp01 nohup lotus-worker --worker-repo=/seal/worker01 run --listen=192.168.1.1:3456 --precommit2=false --commit=false >> /var/log/calibnet/worker01.log 2>&1 &
  • P2
env TMPDIR=/tmp02 nohup taskset -c 48-63 lotus-worker --worker-repo=/seal/worker02 run --no-local-storage --listen=192.168.1.1:3457 --addpiece=false --precommit1=false --commit=false >> /var/log/calibnet/worker02.log 2>&1 &
lotus-worker --worker-repo=/seal/worker02 storage attach /seal/worker01

参考

  1. v1.16.0-rc3
原网站

版权声明
本文为[mixboot]所创,转载请带上原文链接,感谢
https://mixboot.blog.csdn.net/article/details/125431544