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

source bashrc problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 14, 2011, 22:21
Default source bashrc problem
  #1
New Member
 
Dong Liang
Join Date: Jan 2010
Location: Shanghai, China
Posts: 12
Rep Power: 7
davedong is on a distinguished road
hi,
i'm fresh in openfoam. i faced some troubles when i sourced /opt/openfoam201/etc/bashrc.

gcc error: unrecognized option --showme: compile
gcc error: unrecognized option --showme: link

ps: my gcc version is the latest, v4.6.1.
davedong is offline   Reply With Quote

Old   August 15, 2011, 15:43
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Dong Liang,

You've given us too little information to go on.

I deduced by the little information you've provided that you might be using Ubuntu Oneiric, which is still under development, but it's the only Ubuntu that comes with gcc 4.6.1. So I popped the latest live CD into a virtual machine and installed it. Then installed the OpenFOAM Debian packages. And I did not have the same problems you've described.

So, if you would please describe what steps you've taken and which Linux distribution you are using, then maybe we can help you further!

Best regards,
Bruno
wyldckat 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
OpenFOAM-1.6-ext on openSUSE 11.4-64bit JonW OpenFOAM 9 April 5, 2012 19:05
Source term problem in UEqn of simpleFoam fisch OpenFOAM Programming & Development 1 June 17, 2011 10:57
energy source problem fluboy Fluent UDF and Scheme Programming 2 January 10, 2010 09:56
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43


All times are GMT -4. The time now is 16:23.