How to write cints to a file?
Relevant documentation The public outputs section discusses print_ln, but not writing to a file. https://mp-spdz.readthedocs.io/en/latest/io.html?highlight=writing%20file#public-outputs
The question I need to create a dynamically sized array, the specific size is dependent on my data and I will only know the appropriate size after one pass of computation. Our approach to this problem was splitting up the program and writing the size to a file (the size will be a public value). After perusing some documentation, I am unsure how to write a cleartext int to a regular .txt file--specifically, it appears in the file in the cXX format rather than looking like a number.
The only option I can think of is using -OF as explained in the documentation above. The virtual machine does not support the output of runtime information into files specified in the high-level code.