Parallel computation is failing to start (that's all the log says)

Numerical methods and mathematical models of Elmer
Post Reply
ender_wiggin
Posts: 18
Joined: 21 Jun 2023, 22:56
Antispam: Yes

Parallel computation is failing to start (that's all the log says)

Post by ender_wiggin »

I'm trying to simulate a radiative heat transfer + linear elasticity model with a mesh I built in Salome. The log file simply says the parallel solver failed to start.

I'm using the Windows GUI+MPI binary compiled shortly before December 23, 2023. I have previously used the parallel solver with success.

I have attached the sif and log files.

I'm not sure what else to say because I cannot find any errors being printed out in the log.
Attachments
failed_run.log
The log stating the parallel solver failed to start
(6.86 KiB) Downloaded 27 times
case.sif
my sif
(3.16 KiB) Downloaded 18 times
Rich_B
Posts: 423
Joined: 24 Aug 2009, 20:18

Re: Parallel computation is failing to start (that's all the log says)

Post by Rich_B »

Hello,

It would help if you would post the command line entries that you used. A working example would be even more helpful. Elmer is very flexible, which also means lot's of little things can go wrong. If your model isn't proprietary, maybe you could post it on a file sharing location, such as github.

Rich.
ender_wiggin
Posts: 18
Joined: 21 Jun 2023, 22:56
Antispam: Yes

Re: Parallel computation is failing to start (that's all the log says)

Post by ender_wiggin »

I will see what I can do for posting a model.

Also, unless I should put all things done through the GUI on the ElmerGUI forum regardless of the situation, I deemed that this is generally unrelated to the GUI itself as opposed to an issue with how the solver is launched. I can certainly provide a screenshot of the parallel computation dialogue box which, as far as I know, provides the information for exactly how parallel solutions are launched.
Rich_B
Posts: 423
Joined: 24 Aug 2009, 20:18

Re: Parallel computation is failing to start (that's all the log says)

Post by Rich_B »

Hello,

A screenshot will help. Being able to duplicate your run is very helpful.

Rich.
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Parallel computation is failing to start (that's all the log says)

Post by raback »

Hi,

I would recommend always starting any given problemtype in serial and only going parallel (and up-scaling) only when a reasonable solution has been established. This is pretty basic so there should be no major caveats but obviously it does not find the parallel solver.

-Peter
Rich_B
Posts: 423
Joined: 24 Aug 2009, 20:18

Re: Parallel computation is failing to start (that's all the log says)

Post by Rich_B »

Hello,

I was able to duplicate the error. . All I did was take a working ElmerGUI parallel example, open parallel settings, and in the 'Executable' box, misspell 'mpiexec.exe', and then run.
Unable to start parallel solver
Rich.
kevinarden
Posts: 2316
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Parallel computation is failing to start (that's all the log says)

Post by kevinarden »

That would certainly break it, another other would be not having the path to ElmerSolver defined, a third would not be having mpi installed, or having the other mpi installed that uses a different executable then mpiexec.exe (microsoft versus openmpi)
Rich_B
Posts: 423
Joined: 24 Aug 2009, 20:18

Re: Parallel computation is failing to start (that's all the log says)

Post by Rich_B »

Using the same parallel ElmerGUI example, and mis-spelling 'ElmerSolver', gives this error message:
ERROR: Error reported: failed to launch 'ElmerSolv0er_mpi.exe' on DESKTOP-D6N8F4T
Error (2) The system cannot find the file specified.
Another case, with ElmerSolver spelled properly and adding an invalid option '-nvist', gives this error message:
Unknown option: -nvist
Rich.
kevinarden
Posts: 2316
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Parallel computation is failing to start (that's all the log says)

Post by kevinarden »

I test my system by repeating what is in the ElmerGUI set up in a command window, that way you get OS errors, not Elmer's report of couldn't start the solver
command.png
(129.35 KiB) Not downloaded yet
Post Reply