×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Gfortran error

Gfortran error

Gfortran error

(OP)
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

RE: Gfortran error

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 .....

RE: Gfortran error

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?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close