PARALLELING COMPUTATION
-
- Posts: 2312
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PARALLELING COMPUTATION
Can you send a copy of your parallel settings window like Rich did?
-
- Posts: 176
- Joined: 22 Mar 2021, 18:39
- Antispam: Yes
- Location: POLYTHECNIC UNIVERSITY OF TURIN
Re: PARALLELING COMPUTATION
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 (58.68 KiB) Viewed 3304 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
-
- Posts: 2312
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: PARALLELING COMPUTATION
The executable line is fine, but I would make the argument line just like Rich's.
Re: PARALLELING COMPUTATION
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.
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.
-
- Posts: 176
- Joined: 22 Mar 2021, 18:39
- Antispam: Yes
- Location: POLYTHECNIC UNIVERSITY OF TURIN
Re: PARALLELING COMPUTATION
I attach what I obtained. I tried to apply your suggestions.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.
-Andrea
- Attachments
-
- case.sif
- (4.74 KiB) Downloaded 185 times
-
- output.txt
- (3.06 KiB) Downloaded 188 times
-
- Immagine 2021-06-18 143824.jpg (52.1 KiB) Viewed 3300 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Re: PARALLELING COMPUTATION
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.
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.
-
- Posts: 176
- Joined: 22 Mar 2021, 18:39
- Antispam: Yes
- Location: POLYTHECNIC UNIVERSITY OF TURIN
Re: PARALLELING COMPUTATION
Hi,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.
I am retrying with the parallel computation. Now, I have obtained this mistake.
-Andrea
- Attachments
-
- output.txt
- (10.19 KiB) Downloaded 173 times
-
- Screenshot at 2021-07-13 10-36-35.png (55.19 KiB) Viewed 3105 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Re: PARALLELING COMPUTATION
This is the error message in your output log file:
Rich.
Would you please post your latest sif file?WARNING:: LoadMesh: Requested mesh > ./. < in partition 3 does not exist!
Rich.
-
- Posts: 176
- Joined: 22 Mar 2021, 18:39
- Antispam: Yes
- Location: POLYTHECNIC UNIVERSITY OF TURIN
Re: PARALLELING COMPUTATION
Thanks. I attach the case.sif
-Andrea
- Attachments
-
- case.sif
- (6.15 KiB) Downloaded 176 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Re: PARALLELING COMPUTATION
Elmergrid successfully partitioned the mesh and stored the mesh as shown below.
Rich.
Can you show the project directory listing?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.
Rich.