|
[Sponsors] |
[OpenFOAM.org] Compile OpenFOAM 2.4 on amazon cws |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 20, 2015, 18:38 |
Compile OpenFOAM 2.4 on amazon cws
|
#1 |
Member
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 13 |
Hi,
I am trying to build OF 2.4 on a amazon EC2 instance. I have launched the compilation yesterday morning and after more than 20 hours it has not completed yet. Is this normal? The reason I am building OF myself is that with the packaged version I could not install swak4foam because of dependencies issues. The instance is a t2.micro with 1GB of RAM. I guess this is not much, but one day? And of course it's free. Could you recommend a minimum spec for the instance? Thanks Last edited by Rojj; September 20, 2015 at 21:32. |
|
September 21, 2015, 14:26 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128 |
Greetings Rojj,
Well, I don't have experience with AWS, but here's what I know about the requirements for building OpenFOAM from source code:
The AWS description isn't very clear about the CPU power made available... oh wait, here we go: Quote:
For comparison with some old numbers I have: Build times for OpenFOAM 2.0.x code with Ubuntu 10.10 with its gcc 4.4.5 - it took my machine 2h24m with with a single core at 2.8GHz, to build OpenFOAM 2.0.x. Therefore, in theory, the t2.micro instance may take somewhere between 24h and 30h, if we take into account the possibility that the more recent GCC and OpenFOAM versions take a while longer to build. In addition, if the instance has memory swap beyond RAM, then things will get even slower. Either way, you might want to double check if the instance hasn't stalled in the build, i.e. check if the Allwmake script is still outputting new stuff once in a while. Best regards, Bruno
__________________
|
||
September 21, 2015, 18:25 |
|
#3 | |
Member
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 13 |
Quote:
Thanks for the detailed answer. You were spot on! It took around 27 hours! Now it's working fine and I managed to install swak4foam and pyfoam and it's working fine. Thanks again Ruggiero |
||
Tags |
amazon, aws, openfoam 2.4, swak4foam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 15:54 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 14:24 |
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 14, 2016 10:19 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 05:56 |