OPENMPI failed to start

2,602 views
Skip to first unread message

luca.mi...@gmail.com

unread,
May 1, 2017, 3:44:12 PM5/1/17
to FDS and Smokeview Discussions
Hi,

I am trying to run a simple fds file composed by two mesh (untitled.fds), using Ubunut 16.04. I decided to run parallel calculation using OPENMPI. I have installed it using this tutorial https://www.youtube.com/watch?v=QIMAu_o_5V8 , and I am trying to follow the Openmpi clause 3.1.2 of the FDS guide (version 6).

I have typed on the terminal of Ubuntu this line:

mpirun -np 2 fds_mpi_linux_64 untitled.fds

But the output is the following;

--------------------------------------------------------------------------
mpirun was unable to find the specified executable file, and therefore
did not launch the job.  This error was first reported for process
rank 0; it may have occurred for other processes as well.

NOTE: A common cause for this error is misspelling a mpirun command
      line parameter option (remember that mpirun interprets the first
      unrecognized command line token as the executable).

Node:      luca-HP-ENVY-15-Notebook-PC
Executable: fds_mpi_linux_64
--------------------------------------------------------------------------
2 total processes failed to start


So, Am I missing something? should I place somewhere the fds_mpi_linux_64 executable and where can I download it?


Thanks in advance (I am student-beginner)

Luca

Salah Benkorichi

unread,
May 1, 2017, 3:45:05 PM5/1/17
to fds...@googlegroups.com
I will take a look

--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+unsubscribe@googlegroups.com.
To post to this group, send email to fds...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fds-smv/de1b495b-0081-4a69-8300-92be0da29dae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Salah Benkorichi

unread,
May 1, 2017, 3:48:00 PM5/1/17
to fds...@googlegroups.com
quick question,
are you running it with the bundle (i.e. the one you download from NIST page) or you compile fds yourself? (i.e. from Build/ directory).


Glenn Forney

unread,
May 1, 2017, 3:53:45 PM5/1/17
to fds...@googlegroups.com
Is fds_mpi_linux_64 in your path? 

--

Salah Benkorichi

unread,
May 1, 2017, 3:55:40 PM5/1/17
to fds...@googlegroups.com
Glenn, we have fds_mpi_intel_linux_64. He's using fds_mpi_linux_64. Is there such compiled one on the web?

Salah Benkorichi

unread,
May 1, 2017, 4:02:29 PM5/1/17
to fds...@googlegroups.com
The video you followed is not appropriate for that case to run it with fds. If you are using intel compiler, then you need to mention it explicitly during the configuration whereas the guy didn't do so. And fds needs to be compiled in case you prefer to use your own openmpi. Otherwise, there wont be compatibility (i.e. clearly report an error). If you dont want to compile it, then you might use the pre compiled version.
But, first answer my first question and then we see how to fix it.

dr_jfloyd

unread,
May 1, 2017, 4:09:43 PM5/1/17
to FDS and Smokeview Discussions
Are you trying to run one of the more recent releases of FDS?  We no longer have different MPI and OpenMP versions and there is only the one executable: fds
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fds-smv/de1b495b-0081-4a69-8300-92be0da29dae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.

luca.mi...@gmail.com

unread,
May 1, 2017, 4:10:41 PM5/1/17
to FDS and Smokeview Discussions

thank you for your help! I compile fds myself...

Salah Benkorichi

unread,
May 1, 2017, 4:13:23 PM5/1/17
to fds...@googlegroups.com
You cannot pass with fds compilation if your openmpi is not set properly. Answer this. Do you have intel compiler or not. 

On 1 May 2017 at 21:10, <luca.mi...@gmail.com> wrote:

thank you for your help! I compile fds myself...

--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+unsubscribe@googlegroups.com.
To post to this group, send email to fds...@googlegroups.com.

Glenn Forney

unread,
May 1, 2017, 4:13:24 PM5/1/17
to fds...@googlegroups.com
if you don't have it on your computer, go to the download page and install the linux version of fds and smokeview





For more options, visit https://groups.google.com/d/optout.



--
Glenn Forney

Salah Benkorichi

unread,
May 2, 2017, 4:47:38 AM5/2/17
to fds...@googlegroups.com

luca.mi...@gmail.com

unread,
May 2, 2017, 5:02:05 AM5/2/17
to FDS and Smokeview Discussions
Thank you...I will take a look
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fds-smv/de1b495b-0081-4a69-8300-92be0da29dae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.



--
Glenn Forney

--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.

Salah Benkorichi

unread,
May 6, 2017, 5:54:19 PM5/6/17
to fds...@googlegroups.com
Did you succeed in running fds with openmpi? 

To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+unsubscribe@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.

luca.mi...@gmail.com

unread,
Jun 19, 2017, 4:33:24 AM6/19/17
to FDS and Smokeview Discussions
Hi, thanks for all your help...

I was able to run my simulation in parallel, but  I used MPI. This is the procedure that I used

set OMP_NUM_THREADS=1
mpiexec -n 5 fds namefile.fds

The simulation time is satisfactory (in my very little experience). Can someone confirm that my procedure is correct? 

I also have several questions: 

1) Has someone suggestion about books or pubblications that I can study to understand difference between MPI and OpenMP? I still cannot understand if it is better to use MPI or OpenMP
2) If I use a cloud HPC (as sabalcore), is this procedure still correct?

Thank you in advance

Randy McDermott

unread,
Jun 19, 2017, 5:13:30 AM6/19/17
to FDS and Smokeview Discussions
Try to map each MESH in FDS to a PROCESS using MPI before you start increasing the number of OpenMP threads.

Take a couple of examples:

1. You have 5 meshes and also 5 available cores on your machine.  Then, as you have done, set OMP_NUM_THREADS=1, and mpiexec -n 5.

2. If you have 1 mesh and 5 cores available, then set OMP_NUM_THREADS=5 and run with a single MPI process.

To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+unsubscribe@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.

luca.mi...@gmail.com

unread,
Jun 19, 2017, 2:21:31 PM6/19/17
to FDS and Smokeview Discussions
Hi, first of all thank you!

I tried what you have suggested

You can find the results in the jpg file attached. I still cannot understand the difference between these two methods and which I should use.
If I use a cloud HPC, is this procedure still correct?
I have seen on this forum that someone uses the command mpirun, which is the difference between mpirun and mpiexec?

TRY.jpg
map.PNG

Randy McDermott

unread,
Jun 19, 2017, 2:41:26 PM6/19/17
to FDS and Smokeview Discussions
The first thing you need to understand is the difference between distribute memory parallel computing and shared memory parallel computing.



Distributed memory uses MPI.

Shared memory uses OpenMP.

How you should run your job on a cloud HPC system (e.g. Sablecore, AWS) depends on that system.

Whether you use the command mpiexec or mpirun depends on the MPI library you are using.





To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+unsubscribe@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.

dr_jfloyd

unread,
Jun 19, 2017, 2:52:20 PM6/19/17
to FDS and Smokeview Discussions
Linux uses mpirun, and Windows uses mpiexec  This is like rm vs erase; they do the same thing just different names on the different systems

Salah Benkorichi

unread,
Jun 19, 2017, 2:55:52 PM6/19/17
to fds...@googlegroups.com
You can read on the differences in profound way, just google it, a quick answer quoted from stackoverflow is as: 

OpenMP is a way to program on shared memory devices. This means that the parallelism occurs where every parallel thread has access to all of your data.

You can think of it as: parallelism can happen during execution of a specific for loop by splitting up the loop among the different threads.

MPI is a way to program on distributed memory devices. This means that the parallelism occurs where every parallel process is working in its own memory space in isolation from the others.

You can think of it as: every bit of code you've written is executed independently by every process. The parallelism occurs because you tell each process exactly which part of the global problem they should be working on based entirely on their process ID.

https://stackoverflow.com/questions/32464084/difference-between-mpi-and-openmp




To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+unsubscribe@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.

luca.mi...@gmail.com

unread,
Jun 19, 2017, 3:37:57 PM6/19/17
to FDS and Smokeview Discussions
Thank you so much to everybody for explainations. Now I think I Understood.

Cian Davis

unread,
Jul 25, 2017, 12:44:59 PM7/25/17
to fds...@googlegroups.com

As an aside, Linux generally uses mpiexec now too - the version distributed with FDS definitely does

On 19 June 2017 at 19:52, dr_jfloyd <drjf...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+unsubscribe@googlegroups.com.

To post to this group, send email to fds...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages