Re: [fluka-discuss]: Fluka on Mac

From: Vittorio Boccone <dr.vittorio.boccone_at_ieee.org>
Date: Tue, 22 Nov 2016 15:01:46 +0100

Caro Paolo,
As many pointer out this would be kind of hack. objconv (as other
conversion tools) are based on disassembling techniques which openly
violate the FLUKA licence; that could result in the *revocation* of your
FLUKA licence.

In addition although you might achieve your goals in running the code that
way you have solution which are way easier. If you are reluctant to use VM
there's a nice alternative which is docker.

Docker will create a linux lightweight VM in the background and will allow
you to generate specific linux development environment (centos, ubuntu
etc..) in matter of seconds and to map easily local folders to the
dockerized system. Details of this application are clearly not belonging to
this list as they are purely technical.

Best,
Vittorio


vitb_at_not-sure:~/Downloads$ docker run --rm -i -v$(pwd):/scratch -t centos
> bash
> [root_at_c25c7b1e7dd9 /]# yum install /scratch/fluka-2011.2c-4.x86_64.rpm
> Loaded plugins: fastestmirror, ovl
> Examining /scratch/fluka-2011.2c-4.x86_64.rpm: fluka-2011.2c-4.x86_64
> Marking /scratch/fluka-2011.2c-4.x86_64.rpm to be installed
> Resolving Dependencies
> --> Running transaction check
> ---> Package fluka.x86_64 0:2011.2c-4 will be installed
> --> Processing Dependency: gcc-gfortran for package: fluka-2011.2c-4.x86_64
> base
>
> | 3.6 kB 00:00:00
> extras
>
> | 3.4 kB 00:00:00
> updates
>
> | 3.4 kB 00:00:00
> (1/4): base/7/x86_64/group_gz
>
> | 155 kB 00:00:05
> (2/4): extras/7/x86_64/primary_db
>
> | 166 kB 00:00:05
> (3/4): base/7/x86_64/primary_db
>
> | 5.3 MB 00:00:05
> (4/4): updates/7/x86_64/primary_db
>
> | 9.1 MB 00:00:09
> Determining fastest mirrors
> * base: mirror.spreitzer.ch
> * extras: mirror.spreitzer.ch
> * updates: mirror.spreitzer.ch
> --> Processing Dependency: libgfortran.so.3(GFORTRAN_1.0)(64bit) for
> package: fluka-2011.2c-4.x86_64
> --> Processing Dependency: libgfortran.so.3(GFORTRAN_1.4)(64bit) for
> package: fluka-2011.2c-4.x86_64
> --> Processing Dependency: libgfortran.so.3()(64bit) for package:
> fluka-2011.2c-4.x86_64
> --> Processing Dependency: libquadmath.so.0()(64bit) for package:
> fluka-2011.2c-4.x86_64
> --> Running transaction check
> ---> Package gcc-gfortran.x86_64 0:4.8.5-4.el7 will be installed
> --> Processing Dependency: libquadmath-devel = 4.8.5-4.el7 for package:
> gcc-gfortran-4.8.5-4.el7.x86_64
> --> Processing Dependency: gcc = 4.8.5-4.el7 for package:
> gcc-gfortran-4.8.5-4.el7.x86_64
> --> Processing Dependency: libmpfr.so.4()(64bit) for package:
> gcc-gfortran-4.8.5-4.el7.x86_64
> --> Processing Dependency: libmpc.so.3()(64bit) for package:
> gcc-gfortran-4.8.5-4.el7.x86_64
> ---> Package libgfortran.x86_64 0:4.8.5-4.el7 will be installed
> ---> Package libquadmath.x86_64 0:4.8.5-4.el7 will be installed
> --> Running transaction check
> ---> Package gcc.x86_64 0:4.8.5-4.el7 will be installed
> --> Processing Dependency: libgomp = 4.8.5-4.el7 for package:
> gcc-4.8.5-4.el7.x86_64
> --> Processing Dependency: cpp = 4.8.5-4.el7 for package:
> gcc-4.8.5-4.el7.x86_64
> --> Processing Dependency: glibc-devel >= 2.2.90-12 for package:
> gcc-4.8.5-4.el7.x86_64
> --> Processing Dependency: libgomp.so.1()(64bit) for package:
> gcc-4.8.5-4.el7.x86_64
> ---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
> ---> Package libquadmath-devel.x86_64 0:4.8.5-4.el7 will be installed
> ---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
> --> Running transaction check
> ---> Package cpp.x86_64 0:4.8.5-4.el7 will be installed
> ---> Package glibc-devel.x86_64 0:2.17-106.el7_2.8 will be installed
> --> Processing Dependency: glibc-headers = 2.17-106.el7_2.8 for package:
> glibc-devel-2.17-106.el7_2.8.x86_64
> --> Processing Dependency: glibc-headers for package:
> glibc-devel-2.17-106.el7_2.8.x86_64
> ---> Package libgomp.x86_64 0:4.8.5-4.el7 will be installed
> --> Running transaction check
> ---> Package glibc-headers.x86_64 0:2.17-106.el7_2.8 will be installed
> --> Processing Dependency: kernel-headers >= 2.2.1 for package:
> glibc-headers-2.17-106.el7_2.8.x86_64
> --> Processing Dependency: kernel-headers for package:
> glibc-headers-2.17-106.el7_2.8.x86_64
> --> Running transaction check
> ---> Package kernel-headers.x86_64 0:3.10.0-327.36.3.el7 will be installed
> --> Finished Dependency Resolution
> Dependencies Resolved
> ============================================================
> ============================================================
> ==============================================================
> Package Arch
> Version Repository
> Size
> ============================================================
> ============================================================
> ==============================================================
> Installing:
> fluka x86_64
> 2011.2c-4 /fluka-2011.2c-4.x86_64
> 513 M
> Installing for dependencies:
> cpp x86_64
> 4.8.5-4.el7 base
> 5.9 M
> gcc x86_64
> 4.8.5-4.el7 base
> 16 M
> gcc-gfortran x86_64
> 4.8.5-4.el7 base
> 6.6 M
> glibc-devel x86_64
> 2.17-106.el7_2.8 updates
> 1.0 M
> glibc-headers x86_64
> 2.17-106.el7_2.8 updates
> 663 k
> kernel-headers x86_64
> 3.10.0-327.36.3.el7 updates
> 3.2 M
> libgfortran x86_64
> 4.8.5-4.el7 base
> 293 k
> libgomp x86_64
> 4.8.5-4.el7 base
> 130 k
> libmpc x86_64
> 1.0.1-3.el7 base
> 51 k
> libquadmath x86_64
> 4.8.5-4.el7 base
> 182 k
> libquadmath-devel x86_64
> 4.8.5-4.el7 base
> 46 k
> mpfr x86_64
> 3.1.1-4.el7 base
> 203 k
> Transaction Summary
> ============================================================
> ============================================================
> ==============================================================
> Install 1 Package (+12 Dependent packages)
> Total size: 547 M
> Total download size: 34 M
> Installed size: 589 M
> Is this ok [y/d/N]: y
> Downloading packages:
> warning: /var/cache/yum/x86_64/7/base/packages/cpp-4.8.5-4.el7.x86_64.rpm:
> Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ]
> 21 MB/s | 16 MB 00:00:00 ETA
> Public key for cpp-4.8.5-4.el7.x86_64.rpm is not installed
> (1/12): cpp-4.8.5-4.el7.x86_64.rpm
>
> | 5.9 MB 00:00:06
> (2/12): gcc-4.8.5-4.el7.x86_64.rpm
>
> | 16 MB 00:00:06
> (3/12): gcc-gfortran-4.8.5-4.el7.x86_64.rpm
>
> | 6.6 MB 00:00:00
> Public key for glibc-devel-2.17-106.el7_2.8.x86_64.rpm is not installed
> 83% [======================================================-
> ] 2.2 MB/s | 29 MB 00:00:02 ETA
> (4/12): glibc-devel-2.17-106.el7_2.8.x86_64.rpm
>
> | 1.0 MB 00:00:05
> (5/12): glibc-headers-2.17-106.el7_2.8.x86_64.rpm
>
> | 663 kB 00:00:05
> (6/12): kernel-headers-3.10.0-327.36.3.el7.x86_64.rpm
>
> | 3.2 MB 00:00:00
> (7/12): libgomp-4.8.5-4.el7.x86_64.rpm
>
> | 130 kB 00:00:05
> (8/12): libmpc-1.0.1-3.el7.x86_64.rpm
>
> | 51 kB 00:00:00
> (9/12): libquadmath-4.8.5-4.el7.x86_64.rpm
>
> | 182 kB 00:00:00
> (10/12): libgfortran-4.8.5-4.el7.x86_64.rpm
>
> | 293 kB 00:00:05
> (11/12): libquadmath-devel-4.8.5-4.el7.x86_64.rpm
>
> | 46 kB 00:00:00
> (12/12): mpfr-3.1.1-4.el7.x86_64.rpm
>
> | 203 kB 00:00:00
> ------------------------------------------------------------
> ------------------------------------------------------------
> --------------------------------------------------------------
> Total
>
> 1.9 MB/s | 34 MB 00:00:17
> Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
> Importing GPG key 0xF4A80EB5:
> Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <
> security_at_centos.org>"
> Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
> Package : centos-release-7-2.1511.el7.centos.2.10.x86_64 (_at_CentOS)
> From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
> Is this ok [y/N]: y
> Running transaction check
> Running transaction test
> Transaction test succeeded
> Running transaction
> Installing : mpfr-3.1.1-4.el7.x86_64
>
> 1/13
> Installing : libquadmath-4.8.5-4.el7.x86_64
>
> 2/13
> Installing : libmpc-1.0.1-3.el7.x86_64
>
> 3/13
> Installing : libgfortran-4.8.5-4.el7.x86_64
>
> 4/13
> Installing : cpp-4.8.5-4.el7.x86_64
>
> 5/13
> Installing : kernel-headers-3.10.0-327.36.3.el7.x86_64
>
> 6/13
> Installing : glibc-headers-2.17-106.el7_2.8.x86_64
>
> 7/13
> Installing : glibc-devel-2.17-106.el7_2.8.x86_64
>
> 8/13
> Installing : libgomp-4.8.5-4.el7.x86_64
>
> 9/13
> Installing : gcc-4.8.5-4.el7.x86_64
>
> 10/13
> Installing : libquadmath-devel-4.8.5-4.el7.x86_64
>
> 11/13
> Installing : gcc-gfortran-4.8.5-4.el7.x86_64
>
> 12/13
> Installing : fluka-2011.2c-4.x86_64
>
> 13/13
> Verifying : fluka-2011.2c-4.x86_64
>
> 1/13
> Verifying : libquadmath-devel-4.8.5-4.el7.x86_64
>
> 2/13
> Verifying : gcc-4.8.5-4.el7.x86_64
>
> 3/13
> Verifying : libquadmath-4.8.5-4.el7.x86_64
>
> 4/13
> Verifying : cpp-4.8.5-4.el7.x86_64
>
> 5/13
> Verifying : libgomp-4.8.5-4.el7.x86_64
>
> 6/13
> Verifying : libgfortran-4.8.5-4.el7.x86_64
>
> 7/13
> Verifying : mpfr-3.1.1-4.el7.x86_64
>
> 8/13
> Verifying : gcc-gfortran-4.8.5-4.el7.x86_64
>
> 9/13
> Verifying : glibc-headers-2.17-106.el7_2.8.x86_64
>
> 10/13
> Verifying : libmpc-1.0.1-3.el7.x86_64
>
> 11/13
> Verifying : kernel-headers-3.10.0-327.36.3.el7.x86_64
>
> 12/13
> Verifying : glibc-devel-2.17-106.el7_2.8.x86_64
>
> 13/13
> Installed:
> fluka.x86_64 0:2011.2c-4
>
>
> Dependency Installed:
> cpp.x86_64 0:4.8.5-4.el7 gcc.x86_64 0:4.8.5-4.el7
> gcc-gfortran.x86_64 0:4.8.5-4.el7
> glibc-devel.x86_64 0:2.17-106.el7_2.8
> glibc-headers.x86_64 0:2.17-106.el7_2.8 kernel-headers.x86_64
> 0:3.10.0-327.36.3.el7 libgfortran.x86_64 0:4.8.5-4.el7
> libgomp.x86_64 0:4.8.5-4.el7
> libmpc.x86_64 0:1.0.1-3.el7 libquadmath.x86_64
> 0:4.8.5-4.el7 libquadmath-devel.x86_64 0:4.8.5-4.el7
> mpfr.x86_64 0:3.1.1-4.el7
> Complete!



On Tue, Nov 22, 2016 at 11:42 AM, Chris Theis <Christian.Theis_at_cern.ch>
wrote:

> Hi Paolo,
>
>
>
> while technically maybe feasible *I would strongly discourage doing this*.
> You would create an unauthorized binary which might crash (at best!) or one
> which might work but could include very subtle numerical bugs and thus,
> lead to diverging results. So in the end you don’t really know what you
> have in your hands.
>
>
>
> Monte Carlo codes are very sensitive to numerical issues, sometimes even
> subtle changes in the processor architecture’s floating point unit as we
> have seen, and therefore require thorough testing and cross-comparisons
> before releasing for different architectures.
>
>
>
> Cheers
>
> Chris
>
>
>
> -----Original Message-----
> From: paolo.dicarolo_at_fi.infn.it [mailto:paolo.dicarolo_at_fi.infn.it]
> Sent: 22 November, 2016 11:32 AM
> To: Chris Theis <Christian.Theis_at_cern.ch>
> Cc: fluka-discuss_at_fluka.org Community-FLUKA <fluka-discuss_at_fluka.org>
> Subject: Re: [fluka-discuss]: Fluka on Mac
>
>
>
> Thank you Chris, very useful informations.
>
> Then I can try an object format conversion directly with objconv:
>
> http://agner.org/optimize/objconv.zip
>
>
>
> Cheers Paolo
>
>
>
> ----- Messaggio da Chris Theis <Christian.Theis_at_cern.ch> ---------
>
> Data: Mon, 21 Nov 2016 15:28:02 +0000
>
> Da: Chris Theis <Christian.Theis_at_cern.ch>
>
> Oggetto: Re: [fluka-discuss]: Fluka on Mac
>
> A: "paolo.dicarolo_at_fi.infn.it" <paolo.dicarolo_at_fi.infn.it>, "fluka-discuss_at_fluka.org
> Community-FLUKA" <fluka-discuss_at_fluka.org>
>
>
>
>
>
> > Dear Paolo,
>
> >
>
> > even though OS X is related to Linux it is not binary compatible. OS X
>
> > object files follow Mach O format whereas Linux files are ELF
>
> > formatted. Even if they used the same format it is not guaranteed that
>
> > the same ABI is available under different Operating systems.
>
> >
>
> > Thus, you would need object files which have been compiled for your
>
> > specific platform.
>
> >
>
> > Cheers Chris
>
> >
>
> > _____________________________
>
> > From: paolo.dicarolo_at_fi.infn.it<mailto:paolo.dicarolo_at_fi.infn.it>
>
> > Sent: Monday, November 21, 2016 16:06
>
> > Subject: [fluka-discuss]: Fluka on Mac
>
> > To: fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>
>
> > Community-FLUKA
>
> > <fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>>
>
> >
>
> >
>
> > Dear FLUKA experts,
>
> >
>
> > we want to use FLUKA on Mac avoiding virtual machines, is it possible
>
> > with some code adjustments?
>
> > Following the G. Battistoni method:
>
> > https://indico.cern.ch/event/391596/contributions/1826706/attachments/
>
> > 783751/1074413/Battistoni_FLUKA_Mac.pdf
>
> >
>
> > On Mac 10.5 installing Xcode 5.1.1 and fink:
>
> >
>
> > $ export FLUPRO=/Users/paolo/FLUKA64
>
> > $ export FLUFOR=gfortran
>
> > $ cd /Users/paolo/FLUKA64
>
> > $ tar -xzvf fluka2011.2c-linux-gfor5.3-64bitAA.tar.gz
>
> >
>
> > In $FLUKA/flutil/usbmax.c we replaced #include <values.h> with
>
> > #include <limits.h> #include <float.h>
>
> >
>
> > After some adjustements in awk commands in $FLUKA/flutil/ffluka.sh and
>
> > in the reading of object files in libflukahp.a we arrive at error:
>
> >
>
> > iMac-di-Utente:FLUKA64 paolo$ /Users/paolo/FLUKA64/flutil/lfluka -o
>
> > flukahp -m fluka $FLUPRO = /Users/paolo/FLUKA64 now linking
>
> > /Users/paolo/FLUKA64
>
> > gfortran
>
> > ar x /Users/paolo/FLUKA64/libflukahp.a fluka.o gfortran -msse2
>
> > -mfpmath=sse -fPIC -O3 -g -mtune=generic -fexpensive-optimizations
>
> > -funroll-loops -fstrength-reduce -Wall -Wuninitialized -Wno-tabs
>
> > -Wline-truncation -Wno-unused-function -Wno-unused-parameter
>
> > -Wno-unused-variable -Wunused-label -Waggregate-return -Wcast-align
>
> > -Wsystem-headers -ftrapping-math -frange-check -fbackslash -fdump-core
>
> > -fbacktrace -ffpe-trap=invalid,zero,overflow -finit-local-zero
>
> > -ffixed-form
>
> > -frecord-marker=4 -funderscoring -fno-automatic -fd-lines-as-comments
>
> > -fbounds-check -I/Users/paolo/FLUKA64/flukapro -v -o flukahp fluka.o
>
> > -L/Users/paolo/FLUKA64 -lflukahp
>
> > Driving: gfortran -mmacosx-version-min=10.8.6 -msse2 -mfpmath=sse
>
> > -fPIC -O3 -g -mtune=generic -fexpensive-optimizations -funroll-loops
>
> > -fstrength-reduce -Wall -Wuninitialized -Wno-tabs -Wline-truncation
>
> > -Wno-unused-function -Wno-unused-parameter -Wno-unused-variable
>
> > -Wunused-label -Waggregate-return -Wcast-align -Wsystem-headers
>
> > -ftrapping-math -frange-check -fbackslash -fdump-core -fbacktrace
>
> > -ffpe-trap=invalid,zero,overflow -finit-local-zero -ffixed-form
>
> > -frecord-marker=4 -funderscoring -fno-automatic -fd-lines-as-comments
>
> > -fbounds-check -I/Users/paolo/FLUKA64/flukapro -v -o flukahp fluka.o
>
> > -L/Users/paolo/FLUKA64 -lflukahp -l gfortran -shared-libgcc Using
>
> > built-in specs.
>
> > COLLECT_GCC=gfortran
>
> > COLLECT_LTO_WRAPPER=/sw/lib/gcc4.9/libexec/gcc/x86_64-apple-darwin12.6
>
> > .0/4.9.3/lto-wrapper
>
> > Target: x86_64-apple-darwin12.6.0
>
> > Configured with: ../gcc-4.9.3/configure --prefix=/sw
>
> > --prefix=/sw/lib/gcc4.9 --mandir=/sw/share/man
>
> > --infodir=/sw/lib/gcc4.9/info
>
> > --enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
>
> > --with-libiconv-prefix=/sw --with-isl=/sw --with-cloog=/sw
>
> > --with-mpc=/sw --with-system-zlib --x-includes=/opt/X11/include
>
> > --x-libraries=/opt/X11/lib --program-suffix=-fsf-4.9 Thread model:
>
> > posix gcc version 4.9.3 (GCC) Reading specs from
>
> > /sw/lib/gcc4.9/lib/gcc/x86_64-apple-darwin12.6.0/4.9.3/../../../libgfo
>
> > rtran.spec
>
> > rename spec lib to liborig
>
> > COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.8.6' '-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-variable' '-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'
>
> > '/Users/paolo/FLUKA64/flukapro' '-v' '-o' 'flukahp'
>
> > '-L/Users/paolo/FLUKA64' '-shared-libgcc'
>
> > COMPILER_PATH=/sw/lib/gcc4.9/libexec/gcc/x86_64-apple-darwin12.6.0/4.9
>
> > .3/:/sw/lib/gcc4.9/libexec/gcc/x86_64-apple-darwin12.6.0/4.9.3/:/sw/li
>
> > b/gcc4.9/libexec/gcc/x86_64-apple-darwin12.6.0/:/sw/lib/gcc4.9/lib/gcc
>
> > /x86_64-apple-darwin12.6.0/4.9.3/:/sw/lib/gcc4.9/lib/gcc/x86_64-apple-
>
> > darwin12.6.0/
>
> > LIBRARY_PATH=/sw/lib/gcc4.9/lib/gcc/x86_64-apple-darwin12.6.0/4.9.3/:/
>
> > sw/lib/gcc4.9/lib/gcc/x86_64-apple-darwin12.6.0/4.9.3/../../../:/usr/l
>
> > ib/ COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.8.6' '-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-variable' '-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'
>
> > '/Users/paolo/FLUKA64/flukapro' '-v' '-o' 'flukahp'
>
> > '-L/Users/paolo/FLUKA64' '-shared-libgcc'
>
> > /sw/lib/gcc4.9/libexec/gcc/x86_64-apple-darwin12.6.0/4.9.3/collect2
>
> > -dynamic -arch x86_64 -macosx_version_min 10.8.6
>
> > -weak_reference_mismatches non-weak -o flukahp -L/Users/paolo/FLUKA64
>
> > -L/sw/lib/gcc4.9/lib/gcc/x86_64-apple-darwin12.6.0/4.9.3
>
> > -L/sw/lib/gcc4.9/lib/gcc/x86_64-apple-darwin12.6.0/4.9.3/../../..
>
> > fluka.o -lflukahp -lgfortran -no_compact_unwind -lSystem
>
> > -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
>
> > -idsym
>
> > collect2 version 4.9.3
>
> > /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.8.6
>
> > -weak_reference_mismatches non-weak -o flukahp -L/Users/paolo/FLUKA64
>
> > -L/sw/lib/gcc4.9/lib/gcc/x86_64-apple-darwin12.6.0/4.9.3
>
> > -L/sw/lib/gcc4.9/lib/gcc/x86_64-apple-darwin12.6.0/4.9.3/../../..
>
> > fluka.o -lflukahp -lgfortran -no_compact_unwind -lSystem
>
> > -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
>
> > _at_(#)PROGRAM:ld PROJECT:ld64-236.4 configured to support archs: armv6
>
> > armv7 armv7s arm64 i386 x86_64 armv6m armv7m armv7em Library search
>
> > paths:
>
> > /Users/paolo/FLUKA64
>
> > /sw/lib/gcc4.9/lib/gcc/x86_64-apple-darwin12.6.0/4.9.3
>
> > /sw/lib/gcc4.9/lib
>
> > /usr/lib
>
> > /usr/local/lib
>
> > Framework search paths:
>
> > /Library/Frameworks/
>
> > /System/Library/Frameworks/
>
> > ld: warning: ignoring file fluka.o, file was built for unsupported
>
> > file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00
>
> > 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked
>
> > (x86_64): fluka.o
>
> > ld: warning: ignoring file /Users/paolo/FLUKA64/libflukahp.a, file was
>
> > built for archive which is not the architecture being linked (x86_64):
>
> > /Users/paolo/FLUKA64/libflukahp.a
>
> > Undefined symbols for architecture x86_64:
>
> > "_main", referenced from:
>
> > implicit entry/start for main executable
>
> > ld: symbol(s) not found for architecture x86_64
>
> > collect2: error: ld returned 1 exit status
>
> > iMac-di-Utente:FLUKA64 paolo$
>
> >
>
> > Is it solvable, or we need a modified version of object files, that is
>
> > probably maybe contained in development version fluka2014.5?
>
> >
>
> > Best regards
>
> > Paolo Dicarolo
>
> >
>
> > --
>
> > Paolo R. Dicarolo
>
> >
>
> > INFN di Firenze
>
> > Dip. Fisica Sperimentale
>
> > Stanza 115
>
> > Tel 055/4572683
>
> >
>
> >
>
> > ______________________________________________________________________
>
> > ____ You can manage unsubscription from this mailing list at
>
> > https://www.fluka.org/fluka.php?id=acc_info
>
>
>
>
>
> ----- Fine messaggio da Chris Theis <Christian.Theis_at_cern.ch> -----
>
>
>
>
>
> --
>
> Paolo R. Dicarolo
>
>
>
> INFN di Firenze
>
> Dip. Fisica Sperimentale
>
> Stanza 115
>
> Tel 055/4572683
>
>
>
>
>


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Nov 22 2016 - 17:25:14 CET

This archive was generated by hypermail 2.3.0 : Tue Nov 22 2016 - 17:25:15 CET