CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

mapFields -parallel error message

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2014, 09:37
Default mapFields -parallel error message
  #1
Senior Member
 
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 13
aylalisa is on a distinguished road
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:
--> FOAM FATAL ERROR:
bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor

From function UPstream::init(int& argc, char**& argv)
in file UPstream.C at line 79.

FOAM aborting
I've tried mapFields sourceCase -parallel -np 8, too. Same error message


Using OF 2.3.0

Could anybody help?

regards,
Aylalisa
aylalisa is offline   Reply With Quote

Old   May 3, 2014, 13:03
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
How do you start your solver in parallel? Probably you have to use something like
Code:
 mpirun -np 8 mapFields sourceCase -parallel
jherb is offline   Reply With Quote

Old   May 6, 2014, 04:16
Default
  #3
Senior Member
 
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 13
aylalisa is on a distinguished road
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
aylalisa is offline   Reply With Quote

Old   June 26, 2014, 04:38
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
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.
jherb is offline   Reply With Quote

Old   June 26, 2014, 04:59
Default
  #5
Senior Member
 
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 13
aylalisa is on a distinguished road
I haven't yet any better solution. Either that or waiting ...
aylalisa is offline   Reply With Quote

Old   June 27, 2014, 03:22
Default
  #6
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
olivierG is on a distinguished road
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
olivierG is offline   Reply With Quote

Old   July 9, 2014, 12:19
Default
  #7
Senior Member
 
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 13
aylalisa is on a distinguished road
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
500 is the latestTime folder of the source case.

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
aylalisa is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 05:24
implementation of mapFields into parallel transient case simpomann OpenFOAM Pre-Processing 4 August 2, 2016 04:41
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
The -parallel parameter of mapFields utility in OpenFOAM v2.3.0 shuoxue OpenFOAM Pre-Processing 1 April 28, 2014 05:59
mapFields ignores sourceTime for -parallel source andersking OpenFOAM Bugs 2 September 2, 2009 10:38


All times are GMT -4. The time now is 21:11.