Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fdeleonm_branch'
Browse files Browse the repository at this point in the history
  • Loading branch information
wenhuiuy committed Sep 11, 2023
2 parents ae292e6 + 18f3063 commit ede8982
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/solver/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ Prerequisites
>>> Dockerfile README.rst do_build docker-compose.yml docker_dir mpi mppdyna_docker_centos7.zip
* Within docker_dir, there is a file called mppdyna. This file is the executable to run. It can be
any executable (SMP, MPP) or revision and branch. To run a given file, the name shall be changed to
mppdyna and copied inside docker_dir.

Once all prerequisites are met, you can build the Docker image for the ``solver`` service.

Build the Docker image
Expand Down Expand Up @@ -101,4 +105,4 @@ To copy files back from the ``solver`` container to your host machine use the co
docker cp <containerId>:/file/path/within/container /host/target/path
The path within the container is ``/rundir``.
The path within the container is ``/rundir``.
2 changes: 2 additions & 0 deletions docker/solver/do_build
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ssh-keygen -q -b 2048 -f ssh/id_rsa -N ""
echo "Host *" > ssh/config
echo " StrictHostKeyChecking no" >> ssh/config
#
chmod -R 755 *
#
# Build container
#
docker build -t dyna_solver_v04 .

0 comments on commit ede8982

Please sign in to comment.