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 15:59:59 +0200

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
>>>
>>
>
Received on Tue Jul 05 2011 - 23:20:56 CEST

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