CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Share large database among multiple processors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2019, 10:03
Unhappy Share large database among multiple processors
  #1
New Member
 
K.fanfu
Join Date: May 2018
Posts: 1
Rep Power: 0
K.FF is on a distinguished road
Hi,


I'm writing a program that needs to read a database at run time.It reads the database per core while running in parallel,resulting in a large amount of memory when running on 36 processors.

This part of the program's data is stored in a PtrList<> object and fixed.

My question is whether it is possible for other threads to access the master processor's object to sharing the same data.

Thanks for all Suggestions and comments
K.FF
K.FF is offline   Reply With Quote

Reply

Tags
database share pointer


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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[blockMesh] Internal walls of zero thickness anger OpenFOAM Meshing & Mesh Conversion 23 February 6, 2020 19:25
Using database files in OpenFOAM menonshyam OpenFOAM Programming & Development 3 August 16, 2014 16:28
Can't open the database. Help Please! CFX Begineer CFX 1 October 27, 2002 14:08


All times are GMT -4. The time now is 03:56.