|
[Sponsors] |
[OpenFOAM.org] Issue with bashrc file encountering unexpected EOF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 9, 2017, 12:46 |
Issue with bashrc file encountering unexpected EOF
|
#1 |
New Member
Mitch Lovelace
Join Date: Jun 2017
Posts: 1
Rep Power: 0 |
Hello all,
I'm attempting to fresh install OpenFOAM-2.4.0 onto a fresh Ubuntu 14.04 LTS VirtualBox for a college course and have run into a problem while running bashrc. I have followed line-by-line the guide given by Chalmers http://www.tfd.chalmers.se/~hani/kur...rOwnLaptop.htm and also the guide given by the OpenFOAM wiki http://openfoamwiki.net/index.php/In...M-2.4.0/Ubuntu Both of which have had the same result. When I reach the point of creating an alias for bashrc and then attempt to run it, I receive the following errors: bash: /home/user/.bashrc: line 119: unexpected EOF while looking for matching ' " bash: /home/user/.bashrc: line 120: syntax error: unexpected end of file When I went to look at line 119 & 120 I couldn't see an issue. Here is line 118 thru 121: $WM_PROJECT_VERSION # Location of site-specific templates etc #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Needless to say I am thoroughly confused and unsure how to proceed. Any insight that y'all can provide would be lovely. |
|
June 25, 2017, 14:07 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: You need to edit the file "/home/user/.bashrc" and look for the lines that you've added.
I'm guessing that you have something like this: Code:
alias OF24x='. $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc The example line should look like this: Code:
alias OF24x='. $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc' This way the quoted part starts after the equal sign and ends before the end of the line. By the way, EOF stands for "end of file" .
__________________
|
|
Tags |
installation of open foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 15:30 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
[swak4Foam] funkySetFields compilation error | tayo | OpenFOAM Community Contributions | 39 | December 3, 2012 06:18 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |