CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

Installing SU2 on Linux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2015, 07:24
Default Installing SU2 on Linux
  #1
New Member
 
Antonio Lattanziu
Join Date: Jul 2013
Posts: 6
Rep Power: 12
tonino is on a distinguished road
Hi guys when I execute the following commands in a terminal:

cd /path/to/your/SU2/ ./configure

the results is:

Please be sure to add the $SU2_HOME and $SU2_RUN environment variables,
and update your $PATH (and $PYTHONPATH if applicable) with $SU2_RUN.

Based on the input to this configuration, add these lines to your .bashrc file:

export SU2_RUN="/usr/local/bin"
export SU2_HOME="/home/antonio/Scrivania/SU2"
export PATH=$PATH:$SU2_RUN
export PYTHONPATH=$PYTHONPATH:$SU2_RUN

how do I edit the file .bashrc if you can not find it?

Thanks
tonino is offline   Reply With Quote

Old   August 8, 2015, 16:33
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 13
hlk is on a distinguished road
Quote:
Originally Posted by tonino View Post
Hi guys when I execute the following commands in a terminal:

cd /path/to/your/SU2/ ./configure

the results is:

Please be sure to add the $SU2_HOME and $SU2_RUN environment variables,
and update your $PATH (and $PYTHONPATH if applicable) with $SU2_RUN.

Based on the input to this configuration, add these lines to your .bashrc file:

export SU2_RUN="/usr/local/bin"
export SU2_HOME="/home/antonio/Scrivania/SU2"
export PATH=$PATH:$SU2_RUN
export PYTHONPATH=$PYTHONPATH:$SU2_RUN

how do I edit the file .bashrc if you can not find it?

Thanks
The .bashcr file, and in general all .files will not be visible with the ls command or file explorers, as these files are hidden. By default this file will be in your home (
~/) directory, and should be visible if you use
ls -a ~/

Please note that this assumes you are using bash shell. The .bashrc script is run every time a bash shell is openned, and after you edit in in order to use the new aliases without starting a new terminal you should run
source ~/.bashrc
hlk is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Helyx OS] Installing HelyxOS on 32 and 64bit Linux Distributions wyldckat OpenFOAM Community Contributions 16 December 23, 2016 06:37
LINUX Experts: Help with installing ANSYS workbench faisal_durr ANSYS 1 May 30, 2014 08:07
Dual Boot Windows and Linux and Go Open Source andyj Main CFD Forum 2 October 21, 2010 16:49
My experience Installing Elmer (Open Source Multi physics programme) on Linux Ahmed Main CFD Forum 3 August 10, 2010 13:42
why i get this error during installing Linux Fedora? gholamghar Main CFD Forum 1 July 23, 2010 03:14


All times are GMT -4. The time now is 07:05.