When compiler has errors, redirect output to file to scan
like so: ./compile_all.csh > l1.log 2>&1
Compile has many errors re: variable named "OFF"
987 | CALL PVAL(N,OFF,VAL,VOFREE)
| 1
Error: Actual argument contains too few elements for dummy argument ‘off’ (1/20) at (1)
make: *** [<builtin>: hrintss.o] Error 1
library ../../lib/g_den_hspflib.a does not exist,
There is a Global variable called OFF with (1) dimension
C + + + LOCAL VARIABLES + + +
INTEGER I,N,OFF(1),REM,WORDI,VO,SCLU,SGRP
But the subroutine it is called in does not have a dimension
CALL PVAL(N,OFF,WS,VO)
...
SUBROUTINE PVAL
I (N,OFF,VAL,VO)
C
C + + + PURPOSE + + +
C Put one or more values into the buffer/extension and write
C to the tss as necessary
C
C + + + KEYWORDS + + +
(hacky) Solution is to tell compiler to ignore these problems (worked in previous version of fortran) #6
First you have to find the file that calls it
scroll through the log file (generated by special compile redirect
find the final "make:*** ... Error1"
Error: Actual argument contains too few elements for dummy argument ‘off’ (1/20) at (1)
make: *** [<builtin>: hrintss.o] Error 1
library ../../lib/hspflib.a does not exist,
use one of the following commands to generate it:
make
make all
rm -f *.o ../../lib/ICPRBhspflib.a
Removed files generated by make.
Compiler and Fortran version info
When compiler has errors, redirect output to file to scan
./compile_all.csh > l1.log 2>&1
Compile has many errors re: variable named "OFF"
There is a Global variable called OFF with (1) dimension
But the subroutine it is called in does not have a dimension
(hacky) Solution is to tell compiler to ignore these problems (worked in previous version of fortran) #6
First you have to find the file that calls it
Then edit to add the compile option
-std=legacy
, by changing from:FFLAGS = -u $(OptM)
toFFLAGS = -u $(OptM) -std=legacy