/home/cenvinzf@coria.fr/Desktop/code_saturne_coria-HuuTri_dev/code_saturne/src/mesh/cs_partition.c:2934: Fatal error.
Partitioning with METIS required but neither
ParMETIS nor METIS is available.
Yet, the code has been installed including ParMETIS library, so i can't really figure out what might be causing this issue. Does anybody have a guess?
Looking at your install_saturne.log file, it seems that METIS/ParMetis support was not detected correctly, so you may have an issue in the provided path or a compatibility issue (you would need to check the config.log file in the code_saturne build directory to determine the details).
In any case, you should probably be fine without ParMETIS, using either PT-Scotch or the built-in space-filling curve-based partitioner (with best results usually obtained with PT-Scotch, but this depends on the mesh).
Actually i noticed that this error appears only when i try to run a case which involves the C++ implementation of PyTorch (i'm trying to run an ANN inference inside the code). To test it, i tried to run a case without implementing PyTorch and with the same code configuration, and the error doesn't seem to appear.
Is there a possible conflict between PyTorch and some of Metis dependencies?
I posted the cs_user_script.py file as well to give context.
In your install.log, you can see that ParMetis support is not available.
For details to understand why the detection failed in that build, you need to check the config.log file in the code_saturne build directory.