PARALLELING COMPUTATION

Discussion about building and installing Elmer
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: PARALLELING COMPUTATION

Post by kevinarden »

Can you send a copy of your parallel settings window like Rich did?
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: PARALLELING COMPUTATION

Post by Andrea_P »

kevinarden wrote: 18 Jun 2021, 12:51 Can you send a copy of your parallel settings window like Rich did?
Attachments
Immagine 2021-06-18 115404.jpg
Immagine 2021-06-18 115404.jpg (58.68 KiB) Viewed 3243 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: PARALLELING COMPUTATION

Post by kevinarden »

The executable line is fine, but I would make the argument line just like Rich's.
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

I had to change three boxes in order to get it to work.

On my laptop with W10, here is the full path to mpiexec.exe:

C:\Program Files\Microsoft MPI\Bin

so the executable box should contain:

C:\Program Files\Microsoft MPI\Bin\mpiexec.exe

Since opening a command prompt and entering 'mpiexec' worked, that shows that mpiexec has a PATH entry, so there's no need to include the full path in the executable box. Just entering 'mpiexec.exe' in the executable box worked for me.

I also had to update the argument box and the divide box, using the settings that kevinarden posted earlier in this thread.

To summarize, in W10 on my laptop, three boxes had to be changed from their default settings. Change the executable box, change the argument box, and change the divide box. The fourth box apparently is not used anymore, Paraview does the merging for you.

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: 18 Jun 2021, 14:52 I had to change three boxes in order to get it to work.

On my laptop with W10, here is the full path to mpiexec.exe:

C:\Program Files\Microsoft MPI\Bin

so the executable box should contain:

C:\Program Files\Microsoft MPI\Bin\mpiexec.exe

Since opening a command prompt and entering 'mpiexec' worked, that shows that mpiexec has a PATH entry, so there's no need to include the full path in the executable box. Just entering 'mpiexec.exe' in the executable box worked for me.

I also had to update the argument box and the divide box, using the settings that kevinarden posted earlier in this thread.

To summarize, in W10 on my laptop, three boxes had to be changed from their default settings. Change the executable box, change the argument box, and change the divide box. The fourth box apparently is not used anymore, Paraview does the merging for you.

Rich.
I attach what I obtained. I tried to apply your suggestions.
-Andrea
Attachments
case.sif
(4.74 KiB) Downloaded 182 times
output.txt
(3.06 KiB) Downloaded 186 times
Immagine 2021-06-18 143824.jpg
Immagine 2021-06-18 143824.jpg (52.1 KiB) Viewed 3239 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

In your output file:

Starting program Elmergrid
Elmergrid reading in-line arguments
Using dual (elemental) graph in partitioning.
The mesh will be partitioned with Metis to 2 partitions.
Output will be saved to file C:/SSD/POLITO/TESI.

Elmergrid loading data:
-----------------------
Loading mesh in ElmerSolver format from directory C:/SSD/POLITO/TESI.
LoadElmerInput: The opening of the header-file mesh.header failed!

This means Elmergrid can't find the mesh.* files, hence the failure.

In your sif file:

Header
Mesh DB "." ""
Include Path ""
Results Directory ""
End

this line should have a second period, like this:

Mesh DB "." "."

When I ran the tutorial FlowStepKe, elmergrid found the mesh files in ' Mesh DB "." "."', and created a sub folder named 'partitioning.4' with the partitions.

Getting closer!

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: 18 Jun 2021, 16:03 In your output file:

Starting program Elmergrid
Elmergrid reading in-line arguments
Using dual (elemental) graph in partitioning.
The mesh will be partitioned with Metis to 2 partitions.
Output will be saved to file C:/SSD/POLITO/TESI.

Elmergrid loading data:
-----------------------
Loading mesh in ElmerSolver format from directory C:/SSD/POLITO/TESI.
LoadElmerInput: The opening of the header-file mesh.header failed!

This means Elmergrid can't find the mesh.* files, hence the failure.

In your sif file:

Header
Mesh DB "." ""
Include Path ""
Results Directory ""
End

this line should have a second period, like this:

Mesh DB "." "."

When I ran the tutorial FlowStepKe, elmergrid found the mesh files in ' Mesh DB "." "."', and created a sub folder named 'partitioning.4' with the partitions.

Getting closer!

Rich.
Hi,
I am retrying with the parallel computation. Now, I have obtained this mistake.
-Andrea
Attachments
output.txt
(10.19 KiB) Downloaded 168 times
Screenshot at 2021-07-13 10-36-35.png
Screenshot at 2021-07-13 10-36-35.png (55.19 KiB) Viewed 3044 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

This is the error message in your output log file:
WARNING:: LoadMesh: Requested mesh > ./. < in partition 3 does not exist!
Would you please post your latest sif file?

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, 16:25 This is the error message in your output log file:
WARNING:: LoadMesh: Requested mesh > ./. < in partition 3 does not exist!
Would you please post your latest sif file?

Rich.
Thanks. I attach the case.sif
-Andrea
Attachments
case.sif
(6.15 KiB) Downloaded 173 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

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.
Post Reply