weecology / portalPredictions

Using various models to forecast abundances at Portal
MIT License
9 stars 8 forks source link

Test use of Singularity for running Docker container on HiperGator #330

Closed ethanwhite closed 5 years ago

ethanwhite commented 5 years ago

HiperGator doesn't have Docker (due to sudo requirement). Need to test using Singularity for running our Docker container.

Useful information:

ethanwhite commented 5 years ago

This seems to work at the moment:

  1. login to hipergator (see https://github.com/weecology/lab-wiki/wiki/Programming:-HiPerGator-Intro-Guide)
  2. ml ufrc (get a compute note)
  3. ml singularlity (load newer singularity)
  4. singularity pull docker://weecology/portal_predictions (download the docker container and convert into singularity container)
  5. git clone https://github.com/weecology/portalPredictions.git (clone Portal Predictions repo)
  6. cd portalPredictions (move into the portalPredictions repo)
  7. singularity run ../portal_predictions_latest.sif Rscript install-packages.R (run the install script)
  8. singularity run ../portal_predictions_latest.sif Rscript PortalForecasts.R (run the forecasting script)
ethanwhite commented 5 years ago

Works!