Problem of partitioning for codesaturne 2.0

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
yhuang
Posts: 32
Joined: Tue Mar 27, 2012 2:14 pm

Problem of partitioning for codesaturne 2.0

Post by yhuang »

hello,everyone

Recently,I use the command "cs_partition" for partitioning, when the number of mesh is 40million, there is no problem, but when the number of mesh is 56million,there is an error, "Error! ***Memory allocation failed for SetUpCoarseGraph: gdata".

But the memory of computer is enough, the memory is 128G.

By the way, the version of METIS is 4.0.

Thanks very much!

Yuan Huang
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem of partitioning for codesaturne 2.0

Post by Yvan Fournier »

Hello,

You are lucky it even worked at 40 million. With Metis 4.0, anything above 25 million may fail.

You need to upgrade to Metis 5.0, or SCOTCH 5.12, and things should be much better.

Best regards,

Yvan Fournier
yhuang
Posts: 32
Joined: Tue Mar 27, 2012 2:14 pm

Re: Problem of partitioning for codesaturne 2.0

Post by yhuang »

Thanks!
yhuang
Posts: 32
Joined: Tue Mar 27, 2012 2:14 pm

Re: Problem of partitioning for codesaturne 2.0

Post by yhuang »

Hello

Can the codesaturne 2.0 been installed with Metis 5.0?

I install codesaturne 2.0 with Metis 5.0, but there was error. The detail see the attchment.

How to handle this?

By the way, is there a command in codesaturne 3.0 only for partitioning like "cs partition" in codesaturne 2.0?

Thanks!

Yuan Huang
Attachments
install_saturne.log
(300.59 KiB) Downloaded 202 times
config.log
(84.7 KiB) Downloaded 199 times
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem of partitioning for codesaturne 2.0

Post by Yvan Fournier »

Hello,

Code_Saturne 2.0 can be installed with Metis 5.0, but you need to use a more recent version than 2.0.1: you need to upgrade the Preprocessor (ECS) to version 2.0.3 (the version 2.0.1 you are using is older than Metis 5).

In Code_Saturne 3.0, partitioning is intergrated into the main solver, but you can run that step "almost" alone by selecting a "preprocessing only" type run and saving the partitioning (see performance tuning in the GUI or cs_user_performance_tuning.c for the latter).

Regards,

Yvan
yhuang
Posts: 32
Joined: Tue Mar 27, 2012 2:14 pm

Re: Problem of partitioning for codesaturne 2.0

Post by yhuang »

Thanks!
Post Reply