-
gfortan-4.1
Internal compiler error is produced while compiling pegs5.
Dr. N. Mokhov of FNAL reported on 26Jan2012.
-
gfortan-4.3 for Linux
"-fno-automatic" is not effective. As a result of this,
values of particle energy were not written in *.pic file.
Similar problem is reported in the following site. (
link )
-
gfortran-4.4.3 and 4.4.5
When gfortran-4.4.3 (gcc) is used on Linux 2.6.34-gentoo-r11 to compile
ucsampl5.f with egs5, following problem was found.
Similar problem was found when gfortran-4.4.5 is used on Scientific Linux 6.1.
Following values in output file
is wrong.
Fraction in region 2=0.0464275
Fraction in region 3=0.9535725
The corresponding part in ucsampl5.out is as follows.(These are reasonable values.)
Fraction in region 2=0.4015938
Fraction in region 3=0.5984062
Dr. Takada of NIRS reported this problem on 5Aug2011.
Dr. Shimizu of AIST report this problem on 26Sep2011.
-
gfortran-4.4.6
When gfortran-4.4.6 (gcc 4.4.6 20110731) on Foresight Linux 4.4.6-1,
following was output from ucsampl5. This is wrong.
Fraction in region 2=0.7179067
Fraction in region 3=0.2820933
Dr. Denis Bernard reported this problem on 15Mar2013.
-
gfortran-4.5 for command prompt of MS-windows
When file is read in, linux type file (EOF=LF) is accepted, and dos type file (EOF=CR+LF)
is not acccepted. This is a confliction because dos type file is mainly used on PC.
As a result of this bug, pgs5job.pegs5dat can notbe read in and following message is output
when ucsampl5.f run.
END OF FILE UNIT 12
PROGRAM STOPPED IN HATCH BECAUSE THE
FOLLOWING NAMES WERE NOT RECOGNIZED:
'WATER '
'AIR-AT-NTP '
gfortran-4.3 and gfortran-4.4 do not have this problem.
This problem was reported to gfortran developping group by e-mail on 08Sep2009.
gfortran 4.8.1-1
egs5run produces error when it uses gfortran 4.8.1-1 on Cygwin.
To find a reason of error following program was compiled using
gfortran 4.8.1-1 on Cygwin.
include 'bb/test2.f'
a(1)=1.0
a(2)=2.0
b=a(1)+a(2)
write(6,*) b
stop
end
When bb/test2.f is a real file, no compile error is generated.
When aa/test2.f is a real file and bb/test2.f is a symbolic link of
/aa/test2.f,
Error 'Can't open included file '/bb/test2.f'
is displayed.
ln -s aa bb
was a command to creat symbolic link.
The contents of test2.f is
dimension a(2)
As this kind of symbolic link is frequently used in egs5, egs5 can not comiled
using gfortran 4.8.1-1 on Cygwin.
This problem was reported to gfortran developping group by e-mail on 21Aug2013.
-
Lahey Fortran 5.6
Error is produced for over-flow type random number generator like RAN6.
EGS4 and MCNP used this type of random number generator.
To avoid this error, please specify "OPT=0".
This proble was fixed in version 5.7 and later.
Mr. Sugita of SSL reported this problem.
-
gfortran 4.10.0
Error is produced when sample user code uc_examin.f is running.
When pgs5job.ssl is handled in pegs5.f, I/O error is produced.
To avoid error, change ICPROF value from -3 to 1 in uc_examin.inp.
But it is recomended to avoid using this version of gfortran because
real problem is not understood.
Mr. Mori and Miss Terashima of Hokkaido Univ. reported this problem on 8Aug2016.
Similar problem was reported by H.Hirayama on 19Mar2017 again.
He runs uc_examin.f for MGO while Compton profile is included.
Program stopped with following message;
At line 25898 of file egs5job.f (unit = 31, file='pgs5job.ssl')
Fortran runtime error: Cannot match namelist object name 30.00
Last 3 lines of pgs5job.pegs5lst is as follows;
Reading shellwise Compton profile as ICPROF= -3
Reading data/shellwise_Compton_profile/z012.dat
Reading data/shellwise_Compton_profile/z008.dat
-
gfortran with gcc version 10.X on Mac
Y. Sakaki reported this on 3Aug2020.
When egs5 is compiled with tutor1.f, several errors were produced and compile is failed.
The first error is
22299 | call PWLF1(NGL,NALG,AP,UP,RMT2,EPG,ZTHRG,ZEPG,NIPG,DLOG,DEXP,AXG,B
| 1
Error: Interface mismatch in dummy procedure 'xfun' at (1): 'dlog' is not a subroutine