From 73582ab94605f07ddeae99426b156f8c3530ff48 Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 18 Oct 2022 21:56:27 +0800 Subject: [PATCH] Set Julia threads to auto --- genie-app.service | 1 + setup.org | 1 + 2 files changed, 2 insertions(+) diff --git a/genie-app.service b/genie-app.service index 990e341..28f22e9 100644 --- a/genie-app.service +++ b/genie-app.service @@ -10,6 +10,7 @@ Group=genie ExecStart=/opt/emacs-survey/bin/server WorkingDirectory=/opt/emacs-survey Environment="GENIE_ENV=prod" +Environment="JULIA_NUM_THREADS=auto" [Install] WantedBy=multi-user.target diff --git a/setup.org b/setup.org index b15af5d..e5162de 100644 --- a/setup.org +++ b/setup.org @@ -178,6 +178,7 @@ Group=genie ExecStart=/opt/emacs-survey/bin/server WorkingDirectory=/opt/emacs-survey Environment="GENIE_ENV=prod" +Environment="JULIA_NUM_THREADS=auto" [Install] WantedBy=multi-user.target