docker image build
docker image build -t "image_name" .
docker image pull
docker image pull jjthomson2166/scale-ubuntu
error stack
sudo gpasswd -a $(whoami) docker
sudo chgrp docker /var/run/docker.sock
if you use F drive, execute this command and comment out mount in docker-compose.yml
sudo mount -t drvfs F: /mnt/f/
before docker-compose up
docker cp scale-dev:/root/scale-5.4.4 ~/
if you enter in command line in docker container
docker exec -it scale-dev bash
after you enter in docker container, execute this.
./build/initial.sh
if you exit container shell, execute this.
cp $HOME/scale-5.4.4 -R $HOME/fdrive
VS Code: NoPermissions (FileSystemError): Error: EACCES: permission denied
, happens, execute this commandsudo chown -R user {dir}
export PATH=$PATH:$HOME/scale-5.4.4/scale-rm/test/tutorial
cd ~/scale-5.4.4/scale-rm/test/tutorial/ideal/
cp sample/init_R20kmDX500m.conf ./init_R20kmDX500m.conf
mpirun --allow-run-as-root -n 2 ./scale-rm_init init_R20kmDX500m.conf ※rootとして実行
cp sample/run_R20kmDX500m.conf ./run_R20kmDX500m.conf
mpirun --allow-run-as-root -n 2 ./scale-rm run_R20kmDX500m.conf
ln -s ../../../util/netcdf2grads_h/net2g ./
cp sample/net2g_R20kmDX500m.conf ./net2g_R20kmDX500m.conf
mpirun --allow-run-as-root -n 2 ./net2g net2g_R20kmDX500m.conf
grads -blc checkfig_ideal.gs
USER.sh
This is a file for configure and making experiments/
make
入力データ (境界値データ) の準備
wget https://scale.riken.jp/archives/scale_database.tar.gz -P {dir_path}
ln -s {dir_path}/scale_database ./
export SCALE_DB="{dir_path}/scale_database"
export Tutorial_DIR=$HOME/scale-5.4.4/scale-rm/test/tutorial
cd $Tutorial_DIR/real/tools
bash convert_FNL-grib2grads.sh 2007071418 2007071500 FNL_input FNL_output
bash ~/core/initial
cd $Tutorial_DIR/real
make
cd $Tutorial_DIR/real/experiment/pp/
mpirun --allow-run-as-root --oversubscribe -n 4 ./scale-rm_pp pp.d01.conf
cd ${Tutorial_DIR}/real/experiment/init
cp ../../data/gradsinput-link_FNL.sh ./
bash gradsinput-link_FNL.sh
ln -s ../../data/namelist.grads_boundary.FNL.2005053112-2016051106 ./
mpirun --allow-run-as-root --oversubscribe -n 4 ./scale-rm_init init.d01.conf
cd ${Tutorial_DIR}/real/experiment/run
mpirun --allow-run-as-root --oversubscribe -n 4 ./scale-rm run.d01.conf >& log &
cd ${Tutorial_DIR}/real/experiment/net2g
mpirun --allow-run-as-root --oversubscribe -n 4 ./net2g net2g.2D.d01.conf
mpirun --allow-run-as-root --oversubscribe -n 4 ./net2g net2g.3D.d01.conf
cp ../../data/checkfig_real.gs ./
grads -blc checkfig_real.gs
研究に使用したソースを管理しています。
機械学習関係のクラスがあります。
一連の処理のフローをまとめたクラスがあります。
外部連携用のクラスがあります。
現状はSlackと連携するクラスがあります。
例外のクラスがあります。
状態を持たないクラスがあります。(計算や描画など)