charm icon indicating copy to clipboard operation
charm copied to clipboard

While building charm with AVX512 flags facing error

Open ajithvcoder opened this issue 4 years ago • 3 comments

I am trying to build charm 6.10.2 with AVX512 flag ./build charm++ multicore-linux-x86_64 iccstatic --with-production "-O3 -ip -xCORE-AVX512" Facing below error

snap_namd_AVX512

below attachement is config.log file config.zip

kindly give us a solution.

Even though this fix was done in 6.10.2 version it is still occurring.

ajithvcoder avatar Mar 02 '22 05:03 ajithvcoder

It is misdetecting the Python version, which is why the build fails. It is the same issue as https://github.com/UIUC-PPL/charm/issues/3546.

Could you try building Charm++ 7.0.0 with the same options?

Also, could you please paste your Python, AWK, and bash versions?

matthiasdiener avatar Mar 03 '22 17:03 matthiasdiener

python - 3.9.7 bash - 5.0.17(1)-release awk - GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0)

Above is my version details.

  1. But the same builds fine for charm 6.10.2 with AVX512 flag ./build charm++ multicore-linux-x86_64 iccstatic --with-production "-O3 -ip " . is it expected ?

  2. Yes 7.0.0 builds after running "make pgm" i get below result , pgm file is not present after building successfully Is it expected ?

snap_erors

  1. icpc: warning #10237: -lcilkrts linked in dynamically, static library not available . i get this warning , do u know how to get rid of it.

  2. I get below error if use charm-AVX512 for compiling namd. I followed this post snap_tims

(this doesn occur if charm is built without AVX512 flag).

ajithvcoder avatar Mar 04 '22 18:03 ajithvcoder

the point 5 is also thrown from charm lib only

ajithvcoder avatar Mar 04 '22 19:03 ajithvcoder

One thing worth mentioning is that the parameters at the end of the build command should not be enclosed in quotes. For example, ./build charm++ multicore-linux-x86_64 iccstatic --with-production -O3 -ip -xCORE-AVX512.

evan-charmworks avatar May 16 '23 02:05 evan-charmworks

Please reopen if this is still an issue.

evan-charmworks avatar Jun 24 '23 05:06 evan-charmworks