Hi,
I just solved a bug in $FLUPRO/flutil/ffluka.sh.
If you are trying to compile fluka2011.2c-linuxAA in 64-bit machine
using g77, and $FLUPRO contains '64', you will encountered with these
errrs:
g77 -O3 -g -mcpu=pentiumpro -fexpensive-optimizations -funroll-loops
-fstrength-reduce -Wall -fno-automatic -fno-silent -ffortran-bounds-check
-m32 -o actdline actdline.o
actdline.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [actdline] Error 1
$> echo $FLUPRO
/Software/FLUKA-x86_64/fluka2011.2c-linuxAA
These error occurs if $FLUPRO contains '64' in any place.
You can simply rename the path to avoid this bug. But I digged into it.
The above errors simply because $FLUPRO/flutil/fff compile source in
some option that different from link option.
To solve it, I only change one line in $FLUPRO/flutil/ffluka.sh.
My version of it is named by ffluka.sh_jixie.
$> diff ffluka.sh.origin ffluka.sh_jixie
38c38
< FARHLP=`echo $FLUPRO | grep -i 64`
---
> FARHLP=`basename $FLUPRO | grep -i 64`
I highly recommend the fluka develop team take this modification to the
future
release. This modified file also attached.
--
With Best Regards,
Jixie Zhang
757-269-7735
_______________________________________________
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Mar 10 2017 - 00:59:28 CET