<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear Diego,
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Since defaulting now to the Python-based tools, we have switched to the c-compiler provided by the miniconda3 Python. </div>
<div class=""><br class="">
</div>
<div class="">Maybe try checking if there is a libgfortran that you can install into the miniconda - by </div>
<div class=""><br class="">
</div>
<div class="">conda search gfortran</div>
<div class=""><br class="">
</div>
<div class="">through the mcstas-2.4.1-shell?</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Alternatively you could consider using the MCPL input comp - a tool exists do convert SSW to MCPL format - see <a href="https://mctools.github.io/mcpl/" class="">https://mctools.github.io/mcpl/</a> </div>
<div class=""><br class="">
</div>
<div class="">Best and hope this helps,</div>
<div class=""><br class="">
</div>
<div class="">Peter</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 5 Sep 2017, at 21:24 , Diego Ferraro <<a href="mailto:DFerraro@invap.com.ar" class="">DFerraro@invap.com.ar</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta name="GENERATOR" content="MSHTML 11.00.9600.16428" class="">
<div style="FONT: 10pt Segoe UI; MARGIN: 4px 4px 1px" class="">
<div class="">Dear forum, </div>
<div class=""> I'm trying to use an MCNP SSW source in my McStas input through the Virtual_mcnp_ss_input component.
</div>
<div class=""> I'm using MCstas 2.4.1 in Windows (I have previously installed strawberry perl package), but when compiling instrument I get an error
</div>
<div class="">"<span style="COLOR: #ff0000" class="">C:/mcstas-2.4.1/miniconda3/Library/mingw-w64/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lgfortran</span>
<div style="margin: 0px; text-indent: 0px;" class=""><span style="COLOR: #ff0000" class="">collect2.exe: error: ld returned 1 exit status"
</span></div>
<div style="margin: 0px; text-indent: 0px;" class=""><span style="COLOR: #ff0000" class=""><font class=""> I understand that the fortran compiler (required in Virtual_mcnp_ss_input) is not found, but I assumed that strawberry should include this.
</font></span></div>
<div style="margin: 0px; text-indent: 0px;" class=""><span style="COLOR: #ff0000" class=""><font class=""> Does anyone experienced the same problem?
</font></span></div>
<div style="margin: 0px; text-indent: 0px;" class=""><span style="COLOR: #ff0000" class=""><font class=""> Thanks,
</font></span></div>
<div style="margin: 0px; text-indent: 0px;" class=""><span style="COLOR: #ff0000" class=""><font class="">Diego
</font></span></div>
<p style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-block-indent: 0" class=""><span style="COLOR: #ff0000" class=""><font class=""></font></span> </p>
</div>
</div>
_______________________________________________<br class="">
mcstas-users mailing list<br class="">
<a href="mailto:mcstas-users@mcstas.org" class="">mcstas-users@mcstas.org</a><br class="">
http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>