Closed GoogleCodeExporter closed 9 years ago
Glenn, thoughts on what's not working in the compile?
Original comment by cfastdev@gmail.com
on 1 Feb 2015 at 10:24
I think your gnu compiler didn't like that several lines in the cfast source
were longer than 132 characters. I fixed this. update your repository and try
again. report back if this fixed the problem or if you see other lines that
have the same problem. thanks.
Original comment by gfor...@gmail.com
on 1 Feb 2015 at 10:42
In my first comment, I forgot to give my gfortran-Version:
#########################################
:~/cfast/cfast/trunk/CFAST$ gfortran --version
GNU Fortran (Debian 4.9.1-16) 4.9.1
Copyright (C) 2014 Free Software Foundation, Inc.
#########################################
After I update and try it again:
#########################################
head:~/cfast/cfast/trunk/CFAST$ make gnu_linux_64
gfortran -c -O2 Source/prec.f90
gfortran -c -O2 Source/cfast_parameters.f90
gfortran -c -O2 Source/cfast_structures.f90
gfortran -c -O2 Source/cfast_data.f90
gfortran -c -O2 Source/cfast_interfaces.f90
gfortran -c -O2 Source/auxiliary.f90
Source/auxiliary.f90:367.8:
use ifport
1
Fatal Error: Can't open module file 'ifport.mod' for reading at (1): Datei oder
Verzeichnis nicht gefunden (file or directory not found)
makefile:42: recipe for target 'auxiliary.o' failed
make: *** [auxiliary.o] Error 1
#########################################
Original comment by gregor.j...@gmail.com
on 2 Feb 2015 at 7:03
Attachments:
With SVN 1875:
:~/cfast/cfast/trunk/CFAST$ make gnu_linux_64
gfortran -c -O2 Source/prec.f90
gfortran -c -O2 Source/cfast_parameters.f90
gfortran -c -O2 Source/cfast_structures.f90
gfortran -c -O2 Source/cfast_data.f90
gfortran -c -O2 Source/cfast_interfaces.f90
gfortran -c -O2 Source/auxiliary.f90
Source/auxiliary.f90:740.51:
call get_command_argument(loop, buf, ilen, status)
1
Error: Type of argument 'status' in call to 'get_command_argument' at (1)
should be INTEGER(4), not INTEGER(2)
makefile:42: recipe for target 'auxiliary.o' failed
make: *** [auxiliary.o] Error 1
Original comment by gregor.j...@gmail.com
on 3 Feb 2015 at 10:15
try again with r1876
Original comment by gfor...@gmail.com
on 3 Feb 2015 at 12:36
with SVN 1876:
:~/cfast/cfast/trunk/CFAST$ make gnu_linux_64
gfortran -c -O2 Source/prec.f90
gfortran -c -O2 Source/cfast_parameters.f90
gfortran -c -O2 Source/cfast_structures.f90
gfortran -c -O2 Source/cfast_data.f90
gfortran -c -O2 Source/cfast_interfaces.f90
gfortran -c -O2 Source/auxiliary.f90
gfortran -c -O2 Source/initialization.f90
gfortran -c -O2 Source/input.f90
gfortran -c -O2 Source/numerics.f90
Source/numerics.f90:5044.21:
10 assign 30 to next
1
Warning: Deleted feature: ASSIGN statement at (1)
Source/numerics.f90:5049.14:
20 go to next,(30, 50, 70, 110)
1
Warning: Deleted feature: Assigned GOTO statement at (1)
Source/numerics.f90:5051.21:
assign 50 to next
1
Warning: Deleted feature: ASSIGN statement at (1)
Source/numerics.f90:5060.21:
assign 70 to next
1
Warning: Deleted feature: ASSIGN statement at (1)
Source/numerics.f90:5066.22:
assign 110 to next
1
Warning: Deleted feature: ASSIGN statement at (1)
gfortran -c -O2 Source/output.f90
Source/output.f90:1967.55:
open (unit=iofilo,file=outputfile,status='new',carriagecontrol='fortran')
1
Error: Syntax error in OPEN statement at (1)
Source/output.f90:1972.37:
open (unit=iofilo,file='con',carriagecontrol='fortran')
1
Error: Syntax error in OPEN statement at (1)
Source/output.f90:2005.39:
open (unit=4, file=kernelisrunning, dispose='delete')
1
Error: Syntax error in OPEN statement at (1)
makefile:42: recipe for target 'output.o' failed
make: *** [output.o] Error 1
:~/cfast/cfast/trunk/CFAST$
Original comment by gregor.j...@gmail.com
on 3 Feb 2015 at 12:47
with SVN 1884:
:~/cfast/cfast/trunk/CFAST/gnu_linux$ sh make_cfast.sh
Building gnu_linux
gfortran -c -O2 ../Source/prec.f90
gfortran -c -O2 ../Source/cfast_parameters.f90
gfortran -c -O2 ../Source/cfast_structures.f90
gfortran -c -O2 ../Source/cfast_data.f90
gfortran -c -O2 ../Source/cfast_interfaces.f90
gfortran -c -O2 ../Source/auxiliary.f90
gfortran -c -O2 ../Source/keyboard_gnu.f90
gfortran -c -O2 ../Source/initialization.f90
gfortran -c -O2 ../Source/input.f90
gfortran -c -O2 ../Source/numerics.f90
gfortran -c -O2 ../Source/output.f90
gfortran -c -O2 ../Source/outputsmv.f90
gfortran -c -O2 ../Source/outputspreadsheet.f90
../Source/outputspreadsheet.f90:634.41:
call SSaddtolist(position, time, outarray)
1
Warning: Dummy argument 'outarray' with INTENT(IN) in variable definition
context (actual argument to INTENT = OUT/INOUT) at (1)
../Source/outputspreadsheet.f90:642.35:
call ssaddtolist(position, r1, outarray)
1
Warning: Dummy argument 'outarray' with INTENT(IN) in variable definition
context (actual argument to INTENT = OUT/INOUT) at (1)
../Source/outputspreadsheet.f90:643.35:
call ssaddtolist(position, r2, outarray)
1
Warning: Dummy argument 'outarray' with INTENT(IN) in variable definition
context (actual argument to INTENT = OUT/INOUT) at (1)
../Source/outputspreadsheet.f90:644.34:
call ssaddtolist(position, v, outarray)
1
Warning: Dummy argument 'outarray' with INTENT(IN) in variable definition
context (actual argument to INTENT = OUT/INOUT) at (1)
../Source/outputspreadsheet.f90:645.37:
call ssaddtolist(position, slab, outarray)
1
Warning: Dummy argument 'outarray' with INTENT(IN) in variable definition
context (actual argument to INTENT = OUT/INOUT) at (1)
../Source/outputspreadsheet.f90:647.55:
call SSaddtolist(position, dirs12(i)*qslab(i), outarray)
1
Warning: Dummy argument 'outarray' with INTENT(IN) in variable definition
context (actual argument to INTENT = OUT/INOUT) at (1)
gfortran -c -O2 ../Source/ssHeaders.f90
gfortran -c -O2 ../Source/convection.f90
gfortran -c -O2 ../Source/conduction.f90
gfortran -c -O2 ../Source/cyl_conduct.f90
gfortran -c -O2 ../Source/radiation.f90
gfortran -c -O2 ../Source/target.f90
gfortran -c -O2 ../Source/fire.f90
gfortran -c -O2 ../Source/flowfan.f90
gfortran -c -O2 ../Source/flowhall.f90
gfortran -c -O2 ../Source/flowhorizontal.f90
gfortran -c -O2 ../Source/flowvertical.f90
gfortran -c -O2 ../Source/cfast.f90
gfortran -O2 -o cfast6_gnu_linux prec.o cfast_parameters.o cfast_structures.o
cfast_data.o cfast_interfaces.o auxiliary.o keyboard_gnu.o initialization.o
input.o numerics.o output.o outputsmv.o outputspreadsheet.o ssHeaders.o
convection.o conduction.o cyl_conduct.o radiation.o target.o fire.o flowfan.o
flowhall.o flowhorizontal.o flowvertical.o cfast.o
:~/cfast/cfast/trunk/CFAST/gnu_linux$
when I start coast, i get this message:
:~/cfast/cfast/trunk/CFAST/gnu_linux$ ./cfast6_gnu_linux
Version 7.0.0, Created 2015/01/07, Revision 1884
At line 67 of file ../Source/output.f90
Fortran runtime error: Expected INTEGER for item 1 in formatted transfer, got
LOGICAL
('CFAST run with validation option = ',i2)
^
Original comment by gregor.j...@gmail.com
on 3 Feb 2015 at 9:13
made some corrections. update your repository and try again
Original comment by gfor...@gmail.com
on 3 Feb 2015 at 9:48
Wonderful, with svn 1885 it run. Many thanks!
Original comment by gregor.j...@gmail.com
on 3 Feb 2015 at 10:04
very good. let us know if you see any other issues. you are breaking new
ground with the use of cfast and gnu compilers!
Original comment by gfor...@gmail.com
on 3 Feb 2015 at 10:06
Original issue reported on code.google.com by
gregor.j...@gmail.com
on 29 Jan 2015 at 12:53