Re: [fluka-discuss]: Fluka installation

From: S.R.Mitra <srmitra_at_npcil.co.in>
Date: Mon, 26 Aug 2019 14:59:46 +0530

Dear Mr. P. Taherparvar,


I have also install fluka and flair recently. I think for flair main
component needed is the gfortran . If u hv used the 7.4 version make
sure u choose the correct gz file to install.

If u hv the flukahp file in futil sub directory. Once u got that, test
fluka using example input files as instructed in manual and see if the
output files as discussed are created.

If all goes fine. Install flair / flair geo veiwer using .deb files in
Ubuntu 18.04


Happy Installation


On 8/26/2019 1:41 PM, P. Taherparvar wrote:
> Dear Fluka users,
>
> I want to install Fluka on Ubuntu 18.04. After compilation of required
> software-packages (python, tk, gnuplot-x11, python-tk, python-numpy,
> python-scipy, desktop-file-utils, python-imaging-tk, python-pil,
> python-dicom), I have following (last lines) commands after making:
>
> /p_at_ubuntu:~/Compile/Fluka$ make/
> /./
> /./
> /./
> /gcc/x86_64-linux-gnu/7/crtendS.o
> /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o/
> /COLLECT_GCC_OPTIONS='-msse2' '-mfpmath=sse' '-fPIC' '-O3' '-g'
> '-mtune=generic' '-fexpensive-optimizations' '-funroll-loops' '-Wall'
> '-Wuninitialized' '-Wno-tabs' '-Wline-truncation'
> '-Wno-unused-function' '-Wno-unused-parameter'
> '-Wno-unused-dummy-argument' '-Wno-integer-division'
> '-Wno-unused-variable' '-Wno-conversion' '-Wunused-label'
> '-Waggregate-return' '-Wcast-align' '-Wsystem-headers'
> '-ftrapping-math' '-frange-check' '-fbackslash' '-fbacktrace'
> '-ffpe-trap=invalid,zero,overflow' '-finit-local-zero' '-ffixed-form'
> '-frecord-marker=4' '-funderscoring' '-fno-automatic'
> '-fd-lines-as-comments' '-fbounds-check' '-I'
> '/home/p/Compile/Fluka/flukapro' '-v' '-o' 'usbmax'
> '-L/home/p/Compile/Fluka' '-shared-libgcc' '-march=x86-64'/
> /make[1]: Leaving directory '/home/p/Compile/Fluka/flutil'/
>
>
>
> I have following commands for flair compilation:
>
> /p_at_ubuntu:~/Compile/flair/flair-2.3$ make install
> DESTDIR=/home/p/Compile/flair
> .
> .
> Compiling /home/p/Compile/flair/tkFlair.py ...
> echo '#!/bin/sh' > /home/p/Compile/flair/fm
> echo 'DIR="/home/p/Compile/flair"' >> /home/p/Compile/flair/fm
> echo 'PYTHONPATH=${DIR}/lib python ${DIR}/Manual.py' >>
> /home/p/Compile/flair/fm
> chmod +x /home/p/Compile/flair/fm
> echo '#!/bin/sh' > /home/p/Compile/flair/pt
> echo 'DIR="/home/p/Compile/flair"' >> /home/p/Compile/flair/pt
> echo 'PYTHONPATH=${DIR}/lib python ${DIR}/PeriodicTable.py' >>
> /home/p/Compile/flair/pt
> chmod +x /home/p/Compile/flair/pt
> echo '#!/bin/sh' > /home/p/Compile/flair/fless
> echo 'DIR="/home/p/Compile/flair"' >> /home/p/Compile/flair/fless
> echo 'PYTHONPATH=${DIR}/lib python ${DIR}/ViewerPage.py $*' >>
> /home/p/Compile/flair/fless
> chmod +x /home/p/Compile/flair/fless
> echo '#!/bin/sh' > /home/p/Compile/flair/fcalc
> echo 'DIR="/home/p/Compile/flair"' >> /home/p/Compile/flair/fcalc
> echo 'PYTHONPATH=${DIR}/lib python ${DIR}/Calculator.py $*' >>
> /home/p/Compile/flair/fcalc
> chmod +x /home/p/Compile/flair/fcalc/
>
> Finally:
> /p_at_ubuntu:~/Compile/flair$ flair/
> /flair: command not found/
>
> Is the codes compiled correctly?
> Any possible solution?
>
> Thanks in advance,
> Payvand

-- 
सुदीप रंजन मित्रा S.R. Mitra
उप मुख्य अभियंता Dy.C.E.  अभियंत्रिकि, एल.दब्लु.आर Engg-LWR
**  Radiation exposure to public from NPP is negligible  **
Disclaimer
----------
This email and any files transmitted with it are intended solely for the use of the addressed individual or entity.  It contains information that is confidential and protected from disclosure. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action.
Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
If you have received this message in error, you should destroy this message and may please notify the sender by e-mail.  
Thank you.
-----------
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Aug 26 2019 - 12:27:15 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 26 2019 - 12:27:17 CEST