<div dir="ltr">FYI I originally got the libs from the Ubuntu repos, in case you&#39;re curious (or in case I eventually delete the libs from my site):<div><br></div><div><a href="https://launchpad.net/ubuntu/hardy/i386/libgfortran1" target="_blank">https://launchpad.net/ubuntu/hardy/i386/libgfortran1</a><br></div><div><a href="https://launchpad.net/ubuntu/hardy/amd64/libgfortran1" target="_blank">https://launchpad.net/ubuntu/hardy/amd64/libgfortran1</a><br></div><div><br></div><div>Yes, you should be able to set the LD_LIBRARY_PATH environment variable. In fact this is one of the things that the mne_setup_sh script does to ensure that things like &quot;libquicktime.so&quot; can be found in the mne/lib directory, which is why I typically just put libgfortran.so.1 in there. I don&#39;t think you&#39;ll need to do anything else, but if it doesn&#39;t work you should be able to work out from the mne_setup_sh script if anything else is necessary.</div><div><br></div><div>Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 7, 2014 at 11:15 AM, Krieger, Donald N. <span dir="ltr">&lt;<a href="mailto:kriegerd@upmc.edu" target="_blank">kriegerd@upmc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Eric,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks for posting back so quickly.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I would be happy to upload the library with each copy of the job and I do have it.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">How do I get the executables to find it in a local directory I create?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Is there an environmental variable, something like LD_LIBRARY_PATH that I can set.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Regards,</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Don</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">mne_analysis-bounces@nmr.mgh.harvard.edu</a> [mailto:<a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">mne_analysis-bounces@nmr.mgh.harvard.edu</a>]
<b>On Behalf Of </b>Eric Larson<br>
<b>Sent:</b> Tuesday, October 07, 2014 1:59 PM<br>
<b>To:</b> Discussion and support forum for the users of MNE Software<br>
<b>Subject:</b> Re: [Mne_analysis] static executables?<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Actually, I forgot I uploaded them to my website for convenience at one point:<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://faculty.washington.edu/larsoner/libgfortran.so.1s.zip" target="_blank">http://faculty.washington.edu/larsoner/libgfortran.so.1s.zip</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Just rename the appropriate libgfortran.so.1.i686 or libgfortran.so.1.x86_64 to libgfortran.so.1, put it in e.g. mne/lib (same place that libquicktime.so lives) and you should be good to go.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Eric<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Oct 7, 2014 at 10:55 AM, Eric Larson &lt;<a href="mailto:larson.eric.d@gmail.com" target="_blank">larson.eric.d@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal">If it&#39;s easy for you to use Python, equivalent (and in some cases faster or more capable) functionality for setting up volume source spaces and computing forward solutions exists in mne-python.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If it&#39;s only the Fortran libraries (specifically libgfortran.so.1) that you need, shoot me an email and I can give you a copy of the x86_64 and i686 versions that other people have used with success (and I have used over many versions of
 Ubuntu). I recently set up an Ubuntu 12.04 server VM for testing recently, and all I needed to run the MNE command-line tools was a copy of libgfortran.so.1 (which I put in the mne/libs dir), and some of the X libraries which were accessible via apt-get --
 I imagine a similar solution would work for you.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">Eric<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Oct 7, 2014 at 10:43 AM, Krieger, Donald N. &lt;<a href="mailto:kriegerd@upmc.edu" target="_blank">kriegerd@upmc.edu</a>&gt; wrote:<u></u><u></u></p>
<p class="MsoNormal">Dear MNE team:<br>
<br>
I need static executables for mne_volume_source_space and mne_forward_solution .<br>
I am using these in a processing stream which is deployed to the open science grid and am encountering many machines which lack the shared fortran libraries on which the executables in your standard distribution rely.<br>
<br>
Is it easy to create relink them to create static versions?<br>
Are there some out there to which you could point me?<br>
<br>
I am using version 2.9 of mne_forward_solution (compiled 1Feb2013)<br>
and version 1.11 of mne_volume_source_space (also compiled 1Feb2013).<br>
<br>
Thanks for any help you can provide.<br>
<br>
Regards,<br>
 <br>
Don<br>
 <br>
Don Krieger, Ph.D.<br>
Department of Neurological Surgery<br>
University of Pittsburgh<br>
<br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>