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

Update the environment variables for 1.5-dev

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 4, 2010, 10:38
Default Update the environment variables for 1.5-dev
  #1
New Member
 
Janto
Join Date: Oct 2009
Posts: 8
Rep Power: 7
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, 19:53
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,511
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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, 04:32
Default
  #3
New Member
 
Janto
Join Date: Oct 2009
Posts: 8
Rep Power: 7
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, 12:00
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,511
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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, 04:40
Default
  #5
New Member
 
Janto
Join Date: Oct 2009
Posts: 8
Rep Power: 7
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, 05:13
Default
  #6
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 918
Rep Power: 16
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

Thread Tools
Display Modes

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 On
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 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. CD-adapco 15 June 28, 2004 13:41


All times are GMT -4. The time now is 15:42.