compile cuts.f
Hi Olivier,
After editing "cuts.f" file in subprocess directory, I would like to execute it to check if there is any debug in my code.
for a particular subprocess, for example /Subprocess/
> gfortran -o cuts.exe cuts.f
Unfortunately, I got a long list of errors (See below please) and this happens even without adding my code (by using the original cuts.f).
I tried to use cuts.f90 instead cuts.f but this doesn't solve the problem
I also added a simple main program at the begining of the file in order to be executable as the following:
program cuts
write(*,*) pass_point(p)
end program cuts
I am stuck!
How can I compile cuts.f file please?
Your help and assistance are greatly appreciated.
Best,
Asma
LIST OF ERRORS:
In file genps.inc:9
Included at cuts.f:43
parameter (ng = 96, maxdim = 3*(max_
Error: Symbol 'ma' at (1) has no IMPLICIT type
In file genps.inc:25
Included at cuts.f:43
parameter (maxprb = maxconfigs*
Error: Parameter 'maxconfigs' at (1) has not been declared or is a variable, which does not reduce to a constant expression
In file genps.inc:27
Included at cuts.f:43
parameter (maxfprb = maxinvar*
Error: Parameter 'maxinvar' at (1) has not been declared or is a variable, which does not reduce to a constant expression
In file cuts.f:81
double precision etmin(nincoming
Error: Expected another dimension in array declaration at (1)
In file cuts.f:83
double precision r2min(nincoming
Error: Expected another dimension in array declaration at (1)
In file cuts.f:85
double precision etmax(nincoming
Error: Expected another dimension in array declaration at (1)
In file cuts.f:87
double precision r2max(nincoming
Error: Expected another dimension in array declaration at (1)
In file cuts.f:89
double precision ptll_min(
Error: Bad array specification for an explicitly shaped array at (1)
In file cuts.f:166
Error: Expected a right parenthesis in expression at (1)
In file cuts.f:168
Error: Expected a right parenthesis in expression at (1)
In file cuts.f:173
& (r2min(
Error: Expected a right parenthesis in expression at (1)
In file cuts.f:175
1
Error: Unclassifiable statement at (1)
In file cuts.f:176
1
Error: Unclassifiable statement at (1)
In file cuts.f:320
Error: Syntax error in IF-expression at (1)
In file cuts.f:323
ENDIF
1
Error: Expecting END DO statement at (1)
In file cuts.f:373
if(debug) write (*,*) 'pt(',i,
Error: Syntax error in WRITE statement at (1)
In file cuts.f:375
Error: Expected a right parenthesis in expression at (1)
In file cuts.f:415
if(
Error: Function 'pt' requires an argument list at (1)
In file cuts.f:426
Error: Syntax error in IF-expression at (1)
In file cuts.f:431
endif
1
Error: Expecting END FUNCTION statement at (1)
In file cuts.f:473
Error: Expected a right parenthesis in expression at (1)
In file cuts.f:489
Error: Syntax error in argument list at (1)
In file cuts.f:490
Error: Syntax error in argument list at (1)
In file cuts.f:491
Error: Syntax error in IF-expression at (1)
In file cuts.f:493
Error: Expected a right parenthesis in expression at (1)
In file cuts.f:500
endif
1
Error: Expecting END DO statement at (1)
In file cuts.f:509
Error: Invalid form of array reference at (1)
In file cuts.f:510
Error: Syntax error in WRITE statement at (1)
In file cuts.f:511
Error: Syntax error in IF-expression at (1)
In file cuts.f:513
Error: Expected a right parenthesis in expression at (1)
In file cuts.f:520
endif
1
Error: Expecting END DO statement at (1)
In file cuts.f:533
Error: Syntax error in argument list at (1)
In file cuts.f:693
$ ptl1max.
1
Error: Bad character '1' in OPERATOR name at (1)
In file cuts.f:733
1
Error: Unclassifiable statement at (1)
In file cuts.f:746
endif
1
Error: Expecting END FUNCTION statement at (1)
In file cuts.f:844
write(6,*) 'alpha_s for scale ',scale,' is ', G**2/(16d0*atan(1d
Error: Missing exponent in real number at (1)
In file cuts.f:458
if(debug) write (*,*) 'p(0,',
Error: Symbol 'em' at (1) has no IMPLICIT type
In file run.inc:11
Included at cuts.f:73
$ fixed_couplings
Error: Symbol 'fixed_
In file cuts.f:91
common/
Error: Symbol 'etamax' at (1) has no IMPLICIT type
In file cuts.f:91
common/
Error: Symbol 'etmin' at (1) has no IMPLICIT type
In file cuts.f:92
$ etmax, emax, etamin, r2max, s_max, ptll_min, ptll_max, inclHt
Error: Symbol 'etamin' at (1) has no IMPLICIT type
In file cuts.f:92
$ etmax, emax, etamin, r2max, s_max, ptll_min, ptll_max, inclHt
1
Error: Symbol 'etmax' at (1) has no IMPLICIT type
In file run.inc:11
Included at cuts.f:73
$ fixed_couplings
Error: Symbol 'hmult' at (1) has no IMPLICIT type
In file cuts.f:92
$ etmax, emax, etamin, r2max, s_max, ptll_min, ptll_max, inclHt
Error: Symbol 'ptll_max' at (1) has no IMPLICIT type
In file cuts.f:92
$ etmax, emax, etamin, r2max, s_max, ptll_min, ptll_max, inclHt
Error: Symbol 'ptll_min' at (1) has no IMPLICIT type
In file cuts.f:92
$ etmax, emax, etamin, r2max, s_max, ptll_min, ptll_max, inclHt
Error: Symbol 'r2max' at (1) has no IMPLICIT type
In file cuts.f:91
common/
Error: Symbol 'r2min' at (1) has no IMPLICIT type
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: