|
[Sponsors] |
Installation problems OF-1.6-ext on Ubuntu 12.04 and SUSE |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2014, 10:04 |
Installation problems OF-1.6-ext on Ubuntu 12.04 and SUSE
|
#1 |
Member
Join Date: Oct 2013
Posts: 92
Rep Power: 13 |
Hi Foamers,
I need to install OF-1.6-ext to use "apparently" better meshing capabilities of OF-1.6-ext for moving meshes. I have built ThirdParty part very successfully but I keep getting build errors with OF /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -ldynamicFvMesh /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lengine /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -ltopoChangerFvMesh /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lautoMesh similar errors I get for my Ubuntu install as well. I have sucessfully built OF-2.2.1 and OF-2.2.2 on both systems such lines through-out the logs, is there any dependency missing, am I doing something terrible? I have followed the instructions from openfoamwiki. |
|
March 22, 2014, 06:01 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings fedvasu,
I assume you're following these instructions: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 As indicated in step #12, it refers to searching for errors in the file "log.AllMake". It's the first error that usually tells the whole story, because all other errors derive from that one. If you're unable to tell apart which one is the most relevant, please attach the file "log.AllMake.tar.gz" to your next post. edit: er, the above is regarding ThirdParty. You should also do the same as indicated in step #14. Best regards, Bruno
__________________
Last edited by wyldckat; March 22, 2014 at 06:04. Reason: see "edit:" |
|
March 23, 2014, 12:19 |
here is the log file
|
#3 |
Member
Join Date: Oct 2013
Posts: 92
Rep Power: 13 |
Hi WyldKat,
Here is the log file for OF compilation, I couldn't spot any error there but here it is the above post output was from the terminal (stdout). |
|
March 23, 2014, 12:32 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi fedvasu,
Something isn't right here. Are you sure you ran the command exactly like this? Code:
./Allwmake > make.log 2>&1 Bruno
__________________
|
|
March 23, 2014, 13:21 |
|
#5 |
Member
Join Date: Oct 2013
Posts: 92
Rep Power: 13 |
Hi WlydKat,
yes I did run the script exactly like that, do you suggest I redo the compilation? (I mean after deleting the directory and purging all environment variables) If so it might take some time. cheers, |
|
March 23, 2014, 13:27 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
No need to rebuild from scratch. I'm just wondering what happened to the error you've originally reported
Because from that "make.log" file, everything seems to be fine. It's possible that something that went wrong in the first build attempt, was fixed in the second pass. You can try running Allwmake a third time, just to make sure everything is indeed built correctly, as it will tell you what libraries and solvers are up-to-date. |
|
March 26, 2014, 17:05 |
|
#7 |
Member
Join Date: Oct 2013
Posts: 92
Rep Power: 13 |
Hi Wyldkcat,
I will update OF-1.6-ext install (the computer is offline) in the mean-time, I would like to ask you question about mpirun with openfoam-2.3.0 install on fedora 20, I hope you don't mind, I am not trying to divert the thread topic (well a bit ) there is no mpi directory in Code:
~/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ Code:
CGAL-4.3/ scotch_6.0.0/ but when i run Code:
mpirun -np4 pimpleDyMFoam -parallel I get following error message Code:
-------------------------------------------------------------------------- Sorry! You were supposed to get help about: opal_init:startup:internal-failure But I couldn't open the help file: /home/vasu/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/openmpi-1.6.5/share/openmpi/help-opal-runtime.txt: No such file or directory. Sorry! -------------------------------------------------------------------------- -------------------------------------------------------------------------- Sorry! You were supposed to get help about: orte_init:startup:internal-failure But I couldn't open the help file: /home/vasu/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/openmpi-1.6.5/share/openmpi/help-orte-runtime: No such file or directory. Sorry! -------------------------------------------------------------------------- Code:
alias of230='module load mpi/openmpi-x86_64; source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc' Code:
$ which mpirun /usr/lib64/openmpi/bin/mpirun |
|
March 30, 2014, 14:13 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi fedvasu,
I've finally managed to give a look into this. The same happened to me, but only because the alias line in "$HOME/.bashrc" was wrong. So edit that file and check if you have this line: Code:
alias of230='module load mpi/openmpi-x86_64; source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc WM_NCOMPPROCS=4 WM_MPLIB=SYSTEMOPENMPI' Code:
alias of230='module load mpi/openmpi-x86_64; source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc FOAM_SETTINGS' The other detail is that usually we have to log out and then log back in, in order for the module system to work properly, since apparently it's not installed by default in Fedora This is why there is this line in the instructions: Code:
module load mpi/openmpi-x86_64 || export PATH=$PATH:/usr/lib64/openmpi/bin I still need to figure out what and how to write down this situation in the wiki, since this particular step already feels very bloated to read Best regards, Bruno
__________________
|
|
April 1, 2014, 09:01 |
|
#9 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi all,
Sorry, a bit off-topic maybe, but I'm a bit confused by the installation instructions for OpenFOAM-1.6-ext on Ubuntu 12.04, on the openfoam-wiki. Under 7. Configure the preferences file, there are some sed-commands to instruct OpenFOAM to use the system installations of openmpi and paraview (two sets of 3 commands). The second line in each set contains a part path_to_system_installed_openmpi or path_to_system_installed_paraview. Should I substitute the actual path on my pc there? And if so, how do I find the path to my system installed openmpi? Also, I tried substituting the path to my system installed paraview, but then sed gives an error (unknown option... etc...). Thanks in advance for any help, Sita |
|
April 1, 2014, 16:10 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Sita,
You simply need to follow the instructions and perform the copy-paste to the command line. No further adjustments are necessary. If further adjustments were needed, the instructions would either detail them in the main text or in the comments inside each block of copy-paste code, not in the middle of the command Best regards, Bruno
__________________
|
|
April 3, 2014, 08:26 |
|
#11 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Bruno, thanks a lot! OF-1.6-ext works now!
|
|
Tags |
dependency, installation, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems after having installed 1.7.0-Version on SUSE | Isabell | OpenFOAM Installation | 2 | April 25, 2012 12:12 |
ParaView installation problem on Suse 11.4 | victorz | OpenFOAM Installation | 4 | February 6, 2012 18:26 |
OF 1.6 installation on SUSE 11.2 | jonya | OpenFOAM Installation | 15 | May 3, 2010 06:05 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |
Problems compiling UDFs under SuSE 10.2 | George | FLUENT | 1 | February 21, 2007 09:36 |