Changes

Jump to navigation Jump to search
50 bytes added ,  19:10, 15 September 2017
no edit summary
Line 1: Line 1:  
This page will help you with installing SU2, as well as provide specific help with the way we use SU2.
 
This page will help you with installing SU2, as well as provide specific help with the way we use SU2.
 
+
[[File:SU2_Logo.png | right | 300px ]]
 
[https://github.com/su2code/SU2 Link to the Github code repository for SU2]
 
[https://github.com/su2code/SU2 Link to the Github code repository for SU2]
 
[https://github.com/su2code/SU2/wiki Link to the super helpful SU2 wiki (which is also hosted in Github)]
 
[https://github.com/su2code/SU2/wiki Link to the super helpful SU2 wiki (which is also hosted in Github)]
Line 17: Line 17:  
*Understand how to change path variables in your terminal  
 
*Understand how to change path variables in your terminal  
 
*If not compiling with cygwin due to some carriage return error, add this to your .bash_profile script (in your home directory)  
 
*If not compiling with cygwin due to some carriage return error, add this to your .bash_profile script (in your home directory)  
<code>
+
<code>export SHELLOPTS</code>
export SHELLOPTS
     −
set -o igncr
+
<code>set -o igncr</code>
</code>
      
==Windows==
 
==Windows==
Line 66: Line 64:  
</code>
 
</code>
   −
Or you can open it in the GUI, by going to your home directory and pressing ctrl+h in order to show hidden files. Then double click your .bashrc file and add the specified lines.
+
Or you can open it in the GUI, by going to your home directory and pressing ctrl+h in order to show hidden files. Then double click your .bashrc file and add the specified lines. '''Make sure to execute the bash file to get the <code>PATH</code> updated: <code>exec bash</code>.'''
 
  −
Then go to the directory where you’ve compiled SU2 and run the following command on each module, like this:
  −
 
  −
<code>
  −
corn17:~/SU2compiled/bin> chmod +x SU2_CFD
  −
 
  −
corn17:~/SU2compiled/bin> chmod +x SU2_DEF
  −
 
  −
corn17:~/SU2compiled/bin> chmod +x SU2_DOT
  −
 
  −
corn17:~/SU2compiled/bin> chmod +x SU2_GEO
  −
 
  −
corn17:~/SU2compiled/bin> chmod +x SU2_MSH
  −
 
  −
corn17:~/SU2compiled/bin> chmod +x SU2_SOL
  −
</code>
     −
Currently confused by how to run the code in parallel. Working on it.
+
At this point, you will be able to run the code from any directory. However, if the files aren't executing, you can change their permissions to make them executables. Go to the directory where you’ve compiled SU2 and run the following command on each module, like this:<code> corn17:~/SU2compiled/bin> chmod +x SU2_CFD</code>
    
=Running sample code=
 
=Running sample code=
Line 90: Line 72:  
You will need it to run the config files that come pre-prepped for you.
 
You will need it to run the config files that come pre-prepped for you.
   −
{{rocket-stub}}
   
[[Category: Rockets]]
 
[[Category: Rockets]]
 +
[[Category:CFD]]
 +
[[Category: Rockets Guides]]
84

edits

Navigation menu