Graphing on a headless Linux installation

Since there is no monitor attached to the cluster an error will occur when Julia looks to find a display to output the graph to. To fix this error we must tell Julia to not output to any display. This is done by adding the following two lines at the beginning of the program.

ENV["PLOTS_TEST"] = "true"
ENV["GKSwstype"] = "100"

Leave a comment