From a607715c61f6bfb933efe962a927439caa058964 Mon Sep 17 00:00:00 2001 From: Technici4n <13494793+Technici4n@users.noreply.github.com> Date: Fri, 20 Dec 2024 09:52:16 +0100 Subject: [PATCH] Might as well call Pkg.precompile() --- src/aiida_dftk/calculations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiida_dftk/calculations.py b/src/aiida_dftk/calculations.py index 38a9ce8..6d970e0 100644 --- a/src/aiida_dftk/calculations.py +++ b/src/aiida_dftk/calculations.py @@ -282,7 +282,7 @@ def prepare_for_submission(self, folder): codeinfo = datastructures.CodeInfo() codeinfo.code_uuid = self.inputs.code.uuid codeinfo.cmdline_params = [ - '-e', f'using AiidaDFTK; println("{self._SUCCESS_PRINT}")' + '-e', f'using Pkg; Pkg.precompile(; strict=true); using AiidaDFTK; println("{self._SUCCESS_PRINT}")' ] codeinfo.withmpi = False