Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2465 > unrolled thread

Re: Get["file.mx"] doesn't work

Started by"Scot T. Martin" <smartin@seas.harvard.edu>
First post2011-05-18 11:14 +0000
Last post2011-05-18 11:14 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Get["file.mx"] doesn't work "Scot T. Martin" <smartin@seas.harvard.edu> - 2011-05-18 11:14 +0000

#2465 — Re: Get["file.mx"] doesn't work

From"Scot T. Martin" <smartin@seas.harvard.edu>
Date2011-05-18 11:14 +0000
SubjectRe: Get["file.mx"] doesn't work
Message-ID<ir09mp$1uj$1@smc.vnet.net>
To add to what Albert writes, somewhat surprisingly to me the .mx format also depends on the storage medium. That is, when using the same machine (i.e., control therefore on OS and 32/64-bit), I have made .mx files and stored that to my local hard drive. I then copy those files over to a network drive, which I believe is Linux but appears to me just as a mapped network drive within Windows. The .mx files then no longer work. I have to re-run and generate the .mx files directly to the network drive.



________________________________________
From: Albert Retey [awnl@gmx-topmail.de]
Sent: Tuesday, May 17, 2011 07:48
Subject:  Re: Get["file.mx"] doesn't work

Am 16.05.2011 13:28, schrieb Martin Vavpoti==C4==8D:
> My computer broke. I installed Mathematica on a laptop and I wanted to
> load the calculations I already made. I used the Get command and I got
> this:
>
> File Lensing_08_118_06_1e-3.mx cannot be loaded, it is corrupted or is
> written on a different machine
>
> Does this mean my backed up files are no good on a different computer?
> Do I need to make those files all over again?

mx, as the documentation says, is a machine and version dependent
format, it depends e.g. on OS and also differs for e.g. 32 vs. 64 bit
machines. It also does differ between various versions of mathematica. I
think your best bet is to find a machine with the same OS and Processor
type as your old machine running the same Mathematica version as your
old computer and convert to something machine independent, e.g. wdx.
Maybe in the future you also want to use machine independent formats,
although they are a little less efficient. Of course it could also be
that your files got corrupted, your old computer might have written
nonsense to disk before completley breaking down...

hth,

albert

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web