Running FDS/SMV on Ubuntu 20.04.2.0 LTS

777 views
Skip to first unread message

John S.

unread,
May 20, 2021, 4:50:47 PM5/20/21
to FDS and Smokeview Discussions

I am trying to run FDS/Smokeview on a fresh install of the latest version of Ubuntu LTS (20.04.2.0-desktop-amd64).  I installed via the .sh file package through Terminal and I followed the instructions for installation without modules (here: https://github.com/firemodels/fds/wiki/Installing-and-Running-FDS-on-a-Linux-Cluster).  I do not have environmental modules installed on this OS and I did not have any version of FDS installed on this system previously.  The Terminal installation process goes through prompts and finishes. I did everything on default or first choice.  However, after restarting, when I type in the "fds" command in Terminal to check if it is installed correctly, I get an error that the command does not exist. Also, the program does not work correctly when calling it to run as instructed, although I was a bit unsure of the correct command in this new version of Ubuntu.


I'm certain the issue is that it is not installed correctly. I am using the latest version of FDS (6.7.5) released for Linux in Aug 21 2020. Perhaps I need an older version of Ubuntu? Or a different Linux OS type? I am new to Ubuntu and Linux but I have used it before and I use FDS a lot on Windows in Command Prompt so I am familiar with how to run it and what the commands and results should look like.


I could not find a version of Linux that FDS works best with listed on the NIST site.

I am certain Ubuntu is installed correctly.

If I do not find a solution, my next guess is to install the version of Ubuntu released before FDS latest release date, and try to install FDS there.


Thanks for any help!

Essa ALakel

unread,
May 20, 2021, 4:52:43 PM5/20/21
to fds...@googlegroups.com

hello 
 can u help me?


--
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 view this discussion on the web visit https://groups.google.com/d/msgid/fds-smv/6509be1e-e06a-4878-8580-23795d51aa03n%40googlegroups.com.
--
Essa
348D86AC-4AF7-4611-8AD2-E7187187988E.jpeg
99539BE9-E0AD-48D2-B387-2D32108DF4AB.png

Marcos Vanella

unread,
May 20, 2021, 5:05:04 PM5/20/21
to fds...@googlegroups.com
John, did you add the path to fds in your startup file? In your ~/.bashrc file:
source $HOME/FDS/FDS6/bin/FDS6VARS.sh
source $HOME/FDS/FDS6/bin/SMV6VARS.sh


--

John S.

unread,
May 20, 2021, 5:25:23 PM5/20/21
to FDS and Smokeview Discussions
I did this but I am a bit confused about the Linux Terminal command-line.

Do I type:

source $HOME/FDS/FDS6/bin/FDS6VARS.sh

(with my own filepath to FDS6VARS.sh)

Or do I type

HOME/FDS/FDS6/bin/FDS6VARS.sh

At the command line?

Thanks for your response.

Glenn Forney

unread,
May 20, 2021, 5:29:23 PM5/20/21
to fds...@googlegroups.com
type

source $HOME/FDS/FDS6/bin/FDS6VARS.sh

after that type 
which fds
to confirm that fds is in your path



--
Glenn Forney

John S.

unread,
May 20, 2021, 5:34:51 PM5/20/21
to FDS and Smokeview Discussions
I did this:

 I made the files executable by typing 

chmod +x /home/FDS/FDS6/bin/FDS6VARS.sh 

And then ran using the command: 

home/FDS/FDS6/bin/FDS6VARS.sh

I repeated this for both FDS6VARS.sh and SMV6VARS.sh and restarted. When I got and type fds into the command line it returns the error that the command does not exist.  Am I correct that you can type "fds" by itself regardless of filepath to get the confirmation of installation?

John S.

unread,
May 20, 2021, 5:36:47 PM5/20/21
to FDS and Smokeview Discussions
Ok, I was typing the wrong thing.  I tried what you said and I got no error and which fds worked correctly.

John S.

unread,
May 20, 2021, 5:39:49 PM5/20/21
to FDS and Smokeview Discussions
And now typing "fds' has the correct output.

Thank you!

While I have your attention.  I was having trouble finding an up to date tutorial on FDS Wiki for what is the correct command line in Terminal for running a .fds file on Ubuntu.  Can you give me an example of that command?

I know on Windows it is 'fds_local filename.fds' for an fds file in serial.  Is it similar on Linux Terminal? 

Marcos Vanella

unread,
May 20, 2021, 5:40:27 PM5/20/21
to fds...@googlegroups.com
open the file ~/.bashrc with your preferred text editor, and copy in there the two source lines I posted. HOME is an environment variable in your terminal, if you type echo $HOME you will see what it's value is (/home/youruser).

Marcos Vanella

unread,
May 20, 2021, 5:43:31 PM5/20/21
to fds...@googlegroups.com
forgot to tell you, next time you open a command window, typing fds should give you the fds program header. That means that the executable is in your path. For linux type "fds filename.fds", see the user guide.

John S.

unread,
May 20, 2021, 5:55:59 PM5/20/21
to FDS and Smokeview Discussions
Sounds good.  Thanks!
Reply all
Reply to author
Forward
0 new messages