# SMOKE v4.7 installation problem

**URL:** <https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559>\
**Category:** SMOKE\
**Created:** [June 8, 2020, 9:24pm UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559 "2020-06-08T21:24:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![monek](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@monek](https://forum.cmascenter.org/u/monek)\
**Post date:** [June 8, 2020, 9:24pm UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559/1 "2020-06-08T21:24:47Z")

</div>

Hello everybody,

I am new to SMOKE. So, I downloaded lates version of SMOKE (which is SMOKE v4.7 - intel/18.0.2) from [cmascenter.org](http://cmascenter.org), then install it.

I am not sure if it is pre-compiled SMOKE or not. However, once I run the this command (source ASSIGNS.nctox.cmaq.cb05\_soa.us12-nc), I have received this error:

-bash: setenv: command not found

I dont know what I should do. Can anyone help me in this regard?

---

<div class="post-metadata">

**Author:** ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)\
**Post date:** [June 8, 2020, 10:04pm UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559/2 "2020-06-08T22:04:44Z")

</div>

SMOKE requires the tcsh or csh shell, and you are using the bash shell.  
For most of the tools available on the CMAS Forum, you will need the tcsh or csh shell.  
You can determine your shell using the following command.  
`echo $SHELL`  
If you have a system administrator, you can ask for them to change your default login shell to tcsh, or you can interactively using the command  
`tcsh`  
If you will be using these tools often, it is probably better to ask for your login shell to be changed by your system administrator.

Here is a link that contains information about shells.  
[https://wiki.ubuntu.com/ChangingShells](https://wiki.ubuntu.com/ChangingShells)

---

<div class="post-metadata">

**Author:** ![monek](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@monek](https://forum.cmascenter.org/u/monek)\
**Post date:** [June 8, 2020, 11:47pm UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559/3 "2020-06-08T23:47:22Z")

</div>

Thank you so much for your quick response.

I took a screenshot. Once I run source ASSIGNS.nctox.cmaq.cb05\_soa.us12-nc command in the current work environment, I received this error:

 ![Screen Shot 2020-06-08 at 7.43.56 PM](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/a1e7840547dcf6c787de024a6e551271513a4746.jpeg)

---

<div class="post-metadata">

**Author:** ![monek](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@monek](https://forum.cmascenter.org/u/monek)\
**Post date:** [June 8, 2020, 11:48pm UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559/4 "2020-06-08T23:48:01Z")

</div>

Then, I tried to change bash shell to csh shell and then run the above command. Here is the screenshot:

 ![Screen Shot 2020-06-08 at 7.52.26 PM](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/3e97cb2459a5f9832df30e0498afb4cef0e5355b.png)

I am confused what is wrong.

---

<div class="post-metadata">

**Author:** ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Post date:** [June 9, 2020, 11:56am UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559/5 "2020-06-09T11:56:07Z")

</div>

at this point, nothing is wrong. _setenv AUTO\_DELETE ON_ (which most people do) would then control how the system cleans up after itself.

---

<div class="post-metadata">

**Author:** ![monek](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@monek](https://forum.cmascenter.org/u/monek)\
**Post date:** [June 10, 2020, 11:43pm UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559/6 "2020-06-10T23:43:06Z")

</div>

In the next step of installation of SMOKE v4.7, the manual says below, however, I am not able to find my \*.cshrc file. Anyone can help me?

=========

Go to your home directory, then use a text editor to view the .cshrc file (note that this file is a hidden file, which can be listed in UNIX using the ls -a command at the prompt).

In the .cshrc file, add the following line:  
setenv SMK\_HOME (your selected directory for SMOKE installation)

=======

 ![Screen Shot 2020-06-10 at 7.43.49 PM](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/fa6340241e05f9852c7be969859640ea91127dbf.png)

---

<div class="post-metadata">

**Author:** ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)\
**Post date:** [June 11, 2020, 3:26pm UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559/7 "2020-06-11T15:26:05Z")

</div>

Your .cshrc file will be located in your home directory.  
To change directory to your home directory on a linux system use the following command:

```auto
cd ~ 

```

Then use the ls command to list the file that matches.

```auto
ls -rlt .cshrc

```

To view what is in the .cshrc you can use the more command

```auto
more .cshrc

```

You can use vi or gedit to edit the .cshrc file, if those editors are available on your system.

---

<div class="post-metadata">

**Author:** ![monek](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@monek](https://forum.cmascenter.org/u/monek)\
**Post date:** [June 21, 2020, 4:04am UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559/8 "2020-06-21T04:04:55Z")

</div>

Hi

# I follow the instruction to install SMOKE. The use manual says:

# You should now be ready to compile the SMOKE programs. Change directories to $SMKROOT/src/. • At the UNIX prompt, type: make

Once I type “make”, I encounter with the following errors. Can anyone help?

 ![Screen Shot 2020-06-20 at 11.59.56 PM](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/92411506d98c0c598ff4767bbd9dd76f169882d0.png)

---

<div class="post-metadata">

**Author:** ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)\
**Post date:** [July 7, 2020, 10:13pm UTC](https://forum.cmascenter.org/t/smoke-v4-7-installation-problem/1559/9 "2020-07-07T22:13:33Z")

</div>

Hi Monek,  
In that section of the SMOKE user manual, section 12.4 is the following statement:

Unless you are planning to modify the SMOKE source codes, **DO NOT try to compile** the codes; use the precompiled binary Linux executables provided by the CMAS Center.

If you need assistance learning how to use the linux environment and SMOKE modeling system, we have an online SMOKE training class that may be helpful for you to take.  
[https://www.cmascenter.org/training/classes/online-smoke-class.cfm](https://www.cmascenter.org/training/classes/online-smoke-class.cfm)

This will not teach you how to compile SMOKE, only to learn how to use the scripts and analyze the output.

It may be that you do not have I/O API properly installed and specified in the Makefile, and that is causing your compile error.
