|
[Sponsors] |
April 29, 2014, 10:37 |
mapFields -parallel error message
|
#1 | |
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 14 |
Dear Foamers,
I'd like to use mapFields sourceCase -parallel. Both, source and target case, are split in same number of subdomains (2x2x4). Using mapFields sourceCase -parallel delivers this error: Quote:
Using OF 2.3.0 Could anybody help? regards, Aylalisa |
||
May 3, 2014, 14:03 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
How do you start your solver in parallel? Probably you have to use something like
Code:
mpirun -np 8 mapFields sourceCase -parallel |
|
May 6, 2014, 05:16 |
|
#3 |
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 14 |
Hello Joachim,
I've tried to start mapFields utility as u suggested: 0) define startTime in system/controlDict according to desired time folder from sourceCase 1) blockMesh 2) cp -r 0/ desiredTimeFolder/ 3) decomposePar 4) mpirun -np 8 mapFields mySourceCase -parallel >log.mapFields The last feedback I get: Creating mesh-to-mesh addressing for region0 and region0 regions using cellVolumeWeight But then nothing happens, neither a result nor an error message. If I list the ongoing processor activities with top command I can see that there are no processor activities initiated by mapFields if I start it in parallel . Whereas if I start mapFields with only one processor I can see in the list of CPU intensive tasks that one processor is busy with mapFields. Aylalisa |
|
June 26, 2014, 05:38 |
|
#4 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
If you search these forums, you might find some threads about problems with mapFields in OpenFOAM 2.3. Perhaps you can try with an older version.
|
|
June 26, 2014, 05:59 |
|
#5 |
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 14 |
I haven't yet any better solution. Either that or waiting ...
|
|
June 27, 2014, 04:22 |
|
#6 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
hello,
There seem to be some trouble with mapField in the 2.3 version. So try this (old map method): mpirun -np 8 mapFields -mapMethod mapNearest -parallel -sourceTime 0 /path/to/source/case/ NB: in this case, both case should be decomposed with 8 processor, and the time to map is 0. With older mapFields utilities, mapping with different decomposition number where possible (i.e from 4 to 16), but not any more. regards, olivier |
|
July 9, 2014, 13:19 |
|
#7 |
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 14 |
Hello Olivier,
I do following steps in the target case folder: Code:
blockMesh cp -r 0/ 500/ decomposePar mpirun -np 8 mapFields -mapMethod mapNearest -parallel -sourceTime latestTime /home/aylalisa/OpenFOAM/aylalisa-2.3.0/run/012_simple_Foam_grading_69x50x20_141 I get this error: Code:
Creating and mapping fields for time 500 Creating mesh-to-mesh addressing for region0 and region0 regions using mapNearest *** Error in `mapFields': free(): invalid pointer: 0x0f45454545454545 *** *** Error in `mapFields': free(): invalid pointer: 0x0f45454545454545 *** [linux-3tg7:13577] *** Process received signal *** [linux-3tg7:13577] Signal: Aborted (6) [linux-3tg7:13577] Signal code: (-6) [linux-3tg7:13577] *** End of error message *** [linux-3tg7:13579] *** Process received signal *** [linux-3tg7:13579] Signal: Aborted (6) [linux-3tg7:13579] Signal code: (-6) [linux-3tg7:13579] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 2 with PID 13577 on node linux-3tg7 exited on signal 6 (Aborted). Aylalisa |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running mapFields with Parallel Source and Parallel Target | RDanks | OpenFOAM Pre-Processing | 4 | August 2, 2016 06:24 |
implementation of mapFields into parallel transient case | simpomann | OpenFOAM Pre-Processing | 4 | August 2, 2016 05:41 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |
The -parallel parameter of mapFields utility in OpenFOAM v2.3.0 | shuoxue | OpenFOAM Pre-Processing | 1 | April 28, 2014 06:59 |
mapFields ignores sourceTime for -parallel source | andersking | OpenFOAM Bugs | 2 | September 2, 2009 11:38 |