<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body 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="moz-txt-link-freetext" href="https://github.com/openmeeg/openmeeg">https://github.com/openmeeg/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_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_3a02b37de78f.bin'
      not found. </i><i><br>
    </i><i>Warning: File 'tp692ddbba_6d12_4b31_b1ee_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>
  </body>
</html>