<div>Hi Donald,</div><div>thanks for your quick reply.</div><div><br></div><div>As I run the command with the -debug option I noticed the file I was working with was read-only and finally I realised it was just a matter of file permissions... So, issue solved. Thanks for hint.</div>
<div><br></div><div>Danilo</div><div><br></div><div><br></div><div><br></div><div class="gmail_quote">On 3 October 2011 03:01, Donald Tournier <span dir="ltr"><<a href="mailto:d.tournier@brain.org.au" target="_blank">d.tournier@brain.org.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Danilo,<div><br></div><div>This is really strange, given that the same code works on the same OS running under a different virtual machine... The only reason for the memory mapping to fail with this particular error is that the file size is too big - all other reasons would also cause problems on other systems. How big are the files that you're trying to load or generate? Can you increase the amount of memory reserved for the virtual machine? </div>
<div><br></div><div>Otherwise, other suggestions are to post the output of the command when running with the -debug option, and also post the output of "mrinfo DWIecc.nii" so we can check the original file size & parameters.</div>
<div><br></div><div>As a last option, you could just wait a little until I release the next version of MRtrix (soon), which will include instructions for compiling natively on MacOS X...</div><div><br></div><div>Cheers,</div>
<div><br></div><div>Donald.</div><div><br></div><div><br></div><div><br><div class="gmail_quote"><div><div></div><div>On 30 September 2011 20:15, Danilo Scelfo <span dir="ltr"><<a href="mailto:danilo.scelfo@gmail.com" target="_blank">danilo.scelfo@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>Hello to moderator, <br>the following should be a reply to the message of <b>
Donald Tournier</b>
<i>Mon Jun 20 17:55:33 PDT 2011</i><br><br>Hello, <br><br>I'm experiencing a similar issue using the command:<br><br>dwi2tensor DWIecc.nii -grad /path/to/encoding64dir.b3000.txt tensor.mif<br><br>and getting the error:<br>
<br>dwi2tensor: memmory-mapping failed for file "./tensor.mif": Invalid argument<br><br>I'm running MRtrix on a virtual Linux Ubuntu 10.04 64bit machine on a guest Mac OSX 64bit system. <br>The same commands were correctly running on a virtual Linux Ubuntu 10.10 64bit machine on a guest CentOS 5.5 64bit system. <br>
Could the different Ubuntu version be the cause? Gradient file is correctly formatted as I'm able to perform tractography using the same file with streamtrack.<br><br>Can you help me with such a issue? <br>Thanks in advance, <br>
<font color="#888888">
<br>Danilo Scelfo<br><br><br><br><b><br><br></b><i></i>
</font><br></div></div>_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org" target="_blank">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Jacques-Donald Tournier (PhD)<br>Brain Research Institute, Melbourne, Australia<br>Tel: <a href="tel:%2B61%20%280%293%209035%207033" value="+61390357033" target="_blank">+61 (0)3 9035 7033</a><br>
</font></div>
</blockquote></div><br>