Fortran Program Porting Issues
Japanese version is here.
If you are interested in how I built the RPMs, take a look at this.
To install them do the following:
Caution: This overwrites your existing gcc triplet (C, C++, and Objective C) and might destroy your compiling environment. As always install them at your own risk. You had better read this before installation.
real*4 a, b, c a = 1. b = 2. c = a + b print *, ' a, b, c = ', a, b, c end
It should be relatively easy to fix as follows.
First check if you have /etc/ld.so.conf. If you do, you will get:
I suspect you don't. You have to create one for example by
where "^D" is CTRL+d. Once you have created /etc/ld.so.conf, you should be able to register your libf2c.so to /etc/ld.so.cache.
I should have included in the RPM package a symbolic link to /usr/lib/libf2c.so (I supposed I did, but didn't as pointed out by Matsumura at Osaka University), so that libf2c.so would have been automatically registered in the rpm installation. I'm sorry for inconvenience. I promise the next version will include this symboic link. Meanwhile you have to do the above and try simpletest again (97/12/07: 2.7.2.fu.1-1C now includes the symbolic link and you do not have to do the above, I hope).
If it failed again or if what you got was something different,
you are in a real trouble.
I'm sorry but in this case you have to restore your old "gcc"
triplet (gcc-2.7.2.1-2J.ppc.rpm, gcc-c++-2.7.2.1-2J.ppc.rpm, gcc-objc-2.7.2.1-2J.ppc.rpm) from
the RPMS/ppc directory
of DR2.1update4.
Then you may want to try compiling "g77" from
its SRPM.
I hope you don't have to do this.
Passing this simple test, you can now proceed to more complicated programs. Then you may encounter various problems like I did.
This was, however, after I did most of the porting: I have fixed up those missing intrinsic functions such as date_, time_, ..etc. Some examples are here.
You should avoid the use of complex statement functions. Otherwise, you should compile those routines that use complex statement functions with "-O0".
This problem has been fixed in g77-0.5.21 or later. It's fixed in egcs-1.0 coming with DR3 in particular.
followed by subsequent decays of the top and antitop into a bottom quark and two fermions.
This is a 21-dimensional integration, including integration variables for spin, final-state selection, initial-state radiation, and beamstrahlung. The scattering amplitude is calculated by using HELAS (Helicity Amplitude Subroutines) and the integration by the BASES/SPRING Monte Carlo integration package.
The BASES part calculates the cross section based on the weighted sampling method, while the SPRING part generates weight-one events, using the integration results from the BASES part. The Monte Carlo integration consists of two steps: grid optimization step and accumulation step. In the grid optimization step, the integration is carried out in hyper-cubes in the integration space, with the size of the hyper-cubes and that of the sub-mesh (grid size) being adjusted in each iteration. In the accumulation step, the hyper-cubes and the grids are fixed, and just accumulates statistics to improve numerical accuracy.
In this example, each iteration consists of 20000 sample points in the integration space. The optimization step is made of 5 iterations and the accumulation step of 50 iterations.
The SPRING step includes the JLC detector simulator for particle tracking and calorimeter response.
Each iteration consists of 20000 sample points in the integration space. The optimization step is made of 5 iterations and the accumulation step of 10 iterations (I didn't need much accuracy here).
The program consists of two separate parts: one for 8-jet final states (8J) and the other for 1 letpon plus 6-jet final states (L+6J).
C100 (HP-UX) | 8115/100 (MkLinux) | |
TTH_GEN:BASES |
140.73 sec (2.94834 +/- 0.00927 fb) |
850.05 sec (2.94811 +/- 0.00927 fb) |
TTH_GEN:SPRING |
402.19 sec (output data: 35MB) |
813.35 sec (output data: 35MB) |
TTH_ANL: 8J | 218.53 sec | 435.08 sec |
TTH_ANL: L+6J | 166.2 sec | 306.2 sec |
TT_GEN:BASES |
410.27 sec (0.40153 +/- 0.00061 fb) |
2485.85 sec (0.40153 +/- 0.00061 fb) |
TT_GEN:SPRING |
103.62 sec (output data: 5.6MB) |
244.45 sec (output data: 5.6MB) |
where the center of mass energy has been set at 700(340) GeV for TTH (TT) and the top mass is chosen to be 170 GeV. In the SPRING stage, 1000(200) events were generated for TTH (TT). Notice that TT_GEN takes into account the threshold enhancement thus has a finite cross section even at the production threshold.