Welcome, Guest
Username: Password: Remember me

TOPIC: formatted results file in parallel mode

formatted results file in parallel mode 9 years 8 months ago #16384

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Hi everyone,

Is there an example among those of the SVN repository where some data are exported to the so-called formatted results file? And preferably in parallel mode?

For the moment, I export my results using something like:

WRITE(29, *) ...

But apparently, only the main processor is writing something.

Thank you for your help.

Olivier.
The administrator has disabled public write access.

formatted results file in parallel mode 9 years 8 months ago #16385

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Olivier

Use T2D_FILES(T2DRFO)%LU instead of 29 for the unit file number.

For me it works without any problem. I obtain as many formatted files as the number of processor requested for the parallel run.
There is no merge of these files...

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: o.gourgue

formatted results file in parallel mode 9 years 8 months ago #16389

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Thank you Christophe for your reply. Unfortunately, it did not solve the problem.

However, this post gave me some clues to solve it:

www.opentelemac.org/index.php/kunena/16-...d-results-file#12352

In the dictionary, I changed the value 'SCAL' to 'PARAL' in the properties of the formatted results file, and now it works fine.

What I feel a bit strange is that, in the above-mentioned post, Jean-Michel seems to say that the default value is PARAL, which is not the case (at least in version v7p0r0).
The administrator has disabled public write access.

formatted results file in parallel mode 8 years 9 months ago #19611

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Apparently, the default value is still 'scal' in version v7p1r0.

Is it a strategic choice or a mistake that has not been corrected?
The administrator has disabled public write access.

formatted results file in parallel mode 8 years 9 months ago #19612

  • jmhervouet
  • jmhervouet's Avatar
Hello,

It depends on what you want to do. If the file is said PARAL you will have one file per processor, with an extension, if it is said SCAL there will be only one. Normally, it is better to have only one file and only the processor 0 is supposed to write in it, after taking information from other processors. There is a process like this in Tomawac to write a file with information on spectra that are linked to points which may be spread in the mesh in several processors.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.