Comments (7)
Hi @cielling, there is currently no append option unfortunately.
You can however set a Caliper attribute and use that to create a new filename for every flush. That may be a workaround. The example below shows how to set an attribute "cycle" for the flush. You can then set output=my_output_%cycle%.txt
for the filename, and it should create my_output_5.txt, my_output_10.txt
, etc.:
call cali_begin_int_byname('cycle', i)
call mgr%flush
call cali_end_byname('cycle')
Hope this helps!
from caliper.
Hi @daboehme, thanks for the response!
So what I'm hearing is that output to a file is at least somewhat intentionally different from output to stdout?
Would Caliper be able to provide us with a flag to append the outputs when writing to a file?
The concern that the code team has with creating a new file for every flush is that this could potentially create thousands of files which would be stressing the file system.
from caliper.
Hi @cielling, yes the output to file is different from the stdout/stderr output.
I think it would make sense to offer an append option though and even make that the default. I'll look into it.
from caliper.
@daboehme Having an append option would be great. Thanks for looking into this!
from caliper.
Hi @daboehme, I wanted to check in to see when you/the Caliper team will have time to look into the append option? Thanks!
from caliper.
Hi @cielling, we now have the option to append to a file. It is default on for runtime-report
so you don't have to do anything to enable it.
from caliper.
Thank you, @daboehme, much appreciated!
from caliper.
Related Issues (20)
- Caliper-2.9.1/src/services/memusage/MemUsageService.cpp(25): warning #1478: function "mallinfo" (declared at line 114 of "/usr/include/malloc.h") was declared deprecated struct mallinfo mi = mallinfo();
- Do all MPI ranks have to profile the same regions? HOT 2
- Record memory usage HOT 2
- Request to make exported paths relative to _IMPORT_PREFIX so Caliper installation is portable. HOT 1
- Request to have Caliper include its Adiak location in target HOT 1
- Request to add Fortran module directory to exported target include path
- Openmp support HOT 1
- loop interval and time interval priority
- Database support across runs HOT 1
- Custom loop profile HOT 3
- MPI link failure HOT 1
- Segfault with caliper v2.10 and master (NEURON Program) HOT 9
- Question about timer resolution increasing HOT 2
- MPICXX not linked for internal binaries HOT 1
- adiak_DIR, not adiak_PREFIX
- Question about MPI_Finalize HOT 4
- Region stack mismatch error HOT 12
- undefined reference to `PMPI_Accumulate_c' when using Intel oneAPI 2024.1 HOT 5
- ARM compile of caliper issue: incorrect unwind argument
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caliper.