[fluka-discuss]: Re: FLAIR INSTALLATION ON MaCOS

From: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>
Date: Sun, 21 Jul 2019 01:36:51 +0000

Thanks, David

I was able to install FLUKA and set up the preferences.

The problem I have now is that Flair will stop working the moment I click on the GEOMETRY icon. This is what I have on my terminal:


(base) Jesutofunmis-MacBook-Pro:~ jesutofunmifajemisin$ /usr/local/bin/flair

/usr/local/flair/flair: line 16: 1660 Segmentation fault: 11 $CMD $*


I was able to generate an output file when I ran the ex1.inp file

Thank you.

________________________________
From: Horváth Dávid <David.Horvath_at_eli-beams.eu>
Sent: Friday, July 19, 2019 01:05
To: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>; fluka discussion <fluka-discuss_at_fluka.org>
Subject: Re: FLAIR INSTALLATION ON MaCOS

Dear Jesutofunmi,

are you trying to install the correct version of FLUKA: fluka2011.2x-mac-gfor64bit-8.3-AA.tar.gz?
Did you set the FLUFOR environment variable as gfortran?

Kind regards,
Dávid Horváth

Junior Researcher
Radiation Protection
ELI Beamlines

E: david.horvath_at_eli-beams.eu
T: +420 266 051 283
M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic


________________________________________
From: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>
Sent: 19 July 2019 00:27:01
To: Horváth Dávid; fluka discussion
Subject: Re: FLAIR INSTALLATION ON MaCOS

Dear David,

This is what I got for running the gfortran --version.


(base) Jesutofunmis-MacBook-Pro:~ jesutofunmifajemisin$ gfortran --version

GNU Fortran (GCC) 8.2.0

Copyright (C) 2018 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

________________________________
From: Horváth Dávid <David.Horvath_at_eli-beams.eu>
Sent: Thursday, July 18, 2019 17:49
To: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>; fluka discussion <fluka-discuss_at_fluka.org>
Subject: Re: FLAIR INSTALLATION ON MaCOS

Dear Jesutofunmi,

please check if you have gfortran installed correctly with the command
gfortran --version

if not, you can use homebrew (https://urldefense.proofpoint.com/v2/url?u=https-3A__brew.sh_&d=DwIGaQ&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=bPlFbtOkhoHjvvWqhcnZtF4VdPWd397F7Zk_jNB4l3I&m=ooqtXPsM_GQogFcCX1otvfVQ_r7DQlg_RotTyKYFhRo&s=OiuAKkljVucyC4EEZz_kpSxesScCSkcckCI9lli41LU&e= ) to install it:
brew install gcc_at_8

Also, only the "make" command is used to compile FLUKA. "make install" will give you error every time.

Kind regards,
Dávid Horváth

Junior Researcher
Radiation Protection
ELI Beamlines

E: david.horvath_at_eli-beams.eu
T: +420 266 051 283
M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic


________________________________________
From: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>
Sent: 18 July 2019 23:15:24
To: Horváth Dávid; fluka discussion
Subject: Re: FLAIR INSTALLATION ON MaCOS

Thank you so much for your help.

I was able to install flair-geoviewer after installing XQuartz.

I am still having issues with compiling FLUKA. I have gfortran installed on my PC but I still get this error:



(base) Jesutofunmis-MacBook-Pro:FLUPRO jesutofunmifajemisin$ make

FLUPRO=/Users/jesutofunmifajemisin/FLUPRO flutil/lfluka -o flukahp -m fluka

$FLUPRO = /Users/jesutofunmifajemisin/FLUPRO

No valid compiler found

make: *** [flukahp] Error 1

(base) Jesutofunmis-MacBook-Pro:FLUPRO jesutofunmifajemisin$ sudo make install

Password:

make: *** No rule to make target `install'. Stop.

(base) Jesutofunmis-MacBook-Pro:FLUPRO jesutofunmifajemisin$



​Please share, If you have any link to a fortran compiler.




Jesutofunmi.



________________________________
From: Horváth Dávid <David.Horvath_at_eli-beams.eu>
Sent: Thursday, July 18, 2019 06:39
To: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>; fluka-discuss_at_fluka.org <fluka-discuss_at_fluka.org>
Subject: Re: FLAIR INSTALLATION ON MaCOS

Dear Jesutofunmi,

I think you need to install XQuartz ( https://urldefense.proofpoint.com/v2/url?u=https-3A__www.xquartz.org_&d=DwIFBA&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=bPlFbtOkhoHjvvWqhcnZtF4VdPWd397F7Zk_jNB4l3I&m=lKa8O0CkS0ecYxtuRQGLruXcM8b7N2OA-4j8fopLOjI&s=wwfmNpsAcMWBJuaevgLbHpuT4vlQuNDFGmbIHCkK90U&e= ), to be able to compile Flair geoviewer.
If that doesn't help you may take a look at https://urldefense.proofpoint.com/v2/url?u=https-3A__flukadocker.github.io_F4D_&d=DwIFBA&c=aTOVZmpUfPKZuaG9NO7J7Mh6imZbfhL47t9CpZ-pCOw&r=bPlFbtOkhoHjvvWqhcnZtF4VdPWd397F7Zk_jNB4l3I&m=lKa8O0CkS0ecYxtuRQGLruXcM8b7N2OA-4j8fopLOjI&s=QqNxKaytfVxg3otyQMdqZO5RlCag16LESp2riDRGTPc&e= for a containerized FLUKA and flair installation.

Also, please keep the FLUKA mailing list in your replies, to be able to help others.

Kind regards,
Dávid Horváth

Junior Researcher
Radiation Protection
ELI Beamlines

E: david.horvath_at_eli-beams.eu
T: +420 266 051 283
M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic


________________________________________
From: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>
Sent: 18 July 2019 11:53
To: Horváth Dávid
Subject: Re: FLAIR INSTALLATION ON MaCOS

/Library/Developer/CommandLineTools/usr/bin/make -C optimizer

make[1]: Nothing to be done for `all'.

/Library/Developer/CommandLineTools/usr/bin/make -C viewer

make[1]: Nothing to be done for `all'.

/Library/Developer/CommandLineTools/usr/bin/make -C data

make[1]: Nothing to be done for `all'.

/Library/Developer/CommandLineTools/usr/bin/make -C geometry

make[1]: Nothing to be done for `all'.

/Library/Developer/CommandLineTools/usr/bin/make -C graph

make[1]: Nothing to be done for `all'.

/Library/Developer/CommandLineTools/usr/bin/make -C math

make[1]: Nothing to be done for `all'.

/Library/Developer/CommandLineTools/usr/bin/make -C utils

make[1]: Nothing to be done for `all'.

c++ -c -DDarwin -O4 -funroll-loops -g -DNDEBUG -D_DEBUG=0 -DTHREAD -Wall -Wcast-align -Wcast-qual -Wextra -Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wno-write-strings -fwrapv -fstack-protector -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I -I/usr/X11/include -I/usr/X11R6/include -I/sw/include -I/opt/include -Ioptimizer -Iviewer -Idata -Igeometry -Igraph -Imath -Iutils -m64 -fno-strict-aliasing -I -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7

clang: error: no input files

make: *** [geometryobject.o] Error 1

________________________________
From: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>
Sent: Thursday, July 18, 2019 05:52
To: Horváth Dávid <David.Horvath_at_eli-beams.eu>
Subject: Re: FLAIR INSTALLATION ON MaCOS


________________________________
From: Horváth Dávid <David.Horvath_at_eli-beams.eu>
Sent: Thursday, July 18, 2019 05:31
To: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>
Subject: Re: FLAIR INSTALLATION ON MaCOS

Dear Jesutofunmi,

unfortunately your image doesn't show why you get the first error. Could you send the whole error message?

Kind regards,
Dávid Horváth

Junior Researcher
Radiation Protection
ELI Beamlines

E: david.horvath_at_eli-beams.eu
T: +420 266 051 283
M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic


________________________________________
From: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>
Sent: 18 July 2019 11:28:48
To: Horváth Dávid
Subject: Re: FLAIR INSTALLATION ON MaCOS

Thanks

I installed python2 and I was able to install flair2.3 using sudo make install. I still have issues with installing flair-geoviewer-2.3-0 file. The attached screenshot is what I got.


________________________________
From: Horváth Dávid <David.Horvath_at_eli-beams.eu>
Sent: Thursday, July 18, 2019 02:07
To: Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>; fluka discussion <fluka-discuss_at_fluka.org>
Cc: Jérôme Caron <institut_bergonie_at_invitations.mailinblack.com>
Subject: Re: FLAIR INSTALLATION ON MaCOS

Dear Jesutofunmi,

for Flair you need to have Python2 installed. And the PYTHON environment variable has to be set up, if Python2 is not the default. The variable should point the python executable.

Kind regards,
Dávid Horváth

Junior Researcher
Radiation Protection
ELI Beamlines

E: david.horvath_at_eli-beams.eu
T: +420 266 051 283
M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic


________________________________________
From: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it> on behalf of Fajemisin, Jesutofunmi <jfajemisi_at_bnl.gov>
Sent: 17 July 2019 23:54:35
To: fluka discussion
Cc: Jérôme Caron
Subject: [fluka-discuss]: FLAIR INSTALLATION ON MaCOS

The attached pic shows what I get after running the 'make' command

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Sun Jul 21 2019 - 05:31:49 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 21 2019 - 05:31:53 CEST