是否可以在SimGrid中创建文件?
例如,在某些执行程序创建文件并使用Msg_file_write()将输出写入文件后。
为此,我尝试使用不存在名称的Msg_file_open(),期望simgrid将创建一个新文件。但是编译器只给了我一个
Segmentation fault.发布于 2016-07-25 12:36:44
MSG_file_write和MSG_file_open的行为在https://github.com/simgrid/simgrid/blob/master/examples/msg/io-file/io-file.c和https://github.com/simgrid/simgrid/blob/master/examples/msg/io-storage/io-storage.c中得到了体现。
关于你的具体问题,需要的不仅仅是“我有一个分割错误”来帮助你。您是否有任何最低限度的工作示例来重现您的问题,或者至少有一些回溯?
https://stackoverflow.com/questions/38536705
复制相似问题