Commit 937904f4503d5533228a5be798a0fbe343664733
1 parent
b6d76f3a
Remove OpenMP critial zone for saving of CTA observation (this seems to block on CentOS)
Showing
1 changed file
with
0 additions
and
6 deletions
inst/cta/src/GCTAObservation.cpp
| ... | ... | @@ -1286,10 +1286,6 @@ void GCTAObservation::save(const GFilename& filename, |
| 1286 | 1286 | } |
| 1287 | 1287 | } |
| 1288 | 1288 | |
| 1289 | - // Put into OpenMP criticial zone | |
| 1290 | - #pragma omp critical | |
| 1291 | - { | |
| 1292 | - | |
| 1293 | 1289 | // Open or create FITS file. Since we accept here a special structure |
| 1294 | 1290 | // for the extension that cfitsio does not understand we only pass |
| 1295 | 1291 | // the URL without extension name to the GFits constructor. |
| ... | ... | @@ -1304,8 +1300,6 @@ void GCTAObservation::save(const GFilename& filename, |
| 1304 | 1300 | // Close FITS file |
| 1305 | 1301 | fits.close(); |
| 1306 | 1302 | |
| 1307 | - } // end of OpenMP critical zone | |
| 1308 | - | |
| 1309 | 1303 | // Return |
| 1310 | 1304 | return; |
| 1311 | 1305 | } | ... | ... |