Pig pancreas error with below steps, mesh file, tcl file, and error log
Steps to run pig-pancreas (The following is run inside a script, hence the -it interactive mode for docker is not enabled)
Scp -i myKey.pem pig-pancreas-seg-new.tcl ubuntu@Ec2-3-236-85-147.compute-1.amazonaws.com
Scp -i myKey.pem pig-pancreas-seg-new.mesh.vtk ubuntu@Ec2-3-236-85-147.compute-1.amazonaws.com
- Ssh into EC2 instance
Ssh -i myKey.pem ubuntu@Ec2-3-236-85-147.compute-1.amazonaws.com
- Install docker for testing purposes
curl -fsSL https://get.docker.com -o get-docker.sh
-
sudo sh get-docker.sh
Using the following variables to pull the FullMonteSW image: TAG=master
-
REGISTRY=registry.gitlab.com
-Gets the FullMonteSW container image for user mode (not developer mode) IMG=-run
MIDDLE=fullmonte/fullmontesw/fullmonte$IMG
IMAGE=$REGISTRY/$MIDDLE:$TAG
- Pull Docker image
docker login -u myUsername $REGISTRY -p myPassword
docker pull $IMAGE
- Build docker command string
-
DOCKER_COMMAND="docker run --rm -v $HOME_DIR:/sims -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 --privileged -e DISPLAY=:0 --ipc=host $IMAGE
bash ./sims/docker.sh ./$2"
eval $DOCKER_COMMAND
-
- Log output is shown in attached files for pig pancreas pig-pancreas-seg-new.mesh.vtk