Trying to build and install OpenFOAM 2.4.0 on Lubuntu 14.04 ARM7
Code:
Checking basic setup... |
Problem in open foam installation through ubuntu deb method
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 . |
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 |
1 Attachment(s)
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. |
Quick answer:
|
1 Attachment(s)
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. |
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 |
Thanks Bruno,
Will try and let you the progress next weekend. How to whether system is rasberry pi or not ? |
Quote:
|
Raspberry Pi
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
|
Hi Linead,
Can you post a step by step post for installing Openfoam2.4 on ARM architecture if possible. |
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 |
OpenFoam For Raspberry Pi
1 Attachment(s)
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 :) |
1 Attachment(s)
Quote:
Can you help from this if you can ? |
Hemanth
Try the instructions in the pdf I posted yesterday |
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. |
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 |
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? |
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
|
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? |
All times are GMT -4. The time now is 05:14. |