0483名無し名人 (ワッチョイ 8fc3-a7mP)
2018/05/04(金) 22:35:27.75ID:0/KiZH2z01 AWSのアカウントを取得する(何時間もかかるので注意)。
2 EC2インスタンスを作成する。
AMIは64ビットのUbuntuとかでおk
(参考:http://sil.hatenablog.com/entry/aws-ec2-free-webserver)
3 PuTTYなどを使用してLinuxインスタンスへ接続する。
(参考:http://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/putty.html)
4 更新プログラムのインストール、アップグレード
sudo apt-get update
sudo apt-get upgrade -y
5 make git boost clang unzip等々をインストール
sudo apt-get install build-essential -y
sudo apt-get install libboost-all-dev -y
sudo apt install unzip
sudo apt-get install clang-6.0 libomp-dev -y
or
sudo apt-get install clang-5.0 libomp-dev -y
6 ソースコードをcloneする
git clone https://github.com/ebifrier/YaneuraOu.git
7 YaneuraOuのsourceディレクトリに移動
cd YaneuraOu/source
8 Makefileを修正する
vi Makefile
COMPILER = clang++-6.0
9 コンパイルする。
make tournament
10 評価関数をダウンロードして展開。
wget http://garnet-alice.net/shogiengine/godwhale/client/download/GodwhaleClient_◯_◯_◯_◯_full.zip
unzip ./GodwhaleClient_◯_◯_◯_◯_full.zip -d client
あとはevalをsourceにコピーして、シェルスクリプト書いて実行する。
スレッド数はc5.18xlargeの場合は"72"、m5.24xlargeの場合は"96"にする。