Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Insert this above: I’ve been using the standard (i.e. non-CUDA) Dockerfile in the gpu branch you mentioned. I modified that Dockerfile to load autoRIFT by adding the following lines immediately after the line “ && cd isce2 \”:

Code Block
 && cd contrib \

...


 && git clone https://github.com/leiyangleon/autoRIFT.git  \

...


 && cd .. \

Notes about ariamh - change isce.sh, mount settings.conf, etc.

git clone https://github.com/aria-jpl/ariamh.git

When the dockerfile finishes building the image, it will report the docker_image_id. Use that to run the container:

docker run -ti --rm -v /Users/YOURPATH/.ssh:/home/ops/.ssh -v /Users/YOURPATH/ARIA/data/work:/home/ops/data/work -v /Users/YOURPATH/ARIA/data/work/jobs:/home/ops/data/work/jobs -v /Users/YOURPATH/ARIA/data/work/tasks:/home/ops/data/work/tasks -v /Users/YOURPATH/ARIA/data/work/workers:/home/ops/data/work/workers -v /Users/YOURPATH/ARIA/data/work/cache:/home/ops/data/work/cache:ro -v /Users/YOURPATH/ARIA/.netrc:/home/ops/.netrc:ro -v /Users/YOURPATH/ARIA/.aws:/home/ops/.aws:ro -v /Users/YOURPATH/ARIA/repos/ariamh:/home/ops/ariamh -v /Users/YOURPATH/ARIA/topsapp/settings.conf:/home/ops/ariamh/conf/settings.conf:ro -w /home/ops/data/work <docker_image_id>

ARE THESE NEXT COMMANDS NEEDED? # Install pip using advice from here: https://www.liquidweb.com/kb/how-to-install-pip-on-centos-7/

curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"

python get-pip.py

chown ops ~/ariamh/interferogram/sentinel/

cd ~/ariamh

grep -rl "/usr/bin/python3" . | xargs sed -i 's/\/usr\/bin\/python3/\/usr\/bin\/env python/g'

grep -rl "/etc/profile.d/isce.sh" . | xargs sed -i 's/\/etc\/profile.d\/isce.sh/$HOME\/ariamh\/isce.sh/g'

OKAY THINK I FIXED THE httplib2 problem with this command:

sudo /opt/conda/bin/pip install httplib2

Code Block
Example code box.

...