# Empty watch point log file

**URL:** https://precice.discourse.group/t/empty-watch-point-log-file/2167
**Category:** Using preCICE
**Created:** [October 15, 2024, 4:47am UTC](https://precice.discourse.group/t/empty-watch-point-log-file/2167 "2024-10-15T04:47:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ya\_Squall](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ya_squall/32/2265_2.png) [@Ya\_Squall](https://precice.discourse.group/u/Ya_Squall)
#### Post date: [October 15, 2024, 4:47am UTC](https://precice.discourse.group/t/empty-watch-point-log-file/2167/1 "2024-10-15T04:47:53Z")

</div>

Hello there,

Adopted ‘multiple-perpendicular-flaps’ case running fine. But no contents been written to the watchpoint log files at all:  
 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/1/16b2b4f3839eae5b48cbd66b5484d5aa4c47d348.png)

Please advise! many thanks.

[precice-config.xml](https://precice.discourse.group/uploads/short-url/orUKORNaeFrWih4GmHSvL96h8fQ.xml) (5.3 KB)

---

<div class="post-metadata">

### Author: ![Ya\_Squall](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ya_squall/32/2265_2.png) [@Ya\_Squall](https://precice.discourse.group/u/Ya_Squall)
#### Post date: [October 15, 2024, 8:57am UTC](https://precice.discourse.group/t/empty-watch-point-log-file/2167/2 "2024-10-15T08:57:35Z")

</div>

my mistake, should look at the log file at respective solver folders.

---

<div class="post-metadata">

### Author: ![fsimonis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/fsimonis/32/6_2.png) [@fsimonis](https://precice.discourse.group/u/fsimonis)
#### Post date: [October 23, 2024, 5:31pm UTC](https://precice.discourse.group/t/empty-watch-point-log-file/2167/3 "2024-10-23T17:31:41Z")

</div>

Hi,

This is a bug we have on the radar:

> <https://github.com/precice/precice/issues/1989>
>
> \*\*Describe your setup\*\*
> 
> Operating system (e.g. Linux distribution and version…): Yes
> preCICE Version: develop (3.1.0 rc)
> 
> \*\*Describe the problem\*\*
> 
> When configuring a watchpoint in a participant, also other participants create the watchpoint log files.
> 
> This leaves empty watchpoint files around, which
> 
> \* can lead to confusion of the user
> \* results in unnecessary files
> \* makes automatic data aggregation and plotting more difficult as files are not unique.
> \* can lead to problems when multiple participants run from the same directory as this is a filesystem race-condition. This is generally not the case though.
> 
> \*\*Step To Reproduce\*\*
> 1. define a watchpoint on a mesh in one participant (the elastic-tube-1d tutorial is an easy-to-run example)
> 2. run the case
> 3. find a watchpoint log file in every participant directory.
> 
> \*\*Expected behaviour\*\*
> 
> Only write log files from the participant that is being run.
> 
> \*\*Additional context\*\*
> 
> \* Watchpoint/integral constructor opens the log file
> \* ParticipantConfiguration::finishParticipantConfiguration creates watchpoints/integrals for every configured participant.
> 
> We need #982

Best  
Frédéric

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/precice/original/1X/67d2a5fa6f80e597e2267ff17fa8c1673cd11caa.svg) [@system](https://precice.discourse.group/u/system)
#### Post date: [November 11, 2024, 4:09pm UTC](https://precice.discourse.group/t/empty-watch-point-log-file/2167/4 "2024-11-11T16:09:02Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
