[mcstas-users] compiling Virtual_mcnp_ss_input component question

Peter Kjær Willendrup pkwi at fysik.dtu.dk
Tue Sep 5 21:23:06 CEST 2017


Dear Diego,


Since defaulting now to the Python-based tools, we have switched to the c-compiler provided by the miniconda3 Python.

Maybe try checking if there is a libgfortran that you can install into the miniconda - by

conda search gfortran

through the mcstas-2.4.1-shell?



Alternatively you could consider using the MCPL input comp - a tool exists do convert SSW to MCPL format - see https://mctools.github.io/mcpl/

Best and hope this helps,

Peter



On 5 Sep 2017, at 21:24 , Diego Ferraro <DFerraro at invap.com.ar<mailto:DFerraro at invap.com.ar>> wrote:

Dear forum,
    I'm trying to use an MCNP SSW source in my McStas input through the Virtual_mcnp_ss_input component.
    I'm using MCstas 2.4.1 in Windows (I have previously installed strawberry perl package), but when compiling instrument I get an error
"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
collect2.exe: error: ld returned 1 exit status"
   I understand that the fortran compiler (required in Virtual_mcnp_ss_input) is not found, but I assumed that strawberry should include this.
   Does anyone experienced the same problem?
   Thanks,
Diego



_______________________________________________
mcstas-users mailing list
mcstas-users at mcstas.org<mailto:mcstas-users at mcstas.org>
http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20170905/7deb24a0/attachment.html>


More information about the mcstas-users mailing list