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