Skip to content

Create ofstream for parallel run

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1796
    aminiyasser
    Member

    Hi allrnI need to create an ofstream for writing something.rnin serial run the command “”ofstream yas(“”aaa.dat””);”” is worked correctly.rnhowever this command in the parallel run produce an error and can not write the data.rnrnany help will be appreciated.rnbest regardsrn

    #2243
    mathias
    Keymaster

    Hi,rnrnplease check out our implementation in “”io/superVtkWriter3D.hh””. We are usinmg it (dont forget the “”std::””) and it is working fine.rnrnBestrnMathias

    #2244
    aminiyasser
    Member

    Dear Mathiasrnthanks so muchrnIt is working correctly.rnrnBest Regardsrn

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.