|
[Sponsors] |
July 9, 2009, 05:45 |
mistake after nparcels increased, dieselFoam
|
#1 |
New Member
Yejun Gong
Join Date: Mar 2009
Posts: 21
Rep Power: 18 |
Hi,
I am running my version of dieselFoam using osx system. and my code works fine when nparcels=5000. but after I increased the number of parcels, nparcels, to 20000, I got the following error messages, attached in the bottom. I have installed binutils which includes gaddr2line. is it happened because of osx system? Any help is highly appreciated! Yejun ----------------------- Evolving Spray #0 Foam::error:rintStack(Foam::Ostream&)unable to read unknown load command 0x1b unable to read unknown load command 0x1e in "/Network/Servers/controller.cluster/Homedir/yegong/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libOpenFOAM.dylib" #1 Foam::sigSegv::sigSegvHandler(int)unable to read unknown load command 0x1b unable to read unknown load command 0x1e in "/Network/Servers/controller.cluster/Homedir/yegong/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libOpenFOAM.dylib" #2 _sigtrampgaddr2line: /usr/lib/libSystem.B.dylib: cannot get addresses from archive addr2line failed #3 _sigtrampgaddr2line: /usr/lib/libSystem.B.dylib: cannot get addresses from archive addr2line failed#4 void Foam::Cloud<Foam:arcel>::move<Foam::spray>(Foam: :spray&)unable to read unknown load command 0x1b unable to read unknown load command 0x1e in "/Network/Servers/controller.cluster/Homedir/yegong/OpenFOAM/yegong-1.5/lib/darwinIntelDPOpt/libmydieselSpray.dylib" #5 Foam::spray::move()unable to read unknown load command 0x1b unable to read unknown load command 0x1e in "/Network/Servers/controller.cluster/Homedir/yegong/OpenFOAM/yegong-1.5/lib/darwinIntelDPOpt/libmydieselSpray.dylib" #6 Foam::spray::evolve()unable to read unknown load command 0x1b |
|
July 9, 2009, 06:31 |
|
#2 | |||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
BTW: is this the first time-step with particles? Quote:
Quote:
Bernhard |
||||
July 9, 2009, 06:44 |
|
#3 | |
New Member
Yejun Gong
Join Date: Mar 2009
Posts: 21
Rep Power: 18 |
Quote:
this error message happened after the injected parcels accessed 8000, not the first time step. and if I use nparcels=8000, my code works. the 8000 case needs around 120M memory. and I have 8GB of memory. it should be enough. Yejun |
||
July 9, 2009, 06:53 |
|
#4 | |
New Member
Yejun Gong
Join Date: Mar 2009
Posts: 21
Rep Power: 18 |
Quote:
I do defined some new variables in my code, but they are all pointers or scalars. no one is array. |
||
July 9, 2009, 11:47 |
|
#5 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
What I meant to say was: compile yourself a debug-version of OF (see for instructions elsewhere on the forum) and run your program in that. Most causes for segmentation-faults ("array out of bounds" basically) are checked for in the debug-version
No matter what you do: as soon as you start developing you should have a debug-version. It saves you a lot of time |
|
July 10, 2009, 04:17 |
|
#6 | |
New Member
Yejun Gong
Join Date: Mar 2009
Posts: 21
Rep Power: 18 |
Quote:
I have compiled the debug version, and I will learn how to use it first. Yejun |
||
March 6, 2017, 09:39 |
|
#7 |
Senior Member
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12 |
Hi Yejun,
I met the same problem. Did you solve this problem eventually? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
gasoline spray simulation using dieselFoam | qhdgj | OpenFOAM Running, Solving & CFD | 10 | July 10, 2016 02:55 |
Running dieselFoam error | adorean | OpenFOAM Running, Solving & CFD | 119 | February 1, 2016 15:41 |
axi-symmetric mesh of dieselFoam | az1362f | OpenFOAM Running, Solving & CFD | 2 | June 27, 2009 12:32 |
DieselFoam does not restart from latestTime | lord_kossity | OpenFOAM Bugs | 8 | February 21, 2009 14:54 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |