ParMETIS not found

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
fracenvi
Posts: 40
Joined: Wed Jun 19, 2024 9:58 am

ParMETIS not found

Post by fracenvi »

Hello,

I'm trying to run a case where mesh partitioning is required and i have the following error:

Code: Select all

/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?

Thanks for the help,
Francesco
Attachments
setup.txt
(4.42 KiB) Downloaded 7 times
install_saturne.log
(2.82 MiB) Downloaded 9 times
Yvan Fournier
Posts: 4238
Joined: Mon Feb 20, 2012 3:25 pm

Re: ParMETIS not found

Post by Yvan Fournier »

Hello,

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).

Best regards,

Yvan
fracenvi
Posts: 40
Joined: Wed Jun 19, 2024 9:58 am

Re: ParMETIS not found

Post by fracenvi »

Hello Yvan,

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.

Thanks for the help,
Francesco
Attachments
cs_user_scripts.py
(17.03 KiB) Downloaded 2 times
Post Reply