|
[Sponsors] |
[OpenFOAM.org] Trying to build and install OpenFOAM 2.4.0 on Lubuntu 14.04 ARM7 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 26, 2015, 17:58 |
Trying to build and install OpenFOAM 2.4.0 on Lubuntu 14.04 ARM7
|
#1 |
New Member
Tanneru Hemanth Kumar
Join Date: Jun 2015
Location: India
Posts: 8
Rep Power: 11 |
Code:
Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: netbook OS: Linux version 3.4.5 ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/student/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/student/OpenFOAM/student-2.4.0 yes no $WM_THIRD_PARTY_DIR /home/student/OpenFOAM/ThirdParty-2.4.0 yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/student/OpenFOAM/OpenFOAM-2.4.0 yes yes yes $FOAM_APPBIN ....4.0/platforms/linuxARM7GccDPOpt/bin no yes $FOAM_SITE_APPBIN ....4.0/platforms/linuxARM7GccDPOpt/bin no no $FOAM_USER_APPBIN ....4.0/platforms/linuxARM7GccDPOpt/bin no no $WM_DIR ...tudent/OpenFOAM/OpenFOAM-2.4.0/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ....4.0/platforms/linuxARM7GccDPOpt/lib no yes $FOAM_SITE_LIBBIN ....4.0/platforms/linuxARM7GccDPOpt/lib no no $FOAM_USER_LIBBIN ....4.0/platforms/linuxARM7GccDPOpt/lib no no $MPI_ARCH_PATH /usr/lib/openmpi yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex 2.5.35 /usr/bin/flex gcc 4.8.4 /usr/bin/gcc g++ 4.8.4 /usr/bin/g++ gzip 1.6 /bin/gzip tar 1.27.1 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/student/OpenFOAM/OpenFOAM-2.4.0/platforms/linuxARM7GccDPOpt/bin/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 1 critical error(s). Review the output for warning messages and consult the installation guide for troubleshooting. Done Last edited by wyldckat; June 28, 2015 at 17:00. Reason: Added [CODE][/CODE] markers |
|
June 27, 2015, 15:03 |
Problem in open foam installation through ubuntu deb method
|
#2 |
New Member
Tanneru Hemanth Kumar
Join Date: Jun 2015
Location: India
Posts: 8
Rep Power: 11 |
Followed installation instructions . got the following erros after sudo apt-get install
failed to faetch http://www.openfoam.org/download/ubuntu/dists trusty/main/binary-armfh/Packages 404 Not Found uname - m gives armv7l Please help . |
|
June 28, 2015, 17:06 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Hemanth and welcome to the forum!
I'm sorry to say that the OpenFOAM 2.4.0 Deb packages are not available for the ARM architectures. The closest I know about people being able to build/install OpenFOAM on ARM7 architectures have been these two:
Bruno
__________________
Last edited by wyldckat; July 19, 2015 at 14:09. Reason: added a 3rd and a 4th link to the list - repaired 4th |
|
June 29, 2015, 03:11 |
|
#4 |
New Member
Tanneru Hemanth Kumar
Join Date: Jun 2015
Location: India
Posts: 8
Rep Power: 11 |
Thanks Bruno for the reply. Glad to know at least there are two people who installed openfoam on armv processer.
I have goen through the first link and the conversation. I didn't clearly understand all the instructions. I am not knowing where to start and what to do. Pelase help me with the procedure to modify the things as per Jon Elvar Wallevik suggested. Any ways i will try doing some thing and mean while, i tried installation from source pack I got some error for which i am attachng the log file. Please help me with this if this problem is easy to fix. |
|
July 5, 2015, 16:12 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer:
|
|
July 6, 2015, 02:32 |
|
#6 |
New Member
Tanneru Hemanth Kumar
Join Date: Jun 2015
Location: India
Posts: 8
Rep Power: 11 |
gcc --version gives
gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. g++ --version gives g++ (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Here is log file. It shows the directory is not available because i deleted OpenFOAM folder. If you want me to compile again i will do that. Can you please send detailed instructions if available to install openfoam in ARM architecture. Thanks in advance and in the rhelogical site i didnt understand which version to download and how to install. Please help. |
|
July 19, 2015, 14:24 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Hemanth,
Sorry for the late reply, but only today did I finally manage to take a quick look into this. If you're trying to install OpenFOAM 2.4.0 on a RaspberryPi 2, then you might want to check this post: http://www.cfd-online.com/Forums/ope...tml#post556013 - post #5 If you have some other machine, then the best I can suggest is as follows:
Best regards, Bruno
__________________
|
|
July 19, 2015, 14:34 |
|
#8 |
New Member
Tanneru Hemanth Kumar
Join Date: Jun 2015
Location: India
Posts: 8
Rep Power: 11 |
Thanks Bruno,
Will try and let you the progress next weekend. How to whether system is rasberry pi or not ? |
|
July 19, 2015, 14:43 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
If you're able to look at the machine itself (the tower or box for the computer), then it's a Raspberry Pi if the contents of the box looks something like the images shown here: https://en.wikipedia.org/wiki/Raspberry_Pi - there is also a table there listing the physical dimensions of each version.
|
|
July 19, 2015, 15:42 |
Raspberry Pi
|
#10 |
New Member
daniel
Join Date: Jun 2015
Posts: 22
Rep Power: 11 |
I have recently build a Raspberry Pi cluster, using Raspberry pi model b 2, i have Openfoam 2.4.0 running every thing works, I can put together a how to if any one is intrested
|
|
July 20, 2015, 00:13 |
|
#11 |
New Member
Tanneru Hemanth Kumar
Join Date: Jun 2015
Location: India
Posts: 8
Rep Power: 11 |
Hi Linead,
Can you post a step by step post for installing Openfoam2.4 on ARM architecture if possible. |
|
July 20, 2015, 03:59 |
|
#12 |
New Member
daniel
Join Date: Jun 2015
Posts: 22
Rep Power: 11 |
Hi Hemanth
Yes that's not a problem I will put together a pdf as there are a few people who are interested. Depends how my workload is at work but hopefully I will get some thing on here within the next few days |
|
July 20, 2015, 17:05 |
OpenFoam For Raspberry Pi
|
#13 |
New Member
daniel
Join Date: Jun 2015
Posts: 22
Rep Power: 11 |
To Hemanth and every one else that is looking to install OpenFoam on a Raspberry Pi, see attachment.
I hope it is useful to some one, if you like this tutorial and you have any knowledge of setting up a axial fan boundary condition please let me know as that is what i need help with |
|
July 21, 2015, 03:52 |
|
#14 | |
New Member
Tanneru Hemanth Kumar
Join Date: Jun 2015
Location: India
Posts: 8
Rep Power: 11 |
Quote:
Can you help from this if you can ? |
||
July 21, 2015, 04:00 |
|
#15 |
New Member
daniel
Join Date: Jun 2015
Posts: 22
Rep Power: 11 |
Hemanth
Try the instructions in the pdf I posted yesterday |
|
July 21, 2015, 08:17 |
|
#16 | |
New Member
Tanneru Hemanth Kumar
Join Date: Jun 2015
Location: India
Posts: 8
Rep Power: 11 |
Quote:
When i did ./Allwmake in the path sepecified in instructions, It throws an error . ./Allwmake: 4 : ./Allwmake: wmake chkPwd : not found Error : Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the Open FOAM entries in your dot-files and source them. It might be because of the previous environment variables that are set during installation through the other method by Bruno. |
||
July 21, 2015, 09:35 |
|
#17 |
New Member
daniel
Join Date: Jun 2015
Posts: 22
Rep Power: 11 |
Hi Hemanth
What os are you using ? I would suggest you start with reinstalling your os so that every thing is default then try again |
|
November 2, 2015, 16:22 |
|
#18 |
New Member
Michiel Bakker
Join Date: Sep 2015
Posts: 5
Rep Power: 11 |
I just followed your tutorial. I only did not take the latest version of Rasbian but I took the one from May (Wheezy) since I assumed you used that one as well (Rasbian Jessie wasn't out when you guys had this discussion).
Unfortunately I got the exact same error as Hemanth. What should I do? Try it with Rasbian Jessie? Did you succeed eventually Hemanth? |
|
November 2, 2015, 17:01 |
|
#19 |
New Member
daniel
Join Date: Jun 2015
Posts: 22
Rep Power: 11 |
Strange that both of you are having troubbles. As two people have had the same error I will review the tutorial to make sure there are no errors and I will update. I am currently at the open foam user event and don't have the cluster to hand but I should get back to you by the end of the week
|
|
November 5, 2015, 07:58 |
|
#20 |
New Member
Michiel Bakker
Join Date: Sep 2015
Posts: 5
Rep Power: 11 |
I am not sure yet but I might have fixed it by running:
source /home/pi/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc which loaded the environment variables (I guess, I'm also new to this). Now it is doing stuff after I ran: /.Allwmake Does this seem like a logical solution? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 Parallel Build Install Issue | jclegg | SU2 | 4 | October 20, 2020 05:28 |
[OpenFOAM.org] Build and install OpenFOAM Dev 64 bits | echin | OpenFOAM Installation | 8 | June 24, 2016 04:54 |
Install openFOAM from with proxy server | Dhruval | OpenFOAM Installation | 3 | October 18, 2014 16:38 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |