ImperialCollegeLondon / covid19model

Code for modelling estimated deaths and cases for COVID19.
MIT License
944 stars 271 forks source link

Generation of alpha covar table failed! #83

Closed dsjoerg closed 4 years ago

dsjoerg commented 4 years ago

Describe the bug Running on Docker under Linux, it dies with Generation of alpha covar table failed!

To Reproduce Steps to reproduce the behavior:

  1. Set up Docker on Linux 2 AMI or AWS EC2 as per these instructions
  2. Run docker run --rm -v $(pwd)/results:/var/model/results -v $(pwd)/figures:/var/model/figures harrisonzhu5080/covid19model:latest
  3. Wait 30 minutes (faster with more vCPUs probably)
  4. Error message:
    There were 50 or more warnings (use warnings() to see the first 50)
    [1] "Make forecast table"
    [1] "Running results/base-318697-stanfit.Rdata"
    Error in `$<-.data.frame`(`*tmp*`, value, value = character(0)) : 
    replacement has 0 rows, data has 14
    Calls: $<- -> $<-.data.frame
    Execution halted
    Error: Generation of alpha covar table failed! Code: 1
    Execution halted

    Full transcript here

Expected behavior DNA code for a virus that, upon infecting a human, renders them immune to COVID-19. Or, failing that, complete without errors.

s-mishra commented 4 years ago

Hi @dsjoerg , thanks for raising this. I will do the required update soon, by end of GMT day.

s-mishra commented 4 years ago

Hi @dsjoerg, the issue is with MAC. It should be fine either with new docker or refer here https://github.com/stan-dev/rstan/wiki/Catalina-problems