Re: [fluka-discuss]: Fluka installation

From: P. Taherparvar <p.taherparvar_at_guilan.ac.ir>
Date: Mon, 26 Aug 2019 14:22:59 +0430 (IRDT)

Dear Mitra,
Thanks so much for your reply.
I used fluka2011.2x-linux-gfor64bit-7.4-AA and I have gfortran 7.4:
"gfortran is already the newest version (4:7.4.0-1ubuntu2.3)".

It seems, the fluka doesnot compile correctly.
I used following required software-packages for FLUKA installation in ubuntu18.04. Should I add something else?
python, tk, gnuplot-x11, python-tk, python-numpy, python-scipy, desktop-file-utils, python-imaging-tk, python-pil, python-dicom

Best Regards,
Payvand


From: "S.R.Mitra" <srmitra_at_npcil.co.in>
To: "P. Taherparvar" <p.taherparvar_at_guilan.ac.ir>, fluka-discuss_at_fluka.org
Sent: Monday, August 26, 2019 1:59:46 PM
Subject: Re: [fluka-discuss]: Fluka installation



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. 
----------- 
-- 
Dr. Payvand Taherparvar 
Assistant Professor 
Faculty of Science-Physics Department 
Namjoo Avenue- Rasht- University of Guilan 
P.O. Box 41335-19141-Phone & FAX: +98-1333323132 
Email: p.taherparvar_at_guilan.ac.ir 
p.taherparvar_at_gmail.com 
https://staff.guilan.ac.ir/ptaher/?lg=0 
__________________________________________________________________________
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:51:01 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 26 2019 - 12:51:03 CEST