0
$\begingroup$

I use MMA 11.3 and obtain the strange behavior of the DumpSave/Get routines. I've saved the results of long computations using

SetDirectory[dir];
DumpSave["file.mx", {res, k, fn}];

I've checked that all variables contain actual data before saving. Files were created at every mentioned folder and all of them have different size. However, later using the Get["file.mx"], I see the non-assigned variables res, k and fn. Moreover, the

Names["Global`*"]

returns me an empty list (just some built-in variables) after evaluation of the Get["file.mx"].

Do anybody know how to take the data from mx-files? One of the problematic files is here (~2Mb)

$\endgroup$
10
  • $\begingroup$ It works for me? puu.sh/AmATY/d061e2ff17.png $\endgroup$
    – ktm
    Commented May 15, 2018 at 12:16
  • $\begingroup$ I think for anyone else to better investigate this, we'll need some information on what's behind those actual values. Because with a simple example it just works. $\endgroup$
    – ktm
    Commented May 15, 2018 at 12:22
  • $\begingroup$ In my case, the res is a table with some dozens of thousands of elements, where each element is like {num,num}. But it should work for any data inside expression. I've used this earlier with older versions of MMA without any problems. $\endgroup$
    – Rom38
    Commented May 15, 2018 at 12:41
  • $\begingroup$ No doubt it should work. But if no one can reproduce it it is unlikely they'll be able to help. Can you provide a simple command that mimics the dimensions and type of your data (some sort of Table) that you seem able to reproduce the issue with, without needing your full code? $\endgroup$
    – ktm
    Commented May 15, 2018 at 12:49
  • $\begingroup$ The exact data structure of res is like following: Table[Transpose@N@Table[{i/7, i/3}^(3/k), {i, 1, 300}], {k, 1, 44}], the fn is a list of 44 filenames and k is a simple number. $\endgroup$
    – Rom38
    Commented May 15, 2018 at 17:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.