CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   Environment variable problem (https://www.cfd-online.com/Forums/su2-installation/140201-environment-variable-problem.html)

random_username August 10, 2014 14:33

Environment variable problem
 
I am having a problem that is most likely due to a basic mistake from my side, but I would really appreciate some help.

After installing SU2 I have added the environment variables to both system variables and user variables according to http://adl-public.stanford.edu/docs/...s+Installation. The variable is SU2_RUN and the Value is C:\SU2, which is the folder where all of my installation files are placed (no subfolders).

When in the in Console and typing SU2_CFD inv_NACA0012.cfg I get the error "SU2_CFD is not recognized as an internal or external command, operable program or batch file."

Obviously I am missing something, and I have searched these folums and google trying to figure out what, but to no avail. Can anyone help me out? :confused:

EDIT: Added C:\SU2 to the Path variable in environments as well and it works. Thanks, other thread.

YoniHe September 5, 2014 08:14

Hope for advice too!
 
I have met with the same problem. I guess maybe the computer cannot recognize what "SU2_CFD" is. Because the environment variable is named as SU2_RUN, and the executable path is also different from the .cfg file. The problem is how to use the executable command (SU2_CFD) to operate the .cfg and mesh files in another path. Hope for advice! :confused:

Bachduong September 22, 2014 09:31

Please try compile source code on Linux or MacOS if you have these OS, this solve your problem greatly.


All times are GMT -4. The time now is 13:53.