-
Notifications
You must be signed in to change notification settings - Fork 3
Home
OACIS is an useful software to manage a lot of simulation jobs. However, the installability of OACIS may not be good for the researchers who use Microsoft Windows OS or who are unfamiliar with Linux OS. oacis_docker is developed to help such researchers easily start using OACIS.
- OACIS requires ssh connections.
- Two ways to put the ssh key on a container are shown in the following.
-
Put existing private ssh key on the container
-
Copy the ssh key via
docker cp
command, and then change the file permission after login the container viadocker exec
command.docker cp ~/.ssh/id_rsa oacis:/home/oacis/.ssh/id_rsa_remote docker exec oacis bash -c "chmod 600 /home/oacis/.ssh/id_rsa_remote" docker exec oacis bash -c "chown oacis:oacis /home/oacis/.ssh/id_rsa_remote"
-
-
Get public ssh key from the container
- Get the ssh key via
docker cp
command.docker cp oaics:/home/oacis/.ssh/id_rsa.pub . #You can find id_rsa.pub
- Register the id_rsa.pub to a remote host.
- Get the ssh key via
-
-
Host Registration
-
Remote Host
- No particular comment
-
Local Host
-
localhost
as a Host is registered when you start a new container. -
localhost
is not localhost as the address of host_machine but an address of virtual_machine -
localhost
has following fields.Name=localhost Hostname=localhost Status=enabled User=oacis Port=22 SSH\ key=~/.ssh/id_rsa Work base directory=~/oacis/public/Result_development/work/__work__ Mounted work base directory=~/oacis/public/Result_development/work/__work__ Maximum number of jobs=1 Polling interval=5 MPI procs=1 OMP threads=1
-
-
-
Simulator and Analyzer Registration, Creating ParameterSet, Run and Analysis
-
Operation via web browser interface
- No particular comment
-
Operation via oacis_cli
-
Run oacis_cli command after logging in the container via
docker exec
command.docker exec -it -u oacis oacis bash -l cd ~/oacis ./bin/oacis_cli usage
-
-
- Install Additional Packages
-
Example of gnuplot installation
docker exec -it oacis bash apt-get update && apt-get install -y gnuplot && apt-get clean
-