admin:compilaciones:amber
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| admin:compilaciones:amber [2025/08/29 13:41] – [Amber20 - SYCL] joaquintorres | admin:compilaciones:amber [2026/01/24 14:22] (current) – joaquintorres | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| vi run_cmake # edito y cambio a -DCOMPILER=GNU a -DCOMPILER=INTELLLVM | vi run_cmake # edito y cambio a -DCOMPILER=GNU a -DCOMPILER=INTELLLVM | ||
| ./run_cmake | ./run_cmake | ||
| + | make install | ||
| source / | source / | ||
| cd $AMBERHOME | cd $AMBERHOME | ||
| Line 23: | Line 24: | ||
| </ | </ | ||
| - | Me hinché y repetí los pasos con GNU / gnu12, funciona mejor que con Intel 2023. | + | Me hinché y repetí los pasos con gnu13 openmpi5, funciona mejor que con Intel 2023. |
| + | |||
| + | Es **clave** correr make install en lugar de make -j o make, aparentemente evita problemas de paralelización. | ||
| ==== Problemas ==== | ==== Problemas ==== | ||
| Line 55: | Line 58: | ||
| tar xvf Amber20_SYCL_patch_2024-02-05.tar.bz2 | tar xvf Amber20_SYCL_patch_2024-02-05.tar.bz2 | ||
| cd build | cd build | ||
| - | ml intel/ | + | ml intel/ |
| ./run_cmake | ./run_cmake | ||
| make install | make install | ||
| </ | </ | ||
| + | |||
| + | Si falla por flags de C++17, hay que editar los archivos | ||
| + | * src/ | ||
| + | * src/ | ||
| + | * src/ | ||
| + | * src/ | ||
| + | |||
| + | < | ||
| + | CXX_FLAGS = -O0 -fsycl -std=c++17 -O0 -fsycl -std=c++17 -std=gnu++11 | ||
| + | </ | ||
| + | por | ||
| + | < | ||
| + | CXX_FLAGS = -O0 -fsycl -std=c++17 -O0 -fsycl -std=c++17 | ||
| + | </ | ||
| + | |||
| + | Adicionalmente, | ||
| + | |||
| + | Por último, OneAPI toma la libstdc++ del sistema por dynamic linking. Como GCC11 soporta hasta GLIBCXX3.24.29 y este usa features de GLIBCXX3.24.32, | ||
admin/compilaciones/amber.1756474877.txt.gz · Last modified: by joaquintorres
