I've been evaluating Grid but I found some problems with SQLite DB when not using numnodes.
So I am now using numnodes option to setup explicitly number of nodes to use with Grid.
But the problem is now print() do not show on the screen from node code. So hard to debug. So I changed code to send debug messages to print files.
But now I find that the files do even get created when using numnodes.
When removing numnodes option, the text file gets created.
I am using FileTools:-Text:-WriteString() and FileTools:-Text:-Close() in the node code.
I also tried using fopen(). Both do not work.
Same code works OK if I do not use numnodes.
Any idea why the file do not get created when using numnodes? Worksheet to produce this is below.
I use C:\\tmp folder for testing. Feel free to change this. When I run the code and look in the folder, I do not see the text file there when using numnodes.
It is possible the file is created but saved somewhere else on the system even though the full file name is given?
It seems to me now that when using numnodes option, there are some things that work and some things that do not work. I do not know if this is by design or a bug. Any one knows?
Download grid_question_jan_29_2025.mw
To see the file 0_file.txt get created in the folder, simply remove the numnodes option.