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

Update the environment variables for 1.5-dev

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2010, 08:38
Default Update the environment variables for 1.5-dev
  #1
New Member
 
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 16
chilledkroete is on a distinguished road
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?
chilledkroete is offline   Reply With Quote

Old   November 4, 2010, 17:53
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
And leave only either your code or theirs.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 5, 2010, 02:32
Default
  #3
New Member
 
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 16
chilledkroete is on a distinguished road
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
chilledkroete is offline   Reply With Quote

Old   November 5, 2010, 10:00
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   November 9, 2010, 03:40
Default
  #5
New Member
 
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 16
chilledkroete is on a distinguished road
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
Attached Files
File Type: gz make.log.tar.gz (27.1 KB, 1 views)
chilledkroete is offline   Reply With Quote

Old   November 9, 2010, 04:13
Default
  #6
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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?
akidess 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
'Set Environment Variables' for Fluent 12 DarrenC Fluent UDF and Scheme Programming 2 May 25, 2011 15:51
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
Gentoo Environment Variables scottneh OpenFOAM Installation 1 September 20, 2009 12:21
How to set environment variables kanishka OpenFOAM Installation 1 September 4, 2005 10:15
environment variables version 3.2 F.K. Siemens 15 June 28, 2004 12:41


All times are GMT -4. The time now is 11:06.