There are a number of things that may cause an experiment to fail. Sometimes you may find your whole experiment may fail, other times it might just be one algorithm within your experiment. Below we have listed a few potential reasons and their subsequent fixes.

There are two main 'fails' you will get in the BCCVL:

1. Your entire experiment failed

If you get this first message then something went wrong with either the design of your experiment or the data you have selected, or an error occurred with sending your experiment to the compute resources. Issues with connecting to compute power happens pretty rarely, but they do happen.

The fix: 

  1. To check if it is an issue with the BCCVL connecting to compute resources this can usually be fixed by simply resubmitting your experiment. You can do this by going back to the main 'Experiments' tab, and clicking on the 'Rerun' button next to your experiment. You will need to click through your experiment setup again and check it is all correct.
  2. If your experiment fails again, then it is likely an experimental design or dataset issue - refer to section 2 below.

2. One or more algorithm/s or species within your experiment failed


Sometimes one, or two, or even a handful of algorithms within an experiment will fail. We have outlined the most common reasons for this below. If you believe your model failed for another reason, please get in contact.

Species Distribution Model & Multi-Species Distribution Model experiment fails

Script execution failed with exit code 256, or exit code 9

These are the most common error messages you can receive, and unfortunately they can mean a number of things. The most common of which are outlined below:

  1. You used categorical data in an algorithm that does not accept categorical data.
    Bioclim and Surface Range Envelope algorithms cannot use categorical variables. These algorithms will fail if you try to run them with categorical data layers.

  2. The number of species occurrence records is too low.
    While some algorithms are able to handle a low number of occurrence records (e.g. <20), others are not. Machine learning algorithms (e.g. Classification Tree) require a larger occurrence dataset due to the iterative process in which the algorithm uses the data. If you are modelling a rare or threatened species and only have a small occurrence dataset we advise using Maxent or a statistical algorithm (e.g. Generalized Linear Model) to calibrate your data.

  3. The species names in your occurrence csv are numeric.
    If your species or multispecies occurrence file has numbers for species name/s (e.g. 1, 2, 3) the model will fail to generate a valid formula for the model, and will fail. To fix this, you need to modify your occurrence data file to use non-numeric values for species name (e.g. A, B, C instead of 1, 2, 3). Once you have done this, re-upload this into the BCCVL and try running your SDMs/MSDMs again with this new file.

  4. "Failed to transfer results back"
    This is an issue with the compute workers. Rerun your experiment and it should fix this issue.

  5. You only selected one variable in your model.
    With the exception of Bioclim and other geographic models, all SDM algorithms will fail if you only include one predictor variable in the setup. Rerun your experiment and ensure you include at least 2 predictor variables.

Climate Change Projection experiment fails

  1. You ran your SDM with more than one current climate dataset.
    When you use the results of an SDM experiment in a Climate Projection, the projection tries to match the variables from your SDM with the selected future climate dataset. However, if you have duplicate layers from different datasets (e.g. Worldclim bioclim variables 1 - 19, and Climond bioclim variables 1 - 19) the model does not know which to use, and therefore it fails. We recommend rerunning your SDM with only one of your chosen datasets (e.g. Worldclim OR Climond, not both), and then run your Climate projection using that new SDM. We also advise to use future climate data from the same data collection as the current climate data (e.g. if you use Worldclim current climate in your SDM experiment then you should also use the Worldclim future data for your projection) to ensure that the data were generated using the same methodology.