Changes

Jump to navigation Jump to search
19 bytes removed ,  23:27, 26 March 2016
Line 64: 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 .bashrc</code>.''' At this point, you will be able to run the code from any directory.
   −
Then go to the directory where you’ve compiled SU2 and run the following command on each module, like this:
+
If for some reason, 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>
 
  −
<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.
      
=Running sample code=
 
=Running sample code=
303

edits

Navigation menu