Skip to content

Commit

Permalink
Might as well call Pkg.precompile()
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Dec 20, 2024
1 parent 40a5a9d commit a607715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida_dftk/calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a607715

Please sign in to comment.