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

Problem installing OpenFOAM on Fedora 10

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 25, 2009, 00:57
Default Problem installing OpenFOAM on Fedora 10
  #1
ptb
New Member
 
Peter
Join Date: Apr 2009
Posts: 4
Rep Power: 7
ptb is on a distinguished road
Hello all,
I am trying to install OpenFOAM v1.5 on Fedora 10 and seem to be having some problems compiling the code. I get the error:

+ cd ParMetis-3.1
+ wmake libso METISLib
/home/peter/OpenFOAM/OpenFOAM-1.5/wmake/scripts/mkObjectDir: line 40: [: too many arguments
icpc: command line remark #10148: option '-K' not supported
ld: cannot open output file /libmetis-parmetis.so: Permission denied
make: *** [/libmetis-parmetis.so] Error 1

I noticed that the script 'mkObjectDir' says that it is written in c-shell so I switched the first line from '/bin/sh' to 'bin/csh' but then it says there's a syntax error in the if statement.

Any suggestions?

Thanks,
Peter.
ptb is offline   Reply With Quote

Old   April 25, 2009, 09:53
Default
  #2
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 112
Rep Power: 7
lin is on a distinguished road
It seems that you are using Intel Fortran Compiler,if so,change to Gcc.
lin is offline   Reply With Quote

Old   August 14, 2009, 11:43
Post Problem on Installing OpenFOAM 1.6 on Fedora 11
  #3
Member
 
Join Date: Jun 2009
Posts: 34
Rep Power: 7
lzgwhy is on a distinguished road
I installed the OpenFOAM-1.6, and set the environment variables in the way in the file README. However, after I restart my computer, I found there was nothing in desktop of my computer, and I can not open GUI to view files. When I opened the terminal, I found there was one warning in terminal that was following:
"age: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
kde4-config: /root/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libkdecore.so.5)".

So, I just reset environment variables in order to make my computer normal.

What is the problem with what I mention above? How to solve it?
Thanks!
lzgwhy is offline   Reply With Quote

Old   October 22, 2009, 09:31
Default
  #4
grig
Guest
 
Posts: n/a
I am experiencing the same problem with OF 1.5 and 1.6 under Fedora 11. This is my error message.

"nautilus: /home/cata/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libexempi.so.3)"

Best,
grig
  Reply With Quote

Old   October 28, 2009, 20:45
Default
  #5
New Member
 
Nat
Join Date: Oct 2009
Posts: 10
Rep Power: 7
Fed11 is on a distinguished road
Quote:
Originally Posted by grig View Post
I am experiencing the same problem with OF 1.5 and 1.6 under Fedora 11. This is my error message.

"nautilus: /home/cata/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libexempi.so.3)"

Best,
grig
Hi Grig,
Did you figure out what the problem was? I am also in the same boat!
Please let us know,
Thanks
Fed11 is offline   Reply With Quote

Old   October 29, 2009, 06:31
Default
  #6
grig
Guest
 
Posts: n/a
I just set: WM_COMPILER_INST = System (line 96 in file /.../OpenFOAM-1.5/etc/settings.sh). It all works out when booting but now I get a gcc conflicting installations error when running foamInstallationTest.

best,
grig
  Reply With Quote

Old   October 30, 2009, 06:53
Default
  #7
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 382
Rep Power: 8
gwierink is on a distinguished road
Hi Grig,

Perhaps you could compile OF with the system compiler and then put gcc back to OF's compiler. Does that remove the foamInstallationTest error?

Regards,

Gijs
gwierink is offline   Reply With Quote

Old   January 4, 2010, 04:51
Default
  #8
Senior Member
 
ZHOU Bin
Join Date: Mar 2009
Location: Nanjing/Shanghai/Torino, Nanjing/Shanghai/Piemente, China/Italy
Posts: 164
Rep Power: 7
zhoubinwx is on a distinguished road
Send a message via ICQ to zhoubinwx Send a message via MSN to zhoubinwx Send a message via Skype™ to zhoubinwx
Quote:
Originally Posted by Fed11 View Post
Hi Grig,
Did you figure out what the problem was? I am also in the same boat!
Please let us know,
Thanks
Hello, we are on the same boat, so may I ask if you have solved this problem?

I am currently using gnuplot, and I came across this problem.

Thank you.

Bin
zhoubinwx is offline   Reply With Quote

Old   March 29, 2011, 15:46
Default
  #9
New Member
 
ruma
Join Date: Mar 2011
Location: USA
Posts: 22
Rep Power: 5
ruma is on a distinguished road
Hi,
Can you pls elaborate how did you compile the source file in fedora 10?
I am so confused with instalations.

I really appreciate help,
Quote:
Originally Posted by ptb View Post
Hello all,
I am trying to install OpenFOAM v1.5 on Fedora 10 and seem to be having some problems compiling the code. I get the error:

+ cd ParMetis-3.1
+ wmake libso METISLib
/home/peter/OpenFOAM/OpenFOAM-1.5/wmake/scripts/mkObjectDir: line 40: [: too many arguments
icpc: command line remark #10148: option '-K' not supported
ld: cannot open output file /libmetis-parmetis.so: Permission denied
make: *** [/libmetis-parmetis.so] Error 1

I noticed that the script 'mkObjectDir' says that it is written in c-shell so I switched the first line from '/bin/sh' to 'bin/csh' but then it says there's a syntax error in the if statement.

Any suggestions?

Thanks,
Peter.
ruma 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
Moving mesh problem OpenFoam 141 kassiotis OpenFOAM Running, Solving & CFD 29 November 18, 2013 08:06
SetField problem in OpenFoam 14 joakim OpenFOAM Bugs 17 October 30, 2009 09:18
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 05:48
Compile OpenFOAM on Fedora 8 asaha OpenFOAM Installation 1 August 25, 2008 12:41
OpenFOAM 14 problem with file readSTLASCIIL mbeaudoin OpenFOAM Bugs 2 April 13, 2007 22:09


All times are GMT -4. The time now is 05:03.