|
[Sponsors] |
![]() |
![]() |
#1 | |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 15 ![]() |
Hello Everyone.
I have made a solver that works on my lab computer (forgot which openfoam version it is) but it doesn't work on my home computer (OpenFOAM version 3.0.1). I have made a mesh using gmsh and imported it to my openFoam case. When I run it, I get the "new cannot satisfy memory request." Error. I searched to figure out what is causing it, but most of the threads were talking about huge meshes. My mesh has only about 15K elements which is much smaller than many other cases. I need help on this. The full error message is: Quote:
Thanks.
__________________
SAHM |
||
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 15 ![]() |
The file was too big and I couldn't upload it as attachment here. You can downlod it from this link:
https://dl.dropboxusercontent.com/u/...3/Codes%20.zip Thanks in advance.
__________________
SAHM |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
Hi sahm,
I am facing the same issue. Did yours resolve? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 272
Rep Power: 17 ![]() |
Since your problem is not rooting from a "out of virtual memory" as you mentioned, and your code runs in another computer which means it probably is not "bad use of pointers" then the only option can be " out of date shared library".
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
Thank you.
So what can be the solution to this? Are there any specific commands I should run to update my shared library? |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 15 ![]() |
Hi everyone
I solved this issue by reinstalling the OpenFOAM. The OF version that I had at my home linux computer was installed using binary installer, but I removed it and installed it by compiling the source code in my home directory and now it's working.
__________________
SAHM |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
Hi,
I tried to reinstall the OpenFoam1.6-ext on my Ubuntu 14.04 after removing the earlier version. Still my case is giving the same error. I have attached the log file for reference. The only place where I could locate the word 'error' was around 2/3 of the log document as shown below: ------------------------------------------- Make/linux64Gcc48DPOpt/MGridGenGAMGAgglomerate.o MGridGenGAMGAgglomerate.C:36:25: fatal error: mgridgen.h: No such file or directory compilation terminated. MGridGenGAMGAgglomerate.dep:343: recipe for target 'Make/linux64Gcc48DPOpt/MGridGenGAMGAgglomerate.o' failed make: *** [Make/linux64Gcc48DPOpt/MGridGenGAMGAgglomerate.o] Error 1 -------------------------------------------- Also, when I was at step 14 after completing step 13 of : https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 I saw that there was some error somewhat like: ...404 Error not found I checked that I have enough space in the 'run' folder to run the case (51.5 GB). Any ideas what else can be looked into? Man Mohan Last edited by Manm; August 10, 2016 at 16:14. Reason: forgot attachement file |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
Ok. So I read through the log.Allmake document and figured out that the websites to certain packages download are not accesible. I also tried to open the links directly from the browser but the pages didn't open up。Find attached file.
Following two package pages did not connect: 1. ParMGridGen-1.0 http://www.mgnet.org/mgnet/Codes/par...Gen-1.0.tar.gz 2. Libccmio-2.6.1 http://portal.nersc.gov/svn/visit/ta...o-2.6.1.tar.gz A few days back I had installed OF 1.6-extend on my laptop and it had all gone smoothly. Now not working on my lab computer. Any resolution to that? Last edited by Manm; August 13, 2016 at 09:08. |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
Well, I thought the Thirdparty server was down and after multiple trials it still didnt work.So, instead I copied all the files from the ThirdParty folder from my working OpenFoam1.6-ext computer and transferred it to my system's ThirdParty folder.
I then ran the installation instructions from step 15 onwards: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 It worked but gave some errors in the log file. When I ran cavity tutorial on icoFoam it ran fine. But when I ran my code it again gave the error: ------------- new cannot satisfy memory request. This does not necessarily mean you have run out of virtual memory. It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library Aborted (core dumped) ------------- Any inputs? |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,694
Blog Entries: 6
Rep Power: 50 ![]() ![]() ![]() |
If you copy some pre-compiled stuff to another machine this can cause problems if the libraries are not compatible or you use other versions of other third-party stuff. You should really compile from scratch (Foam + ThirdParty). Nowadays, this only takes 30 - 60 minutes.
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
![]() |
#11 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
Thank you Tobi. I agree. I have tried to install from scratch many times by now but some of the ThirdParty packages as stated in my previous comments are not getting installed so tried this way.
|
|
![]() |
![]() |
![]() |
![]() |
#12 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,694
Blog Entries: 6
Rep Power: 50 ![]() ![]() ![]() |
Hi,
well there are a lot of documentation available how to install foam. For me it is like preparing my favorite food ... there is nothing special ![]() The stuff that you posted is HTML code, so I dont know where it belongs to. Never saw HTML while foam was compiling. Further question. Why you want to compile 1.6? The error here: Code:
Make/linux64Gcc48DPOpt/MGridGenGAMGAgglomerate.o MGridGenGAMGAgglomerate.C:36:25: fatal error: mgridgen.h: No such file or directory compilation terminated. MGridGenGAMGAgglomerate.dep:343: recipe for target 'Make/linux64Gcc48DPOpt/MGridGenGAMGAgglomerate.o' failed make: *** [Make/linux64Gcc48DPOpt/MGridGenGAMGAgglomerate.o] Error 1 Remove everything, clone it again and make a clean compilation.
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
![]() |
#13 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
I didnt realize I had posted the HTML text. The inaccesible packages are in the same post attached as a .docx file.
For the case which I want to run the solver was written by my colleague and he said it will not run on other Opemfoam versions. So, I didnt try to run it on others. |
|
![]() |
![]() |
![]() |
![]() |
#14 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,694
Blog Entries: 6
Rep Power: 50 ![]() ![]() ![]() |
Okay, if it is written in 1.6 it will definitely not compile with the newer version. However, it should work:
Code:
git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext openfoam-extend-OpenFOAM-1.6-ext Code:
./Allwmake > log 2&>1
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
![]() |
#15 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
Thanks.
Sure will try reinstalling again from scratch though I have done it many times by now. |
|
![]() |
![]() |
![]() |
![]() |
#16 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
Ok I think I figure out what is the issue. My Ubuntu version is 15.10 while the openfoam 1.6-ext version installation instructions are meant only upto Ubuntu 14 on this link:
https://openfoamwiki.net/index.php/I...1.6-ext/Ubuntu I had reinstalled Ubuntu 14 on my laptop after uninstalling Ubuntu 16 and the OF 1.6-ext and it had started working, so I am sure this is the current issue. However, I cannot uninstall the current Ubuntu 15.10 and set up Ubuntu 14 now on my lab computer because it is a shared system with other users having their own desktops to work on. Are there specific commands I need to execute apart from the instructions in the above link for Ubuntu 14.04 which can help me get OF 1.6-ext up and running on Ubuntu 15.10? Thank you. |
|
![]() |
![]() |
![]() |
![]() |
#18 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 10 ![]() |
Hi, sorry for the delay.
Please find attached the log file after completing all the steps of installing OpenFoam 1.6-ext. Also find attached the error portion from the log file after running the step 13. Thank you. |
|
![]() |
![]() |
![]() |
Tags |
error, memory |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
new cannot satisfy memory request openFoam!! what is the meaning of this? | adambarfi | OpenFOAM Running, Solving & CFD | 0 | November 2, 2013 13:57 |
Lenovo C30 memory configuration and discussions with Lenovo | matthewe | Hardware | 3 | October 17, 2013 10:23 |
[OpenFOAM] Saving ParaFoam views and case | sail | ParaView | 9 | November 25, 2011 15:46 |
error message "new cannot satisfy memory request" | kumar | OpenFOAM Post-Processing | 1 | January 21, 2010 08:11 |
IcoDyMFoam New cannot satisfy memory request | yuhai | OpenFOAM Running, Solving & CFD | 2 | December 10, 2008 05:15 |