(no subject)

From: Jing Hantao <jinght_at_mail.ihep.ac.cn>
Date: Mon, 27 Oct 2008 16:52:46 +0800

Hello everyone,
When I calculated the neutron yield from a target, I used the following cards,
* ..+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
USRYIELD 2399.0 NEUTRON -47.0 FE DE1 1. neutron0
USRYIELD 3.0 1.0D-14 300.0 180.0 90.0 3.0&
* ..+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
USRYIELD 2399.0 NEUTRON -47.0 DE1 DE2 1. neutron1
USRYIELD 3.0 1.0D-14 300.0 180.0 90.0 3.0&

After finishing the calculation, I compiled the usysuw.f to usysuw and the following warning happened,

[root_at_localhost flutil]# $FLUPRO/flutil/lfluka usysuw.f -o usysuw
$FLUPRO = /root/fluka
g77 -O3 -g -mcpu=pentiumpro -fexpensive-optimizations -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -m32 -ffortran-bounds-check -I/root/fluka/flukapro -v -o usysuw -Xlinker -Map -Xlinker usysuw.map usysuw.f -L/root/fluka -lflukahp
Driving: g77 -O3 -g -mcpu=pentiumpro -fexpensive-optimizations -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -m32 -ffortran-bounds-check -I/root/fluka/flukapro -v -o usysuw -Xlinker -Map -Xlinker usysuw.map usysuw.f -L/root/fluka -lflukahp -lfrtbegin -lg2c -lm -shared-libgcc
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
 /usr/libexec/gcc/i386-redhat-linux/3.4.5/f771 usysuw.f -mtune=pentiumpro -quiet -dumpbase usysuw.f -m32 -auxbase usysuw -g -O3 -Wall -version -fexpensive-optimizations -funroll-loops -fstrength-reduce -fno-automatic -fno-silent -ffortran-bounds-check -I/root/fluka/flukapro -o /tmp/cc5GFYdf.s
GNU F77 version 3.4.5 20051201 (Red Hat 3.4.5-2) (i386-redhat-linux)
        compiled by GNU C version 3.4.5 20051201 (Red Hat 3.4.5-2).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64265
usysuw:
usysuw.f: In program `usysuw':
In file included from usysuw.f:0:
usysuw.f:184: warning: unused variable 'accumt'
usysuw.f:183: warning: unused variable 'domega'
usysuw.f:182: warning: unused variable 'costhe'
usysuw.f:183: warning: 'deltae' might be used uninitialized in this function
usysuw.f:184: warning: 'efact' might be used uninitialized in this function
usysuw.f:316: warning: 'kmax' might be used uninitialized in this function
usysuw.f:465: warning: 'energe' might be used uninitialized in this function
  lnnbln:
 as -V -Qy -o /tmp/cc7Jk7Kj.o /tmp/cc5GFYdf.s
GNU assembler version 2.15.92.0.2 (i386-redhat-linux) using BFD version 2.15.92.0.2 20040927
 /usr/libexec/gcc/i386-redhat-linux/3.4.5/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o usysuw /usr/lib/gcc/i386-redhat-linux/3.4.5/../../../crt1.o /usr/lib/gcc/i386-redhat-linux/3.4.5/../../../crti.o /usr/lib/gcc/i386-redhat-linux/3.4.5/crtbegin.o -L/root/fluka -L/usr/lib/gcc/i386-redhat-linux/3.4.5 -L/usr/lib/gcc/i386-redhat-linux/3.4.5 -L/usr/lib/gcc/i386-redhat-linux/3.4.5/../../.. -Map usysuw.map /tmp/cc7Jk7Kj.o -lflukahp -lfrtbegin -lg2c -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i386-redhat-linux/3.4.5/crtend.o /usr/lib/gcc/i386-redhat-linux/3.4.5/../../../crtn.o

Then, I neglected the warning and extracted data from the output files using the following command:

[root_at_localhost CSNS]# $FLUPRO/flutil/usysuw
 Type the input file: CSNS001_fort.47
 MC-CAD Test
  DATE: 10/27/ 8, TIME: 11:29:38
  100000.
 100000
 0
 1
Subscript out of range on file line 334, procedure usysuw.f/MAIN.
Attempt to access the 102-th element of variable engmax.
Aborted

I don't know why the errors happen. The version for fluka is 2008.3(I can't afirm wether the version is 2008.3.2). but I didn't meet such errors before by using fluka 2006.3b. Thank you very much!
                                 

Jing Hantao
jinght_at_mail.ihep.ac.cn
2008-10-27
Received on Tue Oct 28 2008 - 12:40:05 CET

This archive was generated by hypermail 2.2.0 : Tue Oct 28 2008 - 12:40:35 CET