Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gfortran error

Status
Not open for further replies.

achiv

Mechanical
Mar 21, 2019
1
Hi,
First time post, just joined hoping to get some help with gfortran error, operating system is Ubuntu 18.04.2 LTS.

I am getting an error I do not recognize. Thanks in advance for any insight.

Achilles
----------------------------------------------------------------------------------------------------
over2.2o$ make -f Maketools gfortran CMD=all
make -e -f `pwd`/Maketools F90="gfortran" F90FLAGS="-O3 -g -ffast-math -funroll-all-loops -frecord-marker=4" CC="gcc" CFLAGS="-O3 -g -fPIC" MMAKE="make -e -f `pwd`/Maketools -j 8" BASEDIR=`pwd` all
make[1]: Entering directory '/home/av/over2.2o'
(cd tools/modules; make -e -f /home/av/over2.2o/Maketools -j 8 CWD="`pwd`" obj00; make -e -f /home/av/over2.2o/Maketools -j 8 CWD="`pwd`" obj01; make -e -f /home/av/over2.2o/Maketools -j 8 CWD="`pwd`" obj)
make[2]: Entering directory '/home/av/over2.2o/tools/modules'
gfortran -O3 -g -ffast-math -funroll-all-loops -frecord-marker=4 -I/home/av/over2.2o/tools/modules -c forttype.F90
gfortran -O3 -g -ffast-math -funroll-all-loops -frecord-marker=4 -I/home/av/over2.2o/tools/modules -c mgrid_mod.F90
forttype.F90:1:0:

IntxLNK. . / . . / m o d u l e s / f o r t t y p e . F 9 0

Error: Unclassifiable statement at (1)
mgrid_mod.F90:1:0:

IntxLNK. . / . . / m o d u l e s / m g r i d _ m o d . F 9 0

Error: Unclassifiable statement at (1)
/home/av/over2.2o/Make.rules:19: recipe for target 'forttype.o' failed
make[2]: *** [forttype.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/av/over2.2o/Make.rules:19: recipe for target 'mgrid_mod.o' failed
make[2]: *** [mgrid_mod.o] Error 1
make[2]: Leaving directory '/home/av/over2.2o/tools/modules'
make[2]: Entering directory '/home/av/over2.2o/tools/modules'
gfortran -O3 -g -ffast-math -funroll-all-loops -frecord-marker=4 -I/home/av/over2.2o/tools/modules -c /home/av/over2.2o/tools/modules/forttype.F90
/home/av/over2.2o/tools/modules/forttype.F90:1:0:

IntxLNK. . / . . / m o d u l e s / f o r t t y p e . F 9 0

Error: Unclassifiable statement at (1)
/home/av/over2.2o/Make.rules:19: recipe for target '/home/av/over2.2o/tools/modules/forttype.o' failed
make[2]: *** [/home/av/over2.2o/tools/modules/forttype.o] Error 1
make[2]: Leaving directory '/home/av/over2.2o/tools/modules'
make[2]: Entering directory '/home/av/over2.2o/tools/modules'
gfortran -O3 -g -ffast-math -funroll-all-loops -frecord-marker=4 -I/home/av/over2.2o/tools/modules -c /home/av/over2.2o/tools/modules/forttype.F90
gfortran -O3 -g -ffast-math -funroll-all-loops -frecord-marker=4 -I/home/av/over2.2o/tools/modules -c /home/av/over2.2o/tools/modules/brick_mod.F90
/home/av/over2.2o/tools/modules/forttype.F90:1:0:

IntxLNK. . / . . / m o d u l e s / f o r t t y p e . F 9 0

Error: Unclassifiable statement at (1)
/home/av/over2.2o/tools/modules/brick_mod.F90:1:0:

IntxLNK. . / . . / o m i s o f t / m o d u l e s / b r i c k _ m o d . F 9 0

Error: Unclassifiable statement at (1)
/home/av/over2.2o/Make.rules:19: recipe for target '/home/av/over2.2o/tools/modules/forttype.o' failed
make[2]: *** [/home/av/over2.2o/tools/modules/forttype.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/av/over2.2o/Make.rules:19: recipe for target '/home/av/over2.2o/tools/modules/brick_mod.o' failed
make[2]: *** [/home/av/over2.2o/tools/modules/brick_mod.o] Error 1
make[2]: Leaving directory '/home/av/over2.2o/tools/modules'
/home/av/over2.2o/Maketools:131: recipe for target 'update' failed
make[1]: *** [update] Error 2
make[1]: Leaving directory '/home/av/over2.2o'
Make.sys:386: recipe for target 'gfortran' failed
make: *** [gfortran] Error 2
 
Replies continue below

Recommended for you

Did the code compile once before without error ?
or is this the first try to compile it ??

I guess we need much more informaton to give help .....
 
What do the first two lines of mgrid_mod.F90:1:0: look like?

Has this been transferred from Windows - does it have CRLF line terminators?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor