PARALLELING COMPUTATION

Discussion about building and installing Elmer
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: PARALLELING COMPUTATION

Post by Andrea_P »

Rich_B wrote: 13 Jul 2021, 18:16 Elmergrid successfully partitioned the mesh and stored the mesh as shown below.
Created mesh directory: /nobackup/st/palmarini/CASO
Created subdirectory: partitioning.3
Saving mesh in parallel ElmerSolver format to directory /nobackup/st/palmarini/CASO/partitioning.3.
Can you show the project directory listing?

Rich.
I think it is this one:

Code: Select all

/nobackup/st/palmarini/CASO OSCILLAZIONI/CON CAMPO MAGNETICO/PROFILO TECHNICAL NOTES/MESH_300X600_b_1
Andrea
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

Elmergrid can't tolerate any spaces in the directory names.

You wanted this
/nobackup/st/palmarini/CASO OSCILLAZIONI/CON CAMPO MAGNETICO/PROFILO TECHNICAL NOTES/MESH_300X600_b_1
Elmergrid stopped at the first space and stored the partition meshes into
/nobackup/st/palmarini/CASO
So, just make a new project directory, without any spaces, or convert the spaces to underscores, and run again, it should work.

Rich.
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: PARALLELING COMPUTATION

Post by Andrea_P »

Rich_B wrote: 13 Jul 2021, 18:36 Elmergrid can't tolerate any spaces in the directory names.

You wanted this
/nobackup/st/palmarini/CASO OSCILLAZIONI/CON CAMPO MAGNETICO/PROFILO TECHNICAL NOTES/MESH_300X600_b_1
Elmergrid stopped at the first space and stored the partition meshes into
/nobackup/st/palmarini/CASO
So, just make a new project directory, without any spaces, or convert the spaces to underscores, and run again, it should work.

Rich.
Right now, I try. Thanks again.
Andrea
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: PARALLELING COMPUTATION

Post by Andrea_P »

Rich_B wrote: 13 Jul 2021, 18:36 Elmergrid can't tolerate any spaces in the directory names.

You wanted this
/nobackup/st/palmarini/CASO OSCILLAZIONI/CON CAMPO MAGNETICO/PROFILO TECHNICAL NOTES/MESH_300X600_b_1
Elmergrid stopped at the first space and stored the partition meshes into
/nobackup/st/palmarini/CASO
So, just make a new project directory, without any spaces, or convert the spaces to underscores, and run again, it should work.

Rich.
This is the new output file.
Andrea
Attachments
output.txt
(7.99 KiB) Downloaded 177 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

Here is the error message:
WARNING:: CheckLinearSolverOptions: Only MUMPS and CPardiso direct solver interface implemented in parallel, trying MUMPS!
ERROR:: CheckLinearSolverOptions: MUMPS solver has not been installed.
This looks like a continuation of this post:
viewtopic.php?f=2&t=7528&p=25355&hilit= ... mps#p25355

Can you try an iterative solver?

Rich.
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: PARALLELING COMPUTATION

Post by Andrea_P »

Rich_B wrote: 13 Jul 2021, 19:05 Here is the error message:
WARNING:: CheckLinearSolverOptions: Only MUMPS and CPardiso direct solver interface implemented in parallel, trying MUMPS!
ERROR:: CheckLinearSolverOptions: MUMPS solver has not been installed.
This looks like a continuation of this post:
viewtopic.php?f=2&t=7528&p=25355&hilit= ... mps#p25355

Can you try an iterative solver?

Rich.
Unfortunately, I can't use an iterative method. It's better a direct one. Eventually, it should work, if I didn't use Umfpack. Do you know how the restart file works ?
-Andrea
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

Regarding the restart file, I've never used it, so can't say anything about it.

The error message indicates that umfpack isn't designed to be run in parallel. Does the case run properly in serial operation?

Rich.
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: PARALLELING COMPUTATION

Post by Andrea_P »

Rich_B wrote: 13 Jul 2021, 19:26 Regarding the restart file, I've never used it, so can't say anything about it.

The error message indicates that umfpack isn't designed to be run in parallel. Does the case run properly in serial operation?

Rich.
Honestly, I don't know if the case is for serial operation. How could I check?
Andrea
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

In ElmerGUI, click on 'Run', 'Parallel settings', and uncheck the box 'use parallel solver', then click on the green arrow to run.

Rich.
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: PARALLELING COMPUTATION

Post by Andrea_P »

Rich_B wrote: 13 Jul 2021, 20:00 In ElmerGUI, click on 'Run', 'Parallel settings', and uncheck the box 'use parallel solver', then click on the green arrow to run.

Rich.
So, you referred to that. The problem runs well until the 900th iteration when it diverges. I have written a post about that: viewtopic.php?f=3&t=7592
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Post Reply