Is there a way to pass CPU targets to ITensor.compile()
, as can be done with the cpu_target
argument to PackageCompiler.create_sysimage()
? (relevant source: PackageCompiler.jl-create_sysimage
)
I encountered an error similar to Question for use ITensor compile() in shell when running my code on a cluster, since the architecture of some nodes is casecadelake
and icelake
for others (the sysimage was compiled on a node with icelake
architecture). I was hoping to be able to change the target, as mentioned in this Julia doc.
Alternatively, if I could determine where the source code of the ITensors.compile
function is, I would be happy to add this as an additional argument and push it back, if that might be of broader use.