Hi Dan,<div><br></div><div>It's a bit strange to get a 'no error' error message... I'm assuming you're running on Windows? If so, I think I know why the error message is essentially empty. But in the short therm, it'll be very difficult for you or me to fix this so it does produce a sensible error message. Your best bet is to figure it out by yourself. There aren't many reasons for a memory mapping to fail, it could be:</div>
<div><ul><li>file not found</li><li>file is empty</li><li>permission denied</li><li>file size exceeds addressable space (2GB on a 32-bit system)</li><li>not enough physical RAM</li><li>too many open files</li><li>...</li>
</ul></div><div>Hopefully one of these will ring a bell, and you'll be able to figure out the problem...</div><div><br></div><div>For those who are interested: this is probably a consequence of the fact that this particular operation (memory-mapping) is the only not explicitly handled by MingW (the compiler we use on Windows, which provides most of the functions normally available on a Unix (POSIX) system). Because of that, we call the relevant Windows-specific functions directly, but I hadn't realised that we also need to retrieve any eventual error messages using the Windows-specific calls too. It's trivial to modify the code to do so, but compiling the code on Windows is a black art, and so far Ben Jeurissen is the only person to have figured it out properly. I don't think it's worth releasing a new version just for this bug, but the fix is now in the code for the next release - hopefully you'll get more helpful error messages in the next version...</div>
<div><br></div><div>Hope that helps.</div><div>Cheers,</div><div><br></div><div>Donald.</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On 2 July 2012 09:17, Dan Wu <span dir="ltr"><<a href="mailto:dwu18@jhu.edu" target="_blank">dwu18@jhu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear experts,<div><br></div><div>I got an error message "memory-mapping failed for image ".\CSD6.mif": No error " when I tried to do csdeconv. Does anyone know what could be the possible reason? I realized that that the SH coefficients of my response function is higher than usual. Could that be the reason for the failure? Thanks!</div>
<div><br></div><div>Regards,</div><div><br></div><div>Dan<span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Dan Wu<br><br>PhD Candidate<br>Department of Biomedical Engineering<br>Johns Hopkins University<br>
email: <a href="mailto:dwu18@jhu.edu" target="_blank">dwu18@jhu.edu</a><br>
phone: 443-564-9191<br><br>
</font></span></div>
<br>_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org">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><br><br clear="all"><div><br></div>-- <br>Jacques-Donald Tournier (PhD)<br>Brain Research Institute, Melbourne, Australia<br>Tel: +61 (0)3 9035 7033<br>
</div>