|
[Sponsors] |
Help!! Need: Walkthrough OpenFOAM-1.6-ext on OpenSUSE 12.1 64bit |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 9, 2012, 10:24 |
Help!! Need: Walkthrough OpenFOAM-1.6-ext on OpenSUSE 12.1 64bit
|
#1 |
New Member
Chiku
Join Date: Sep 2010
Posts: 12
Rep Power: 15 |
Hi guys
I have tried a couple of days to install and compile the OpenFOAM-1.6-ext on my laptop. I didn't make it. There are two critical errors. Could someone post your successful Walkthrough of Install OpenFOAM-1.6-ext on OpenSUSE 12.1 64bit! Thanks a lot! |
|
August 9, 2012, 10:28 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Uhm... The walkthrough your asking for is already available in 1.6-ext, in the path "doc/buildInstructions/openSUSE/12.1/Compilation_openSUSE_12.1_64bit.txt".
You can see it online here: http://openfoam-extend.git.sourcefor...it.txt;hb=HEAD
__________________
|
|
August 9, 2012, 10:32 |
|
#3 | |
New Member
Chiku
Join Date: Sep 2010
Posts: 12
Rep Power: 15 |
Quote:
|
||
August 9, 2012, 10:43 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quote:
What errors are you getting?
__________________
|
||
August 9, 2012, 10:48 |
|
#5 | ||
New Member
Chiku
Join Date: Sep 2010
Posts: 12
Rep Power: 15 |
Quote:
Quote:
|
|||
August 9, 2012, 10:51 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
OK, what are the first errors shown in "log.Allwmake"?
__________________
|
|
August 9, 2012, 11:09 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
There is one step they didn't mention: after installing the system's Open-MPI, you have to log out and log back in. Otherwise it isn't known to the working session as to which mpirun to use.
__________________
|
|
August 9, 2012, 11:10 |
|
#8 | ||
New Member
Chiku
Join Date: Sep 2010
Posts: 12
Rep Power: 15 |
First one:
Quote:
Quote:
|
|||
August 9, 2012, 11:12 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
OK, they are related. The first one should be fixed if you run as root (or with sudo):
Code:
zypper install -t pattern devel_C_C++
__________________
|
|
August 9, 2012, 11:15 |
|
#10 |
New Member
Chiku
Join Date: Sep 2010
Posts: 12
Rep Power: 15 |
Ok, but actually I followed the tutorial from Martin Beaudoin. The OpenMPI in stage2 is not installed in my laptop. I used the OpenMPI direct from System. Would you like to see all the log files, I could send you, cause I don't know how to post them all.
|
|
August 9, 2012, 11:19 |
|
#11 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quote:
I'm trying the steps myself and so far from your feedback the following steps are missing in the walkthrough:
__________________
|
||
August 9, 2012, 11:28 |
|
#12 | |
New Member
Chiku
Join Date: Sep 2010
Posts: 12
Rep Power: 15 |
Awesome! You are a big boss!
Any Ideas about this one? Quote:
|
||
August 9, 2012, 11:31 |
|
#13 | |
New Member
Chiku
Join Date: Sep 2010
Posts: 12
Rep Power: 15 |
You are right. The first error disappeared.
Quote:
|
||
August 9, 2012, 11:35 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Run AllMake.stage3 again.
If you can't log out and log back in, then let's try for now building OpenFOAM without logging out and back in.
__________________
|
|
August 9, 2012, 11:55 |
|
#15 | |
New Member
Chiku
Join Date: Sep 2010
Posts: 12
Rep Power: 15 |
I have ran AllMake.stage3 agian.
and sourced the . ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc. and ran the Allwmake. The error motionSolver.H comes out. Should I download it, and save in /home/yukaiyu/OpenFOAM/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude/ Quote:
|
||
August 9, 2012, 12:04 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
I have a feeling you better run the other stages as well, namely:
Code:
cd $WM_PROJECT_DIR/ThirdParty ./AllMake.stage1 >& log.AllMake.stage1 ./AllMake.stage4 >& log.AllMake.stage4
__________________
|
|
August 9, 2012, 12:22 |
|
#17 | |
New Member
Chiku
Join Date: Sep 2010
Posts: 12
Rep Power: 15 |
my log file contains no errors. But by doing the foamInstallationTest it shows a critical error.
Quote:
|
||
August 9, 2012, 12:40 |
|
#18 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Not to worry, that's an old bug in the diagnosis script
I think you're ready to start using 1.6-ext! Have fun!
__________________
|
|
August 9, 2012, 23:42 |
|
#19 |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
@the build instructions for OpenSUSE 12.1 64bit:
I just tested every single instructions of the build instructions I wrote for OpenSUSE 12.1 64bit using a brand new OpenSUSE 12.1 64bit system. Everything compiled without a single glitch. No need for additional packages. The instructions provided are complete and sufficient. @OpenMPI on OpenSUSE 12.1-64bit: You don't have to logoff nor reboot your system after configuring and compiling OF 1.6-ext in order to run a parallel simulation using the system installed mpirun on OpenSUSE 12.1-64bit . This is nonsense. And yes, I took the time to test this as well. @error messages from 'foamInstallationTest': Have you seen any mention of 'foamInstallationTest' in the build instructions? You did not because running this script is not necessary. As a matter of fact, I can't even remember the last time I invoked that rather useless script. Martin |
|
August 10, 2012, 13:12 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Martin,
I've updated the report: https://sourceforge.net/apps/mantisb...hp?id=149#c370 My apologies for not fully checking the instructions myself and delivered that complete log when I did the initial report. Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7 - openSUSE 11.3 - gcc 4.5.0 | alberto | OpenFOAM | 12 | July 28, 2010 11:59 |
Openfoam installation on OpenSuse 11.1 | Bufacchi | OpenFOAM Installation | 1 | June 15, 2010 19:55 |
OpenFOAM Live USB based on openSUSE 11.1 created with SUSE Studio | alberto | OpenFOAM | 40 | May 23, 2010 16:15 |
OpenFOAM 1.6 package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 36 | September 2, 2009 12:46 |
OpenFOAM Version 1.6 Released | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 27, 2009 17:55 |