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 »

kevinarden wrote: 17 Jun 2021, 14:45 Yes it can be used in windows.

You could try mpiexec instead of mpirun, MPICH uses mpiexec.
so, in windows I have to open parallel settings and when I did it, do I have to choose STARTINFO with the button browser or just push the green button Start?
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: PARALLELING COMPUTATION

Post by kevinarden »

If under the run parallel settings, the use parallel check box is on. Then the green start button will run the parallel solver.
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: 17 Jun 2021, 17:41 If under the run parallel settings, the use parallel check box is on. Then the green start button will run the parallel solver.
so, it keeps on saying

Code: Select all

 
Unable to start parallel solver 
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: PARALLELING COMPUTATION

Post by kevinarden »

If you are on windows you can go to the C drive in explorer and search for mpi to see if it finds any executable starting with mpi such as
mpirun.exe
mpiexec.exe
If it does not find anything then mpi is not installed.

on the unix machine you can do

find /usr -name "mpi*"
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

Hello,

In Windows 10, with last nights build of ElmerGUI with mpi, the settings in the attached screen shot worked while running the FlowStepKe tutorial.

As a separate note, the tutorial ran to completion in serial, but in parallel it stopped after 7 iterations saying 'Diverged'.

Rich.
Attachments
parallel-settings.png
(65.07 KiB) Not downloaded yet
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: 17 Jun 2021, 19:22 Hello,

In Windows 10, with last nights build of ElmerGUI with mpi, the settings in the attached screen shot worked while running the FlowStepKe tutorial.

As a separate note, the tutorial ran to completion in serial, but in parallel it stopped after 7 iterations saying 'Diverged'.

Rich.
Thanks, do I have to create an other case.sif?
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

The same .sif file is used in serial or in parallel in ElmerGUI.

Note, also make sure there aren't any spaces in the path (directories) to your example.

Rich.
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: PARALLELING COMPUTATION

Post by kevinarden »

You should check that mpiexec.exe exists in your windows installation, for example it does on my W10 desktop, but it does not on my W10 laptop.
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: PARALLELING COMPUTATION

Post by Rich_B »

One way to check that mpiexec.exe is installed in Windows 10, is to open a command prompt and enter 'mpiexec'. If it is installed, then you should see something like this:

Microsoft MPI Startup Program [Version 10.1.12498.18]
Launches an application on multiple hosts.

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: 17 Jun 2021, 21:44 One way to check that mpiexec.exe is installed in Windows 10, is to open a command prompt and enter 'mpiexec'. If it is installed, then you should see something like this:

Microsoft MPI Startup Program [Version 10.1.12498.18]
Launches an application on multiple hosts.

Rich.
Yes, it is installed. So, how can I launch the application?
-Andrea
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Post Reply