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

source bashrc problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2011, 23:21
Default source bashrc problem
  #1
New Member
 
Dong Liang
Join Date: Jan 2010
Location: Shanghai, China
Posts: 12
Rep Power: 16
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, 16:43
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 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


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
OpenFOAM-1.6-ext on openSUSE 11.4-64bit JonW OpenFOAM 9 April 5, 2012 20:05
Source term problem in UEqn of simpleFoam fisch OpenFOAM Programming & Development 1 June 17, 2011 11: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 14, 2000 00:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 04:43


All times are GMT -4. The time now is 07:19.