Page 1 of 1

Problem of partitioning for codesaturne 2.0

Posted: Fri Nov 23, 2012 1:36 pm
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

Re: Problem of partitioning for codesaturne 2.0

Posted: Fri Nov 23, 2012 3:45 pm
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

Re: Problem of partitioning for codesaturne 2.0

Posted: Sat Nov 24, 2012 4:33 am
by yhuang
Thanks!

Re: Problem of partitioning for codesaturne 2.0

Posted: Mon Nov 26, 2012 12:27 pm
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

Re: Problem of partitioning for codesaturne 2.0

Posted: Mon Nov 26, 2012 4:11 pm
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

Re: Problem of partitioning for codesaturne 2.0

Posted: Tue Nov 27, 2012 11:41 am
by yhuang
Thanks!