mpi problem

3,776 views
Skip to first unread message

rosegol

unread,
Jul 18, 2013, 8:07:28 AM7/18/13
to fds...@googlegroups.com
hi every body...
I want to run fds6 in MPI mode. I installed mpich2-1.3.2p1 win-x86-64 . my test case has 2 meshes and I want to use 2 cores of my laptop. here is my config file . 
exe\\[compueter name]\[file location of fds]\fds_mpi.exe[file name].fds
dir\\[computer name]\[file location for output]
hosts
[computer name] 2
I put my config file in the bin of FDS . then I opened command prompt and navigate to the directory where  the config is and then type:
fds_mpi config.txt on command line.
It appears:
process 0 of 0 is running on [computer name]
ERROR: no MESH line<s> defined

what is the problem? should I define meshes in config file?
 thank you in advanced 




dr_jfloyd

unread,
Jul 18, 2013, 8:24:23 AM7/18/13
to fds...@googlegroups.com
Read section 3.1.2 of the FDS 6 User's Guide and refer to the example command line showing how to run an MPI job with MPICH2

rosegol

unread,
Jul 18, 2013, 10:04:36 AM7/18/13
to fds...@googlegroups.com
tnx dr_jfloyd. but in user guide says that write mpiexec -file config.txt
when I typed it in command window it says that 'mpiexec' is not recognized as an internal or external command,operable program or batch file.

dr_jfloyd

unread,
Jul 18, 2013, 10:52:38 AM7/18/13
to fds...@googlegroups.com
Then the directory where it is installed isn't in your path. Add to your path or give the full directory as part of the command.

rosegol

unread,
Jul 18, 2013, 11:15:37 AM7/18/13
to fds...@googlegroups.com

here is the directory of installed fds 
C:\Program Files\FDS\FDS6\bin
I put my config.txt and fds case in the bin too
and here is my command line
C:\Program Files\FDS\FDS6\bin>mpiexec -config.txt
here is the error
 'mpiexec' is not recognized as an internal or external command,operable program or batch file
if I type in command window this:
C:\Program Files\FDS\FDS6\bin>fds_mpi config.txt
this error appears
process 0 of 0 is running on [computer name]
ERROR: NO MESH line<s>defined.

what is my mistake?

dr_jfloyd

unread,
Jul 18, 2013, 12:41:04 PM7/18/13
to fds...@googlegroups.com
same two mistakes.

1) mpiexec is not in your path so when you just type mpiexec it gives the error that it can't find it
2) fds_mpi congfig.txt doesn't work because it is not the correct command. The correct command is as given in the User's Guide using mpiexec

rosegol

unread,
Jul 19, 2013, 1:50:06 AM7/19/13
to fds...@googlegroups.com
tnx dr_jfloyd. I copy my config.txt in the bin of mpich2 and write in command window this
 C:\Program files\MPICH2\bin\mpiexec -file config.txt
but it appears:
ERROR: no executable specified
Unable to parse the mpiexec command arguments.

Barbro Maria Storm

unread,
Jul 19, 2013, 4:17:03 AM7/19/13
to fds...@googlegroups.com
What is in your config.txt-file?

On another note:
In my experience you should upgrade to latest MPICH2 version with FDS6.
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/fds-smv/37434299-2b17-4cce-afc7-68cf9459b6e0%40googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Barbro Storm

rosegol

unread,
Jul 19, 2013, 7:55:22 AM7/19/13
to fds...@googlegroups.com
here is my config.txt
exe\\[computer name]\C:\Program Files\FDS\FDS6\bin\fds.exe testcase.fds
dir\\[computer name]\C:\Program Files\FDS\FDS6\bin\MPI
hosts
[computer name] 2

palinda bandara

unread,
Jul 19, 2013, 9:57:00 AM7/19/13
to fds...@googlegroups.com
Rosegol,

Can you please refer to the below link where a similar issue has been discussed before & check if it resolves your problem? The only difference is that it was intended for fds 5. Hope this helps.



Barbro S.

unread,
Jul 19, 2013, 2:54:56 PM7/19/13
to fds...@googlegroups.com
Hi again! 
First if all, you need to use fds_mpi.exe (name is not exact, but you see the difference). 

If you're just using a local machine you can save yourself a lot of trouble using command line instead of config.txt. Are you sure you have admin-rights? Also, remember to boot after installing MPICH2. A few times if you run into trouble. If trying to switch versions (do use the latest version w/FDS 6), remove-reboot-install-reboot. 

I'm not close to a computer right now(1) but it goes something like this:
(In FDS-file folder - here w/windows commands, but basically same structure w/Linux)
C:/program files/MPICH2/bin/mpiexec.exe --localonly -n 2 C:/program files/FDS/FDS6/bin/fds_mpi.exe testcase.fds

Also, try "mpiexec.exe -help" and google Gissi's FDS user guide, it's very helpful. 

Dear regards,
Barbro Storm
Fire Engineer

Sent via/iPhone

rosegol

unread,
Jul 20, 2013, 8:08:09 AM7/20/13
to fds...@googlegroups.com
thank you dear Barbro.. I will try your guieds and tell you the result . tnx again 

yamina

unread,
Feb 15, 2014, 5:04:13 PM2/15/14
to fds...@googlegroups.com
hi everyone
I have the same problem
do you resolved it?
if yes can you tell me how?
thak you a lot
Reply all
Reply to author
Forward
0 new messages