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