|
[Sponsors] |
November 4, 2010, 09:38 |
Update the environment variables for 1.5-dev
|
#1 |
New Member
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 17 |
Hi,
I'm trying to install 1.5-dev on Suse 11.0, gcc 4.3.4, but unfortunately I'm still not able to update the environment variables as described in the readme-file. When sourcing the .bashrc I receive the error: "syntax error near unexpected token `<<<<<<< .mine' " for whatever reason. Anybody knows what this is all about? |
|
November 4, 2010, 18:53 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Janto and welcome to the forum!
This text "<<<<<<< .mine'" leads to conclude that you have made some changes and then an update to your local copy of the SVN version of OpenFOAM 1.5-dev and that some of the updated files weren't successfully merged with the latest version, due to some discrepancy between your version and the one online. The simplest way to fix this would be for you to edit OpenFOAM's bashrc file and remove the "blob" of code between the lines delimited by: Code:
<<<<<<<<<<<<<<<<< .mine (your code) ===================== (their code) >>>>>>>>>>>>>>>>> .theirs Best regards, Bruno
__________________
|
|
November 5, 2010, 03:32 |
|
#3 |
New Member
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 17 |
Hello Bruno, thanks for your reply.
Actually, I didn't change anything in OpenFoam's bashrc so there is no removable "blob" left. This is how OF bashrc looks like in that part: Code:
<<<<<<< .mine ======= MACOSX_DEPLOYMENT_TARGET="10.4" ;; >>>>>>> .r1000 |
|
November 5, 2010, 11:00 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Janto,
Since you didn't make any changes, just remove that whole "blob" of code and you should be set to go! Well, after saving and sourcing bashrc of course Best regards, Bruno
__________________
|
|
November 9, 2010, 04:40 |
|
#5 |
New Member
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 17 |
Thank you Bruno,
I finally made it by deleting the 'blob'. Nevertheless multiple errors occurred during compilation. I guess it has something to do with flex, which should be version 2.5.35 on my system. Best regards Janto |
|
November 9, 2010, 05:13 |
|
#6 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
You are missing OpenMPI, at least in the version OF-1.5 expects it to be there. Did you unpack the proper Thirdparty package, or are you trying to use a different OpenMPI?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
'Set Environment Variables' for Fluent 12 | DarrenC | Fluent UDF and Scheme Programming | 2 | May 25, 2011 16:51 |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 05:43 |
Gentoo Environment Variables | scottneh | OpenFOAM Installation | 1 | September 20, 2009 13:21 |
How to set environment variables | kanishka | OpenFOAM Installation | 1 | September 4, 2005 11:15 |
environment variables version 3.2 | F.K. | Siemens | 15 | June 28, 2004 13:41 |