<div dir="ltr">Dear Maria Carla<div>it seems that you do not have permissions to write in your temporary files folder.</div><div>As a consequence the shell file which is called to execute the OpenMEEG commands is not written and cannot be executed.</div><div><br></div><div>I hope this helps</div><div><br></div><div>Cris Micheli</div><div>@MindAffect</div><div>NovioTech Campus </div><div>Nijmegen</div><div>The Netherlands</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 3, 2018 at 3:29 PM, Maria Carla Piastra <span dir="ltr"><<a href="mailto:mcarlapiastra@gmail.com" target="_blank">mcarlapiastra@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Dear all,</p>
<p>I would like to use openMEEG for computing EEG and MEG forward
model solutions on Ubuntu 16.04.</p>
<p>I installed following <a class="m_-2485742763365792803moz-txt-link-freetext" href="https://github.com/openmeeg/openmeeg" target="_blank">https://github.com/openmeeg/<wbr>openmeeg</a>.</p>
<p>As "<i>whereis om_assemble</i>" is giving me /usr/bin. I
therefore did "<i>setenv('PATH', '/usr/bin')</i>". <br>
</p>
<i>W</i>hen I am launching: <br>
<i>cfg = [];</i><i><br>
</i><i>cfg.method = 'openmeeg';</i><i><br>
</i><i>cfg.conductivity = [0.33 0.01 0.33];</i><i><br>
</i><i>headmodel_bem = ft_prepare_headmodel(cfg, mesh_bem)</i><br>
<br>
This is the output:<br>
<br>
<i>the input is mesh data with multiple surfaces</i><i><br>
</i><i>reordering the boundaries to: 3 2 1 </i><i><br>
</i><i>/bin/bash: chmod: command not found</i><i><br>
</i><i>/bin/bash: ./tp2279842c_636c_485a_ac62_<wbr>6c2e3c4e7b25.sh:
Permission denied</i><i><br>
</i><i>Warning: an error ocurred while running OpenMEEG </i><i><br>
</i><i>Error using fread</i><i><br>
</i><i>Invalid file identifier. Use fopen to generate a valid file
identifier.</i><i><br>
</i><i>Warning: File 'tp54b47429_45d4_47c4_ab6f_<wbr>3a02b37de78f.bin'
not found. </i><i><br>
</i><i>Warning: File 'tp692ddbba_6d12_4b31_b1ee_<wbr>f70fc7680936.bin'
not found. </i><i><br>
</i><i>the call to "ft_prepare_headmodel" took 0 seconds and
required the additional allocation of an estimated 0 MB</i><i><br>
</i><i><br>
</i><i>headmodel_bem = </i><i><br>
</i><i><br>
</i><i> bnd: [1x3 struct]</i><i><br>
</i><i> cond: [0.3300 0.0100 0.3300]</i><i><br>
</i><i> skin_surface: 1</i><i><br>
</i><i> source: 3</i><i><br>
</i><i> type: 'openmeeg'</i><i><br>
</i><i> unit: 'mm'</i><i><br>
</i><i> cfg: [1x1 struct]</i><br>
<p><br>
</p>
<p>Any ideas?</p>
<p>Best,</p>
<p>Maria Carla<br>
</p>
</div>
<br>______________________________<wbr>_________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/<wbr>mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>