Line 21: |
Line 21: |
| <code> | | <code> |
| export SHELLOPTS | | export SHELLOPTS |
| + | |
| set -o igncr | | set -o igncr |
| </code> | | </code> |
Line 32: |
Line 33: |
| <code> | | <code> |
| ./configure --prefix="/afs/.ir/users/i/a/iangomez/SU2compiled/" CXXFLAGS="-03" --enable-mpi --with-cc=/usr/bin/mpicc --with-cxx=/usr/bin/mpicxx | | ./configure --prefix="/afs/.ir/users/i/a/iangomez/SU2compiled/" CXXFLAGS="-03" --enable-mpi --with-cc=/usr/bin/mpicc --with-cxx=/usr/bin/mpicxx |
| + | |
| make -j 8 install | | make -j 8 install |
| </code> | | </code> |
Line 42: |
Line 44: |
| <code> | | <code> |
| export SU2_RUN="/afs/.ir/users/i/a/iangomez/SU2compiled/bin" | | export SU2_RUN="/afs/.ir/users/i/a/iangomez/SU2compiled/bin" |
| + | |
| export SU2_HOME="/afs/.ir/users/i/a/iangomez/SU2-master" | | export SU2_HOME="/afs/.ir/users/i/a/iangomez/SU2-master" |
| + | |
| export PATH=$PATH:$SU2_RUN | | export PATH=$PATH:$SU2_RUN |
| + | |
| export PYTHONPATH=$PYTHONPATH:$SU2_RUN | | export PYTHONPATH=$PYTHONPATH:$SU2_RUN |
| </code> | | </code> |
Line 52: |
Line 57: |
| <code> | | <code> |
| cd | | cd |
| + | |
| ls -al | | ls -al |
| + | |
| vim .bashrc | | vim .bashrc |
| </code> | | </code> |
Line 58: |
Line 65: |
| 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. |
| | | |
− | Then go to the directory where you’ve compiled SU2 and run the following command on each module: | + | Then go to the directory where you’ve compiled SU2 and run the following command on each module, like this: |
| | | |
| <code> | | <code> |
| corn17:~/SU2compiled/bin> chmod +x SU2_CFD | | corn17:~/SU2compiled/bin> chmod +x SU2_CFD |
| + | |
| corn17:~/SU2compiled/bin> chmod +x SU2_DEF | | corn17:~/SU2compiled/bin> chmod +x SU2_DEF |
| + | |
| corn17:~/SU2compiled/bin> chmod +x SU2_DOT | | corn17:~/SU2compiled/bin> chmod +x SU2_DOT |
| + | |
| corn17:~/SU2compiled/bin> chmod +x SU2_GEO | | corn17:~/SU2compiled/bin> chmod +x SU2_GEO |
| + | |
| corn17:~/SU2compiled/bin> chmod +x SU2_MSH | | corn17:~/SU2compiled/bin> chmod +x SU2_MSH |
| + | |
| corn17:~/SU2compiled/bin> chmod +x SU2_SOL | | corn17:~/SU2compiled/bin> chmod +x SU2_SOL |
| </code> | | </code> |