RE: fluka2011.2.4 (respin of fluka2011.2), gfortran version as well

From: Alfredo Ferrari <alfredo.ferrari_at_cern.ch>
Date: Tue, 5 Jul 2011 19:38:10 +0200

... I am puzzled.

I ran on at least two different machines (one being the lxplus public
cluster at CERN) with gfortran-4.4 with no problem. I'll test again, are
you sure you set correctly all logical variables?

For you and for Joseph, could you please let me know the answer to

a) uname -m
b) gfortran --version -dumpversion
c) gfortran -v
d) echo $MACHTYPE

on Ubuntu, Debian and Suse so that I can try to find a common denominator
the scripts?
                      Thanks!
                      Alfredo

+----------------------------------------------------------------------+
| Alfredo Ferrari || Tel.: +41.22.76.76119 |
| CERN-EN/STI || Fax.: +41.22.76.69474 |
| 1211 Geneva 23 || e-mail: Alfredo.Ferrari_at_cern.ch |
| Switzerland || |
+----------------------------------------------------------------------+

On Tue, 5 Jul 2011, Bertini, Denis Dr. wrote:

>
> Hi Alfredo,
> I checked FLUKA with the new Ubuntu 11.04 (64 bit) and gfortran 4.5.1: it
> works fine !
> But , i could not manage to make FLUKA running on Squeeze Debian running a
> little bit
> older gfortran compiler (4.4.x) .
>
> With the Squeeze Debian distribution Fluka compiles without
> problem, but when running the standard example.inp from the distribution,
> the process get
> immediately killed without any core dump ... in the output log is just
> written "KILLED" without
> any other hints...
>
> Do you have any idea what can goes wrong in the Debian case ?
> Best regards,
> Denis
>
>
> -----Original Message-----
> From: Alfredo Ferrari [mailto:alfredo.ferrari_at_cern.ch]
> Sent: Tue 7/5/2011 3:59 PM
> To: Bertini, Denis Dr.
> Cc: Alfredo Ferrari; Joseph Comfort; fluka-discuss_at_fluka.org
> Subject: Re: fluka2011.2.4 (respin of fluka2011.2), gfortran version as well
>
> Hi Denis
>
> the library was compiled under Fedora 14 on a x86_64 machine, running
>
> pceet030:flukagfor > gcc -v
> Using built-in specs.
> COLLECT_GCC=/usr/bin/gcc
> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.5.1/lto-wrapper
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info
> --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
> --enable-shared --enable-threads=posix --enable-checking=release
> --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
> --enable-gnu-unique-object --enable-linker-build-id
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,lto --enable-plugin
> --enable-java-awt=gtk --disable-dssi
> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
> --enable-libgcj-multifile --enable-java-maintainer-mode
> --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
> --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
> --build=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC)
>
> Let me know if you need further infos!
>
> Ciao
> ALfredo
>
>
> +----------------------------------------------------------------------+
> | Alfredo Ferrari || Tel.: +41.22.76.76119 |
> | CERN-EN/STI || Fax.: +41.22.76.69474 |
> | 1211 Geneva 23 || e-mail: Alfredo.Ferrari_at_cern.ch |
> | Switzerland || |
> +----------------------------------------------------------------------+
>
> On Tue, 5 Jul 2011, denis wrote:
>
> > Dear Alfredo
> > I tryied to compile fluka executable on Debian Squeeze using
> >
> > GNU Fortran (Debian 4.4.5-8) 4.4.5
> >
> > Unfortunately the static precompiled librarie libflukahp.a is not
> > recognized by the linker
> >
> > GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303
> >
> > /usr/bin/ld: skipping incompatible /d/cbm04/denis/fluka64/libflukahp.a
> when
> > searching for -lflukahp
> >
> >
> > So since it is a non trivial problem ( may be linked to gfortran version
> or
> > to ld version ) could you please tell me with which operating system you
> > compiled the libflukahp.a library ( Linux OS + ld + gfortran version )
> >
> > Thanks in advance,
> >
> > Denis Bertini
> > IT scientific computing GSI Darmstadt.
> >
> >
> >
> > On 7/4/11 10:38 AM, "Alfredo Ferrari" <alfredo.ferrari_at_cern.ch> wrote:
> >
> >> Thanks Joe
> >>
> >> the MACHNAME variable was an attempt to make the script Mac OS
> compatible,
> >> clearly it made compatible between Fedora and Mac Os, but it broke
> SUSE...
> >> I'll try to devise a better way. Thanks for the remark!
> >>
> >> Alfredo
> >>
> >>
> >> +----------------------------------------------------------------------+
> >> | Alfredo Ferrari || Tel.: +41.22.76.76119 |
> >> | CERN-EN/STI || Fax.: +41.22.76.69474 |
> >> | 1211 Geneva 23 || e-mail: Alfredo.Ferrari_at_cern.ch |
> >> | Switzerland || |
> >> +----------------------------------------------------------------------+
> >>
> >> On Sun, 3 Jul 2011, Joseph Comfort wrote:
> >>
> >>> Alfredo,
> >>>
> >>> Very good news about the 64-bit version. Not having it has been very
> >>> awkward.
> >>>
> >>> Can you please elaborate on the co-existence of both the 32-bit and
> 64-bit
> >>> versions? Separate directories, or one? Does the user choose through
> >>> the environment variables?
> >>>
> >>> To test, I installed the 64-bit version in a clean /usr/local/fluka. I
> >>> also set FLUFOR to 'gfortran'. I could not build the executable;
> >>> libflukahp.a is not compatible.
> >>>
> >>> The problem was that $MACHNAME, used in ffluka.sh, is set to
> >>> 'x86_64-suse-linux' in SuSE. Instead, I uncommented the line
> >>> 'CPUARCH=`uname -m` and commented out the next line. This may be a
> better
> >>> default feature of the script.
> >>>
> >>> I'll start to test the code.
> >>>
> >>> Thank you,
> >>> Joe Comfort
> >>>
> >>
> >
>
>
>
--8323328-1926537503-1309887491=:14535--
Received on Tue Jul 05 2011 - 23:27:21 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 05 2011 - 23:27:22 CEST