Error precompiling on cluster

This summarizes the solution to my issue.

The culprit was indeed in @jishnub tip:

For me, I have an LSF cluster, and the appropriate way to find the CPU of the nodes is to run

lshosts -w

This shows that many CPUs are Intel_Skylake, but does not reveal the full details of the CPU.
Setting in .bashrc

export JULIA_CPU_TARGET="generic;skylake,clone_all;icelake-server,clone_all"

solved the issue.

Let me also mention that for the LSF cluster, one can submit the job to run only on nodes with a specific CPU. I used when I run bsub this option

-R select [model=Intel_Skylake]

Thanks, Everyone!

3 Likes