Octave 3.0.3 compile error in dtgevc.f

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Octave 3.0.3 compile error in dtgevc.f

per42195
Dear all,

I'm trying to compile octave 3.0.3 for Linux CentOS 5. I ran configure and then make, and I run in to the following compiler messages (a lot of files are compiled OK before this), see below:

Not knowing too much about fortran, I really need help here

regards

Per

f77 -c -fPIC -O dtgevc.f -o pic/dtgevc.o

CDIR$          NEXTSCALAR
               ^          
cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 637, Column = 16
  Unsupported compiler directive.

CDIR$          NEXT SCALAR
               ^          
cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 639, Column = 16
  Unsupported compiler directive.

CDEC$          NOVECTOR
               ^        
cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 641, Column = 16
  Conditional compilation has unexpected syntax.  Expected conditional compilation directive.

CDIR$             NEXTSCALAR
                  ^          
cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 651, Column = 19
  Unsupported compiler directive.

CDIR$             NEXT SCALAR
                  ^          
cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 653, Column = 19
  Unsupported compiler directive.

CDEC$             NOVECTOR
                  ^        
cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 655, Column = 19
  Conditional compilation has unexpected syntax.  Expected conditional compilation directive.

CDIR$          NEXTSCALAR
               ^          
cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 678, Column = 16
  Unsupported compiler directive.

CDIR$          NEXT SCALAR
               ^          
cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 680, Column = 16
  Unsupported compiler directive.

CDEC$          NOVECTOR
               ^        
cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 682, Column = 16
  Conditional compilation has unexpected syntax.  Expected conditional compilation directive.

f90: Copyright Absoft Corporation 1994-2004; Absoft Fortran Compiler Version 9.0a
f90fe: 1147 source lines
f90fe: 3 Errors, 6 Warnings, 0 Other messages, 0 ANSI
f90fe failed.


Reply | Threaded
Open this post in threaded view
|

Octave 3.0.3 compile error in dtgevc.f

John W. Eaton
Administrator
On 21-Jan-2009, per42195 wrote:

|
| Dear all,
|
| I'm trying to compile octave 3.0.3 for Linux CentOS 5. I ran configure and
| then make, and I run in to the following compiler messages (a lot of files
| are compiled OK before this), see below:
|
| Not knowing too much about fortran, I really need help here
|
| regards
|
| Per
|
| f77 -c -fPIC -O dtgevc.f -o pic/dtgevc.o
|
| CDIR$          NEXTSCALAR
|                ^          
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 637, Column = 16
|   Unsupported compiler directive.
|
| CDIR$          NEXT SCALAR
|                ^          
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 639, Column = 16
|   Unsupported compiler directive.
|
| CDEC$          NOVECTOR
|                ^        
| cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 641, Column = 16
|   Conditional compilation has unexpected syntax.  Expected conditional
| compilation directive.
|
| CDIR$             NEXTSCALAR
|                   ^          
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 651, Column = 19
|   Unsupported compiler directive.
|
| CDIR$             NEXT SCALAR
|                   ^          
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 653, Column = 19
|   Unsupported compiler directive.
|
| CDEC$             NOVECTOR
|                   ^        
| cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 655, Column = 19
|   Conditional compilation has unexpected syntax.  Expected conditional
| compilation directive.
|
| CDIR$          NEXTSCALAR
|                ^          
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 678, Column = 16
|   Unsupported compiler directive.
|
| CDIR$          NEXT SCALAR
|                ^          
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 680, Column = 16
|   Unsupported compiler directive.
|
| CDEC$          NOVECTOR
|                ^        
| cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 682, Column = 16
|   Conditional compilation has unexpected syntax.  Expected conditional
| compilation directive.

Although they might be interpreted as special directives by some
compilers, there lines are still nothing more than comments.  I don't
understand why a compiler would ever fail on an unrecognized
directive.

| f90: Copyright Absoft Corporation 1994-2004; Absoft Fortran Compiler Version
| 9.0a

Hmm.  This must be your problem.  Why not use gfortran to compile the
Fortran bits?  Or, if you really feel the need to use this compiler,
then maybe there is a switch to tell it to treat all comments as
comments and not try to recognize them as compiler directives?

jwe
_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Octave 3.0.3 compile error in dtgevc.f

per42195
Thanks a lot John,

I just commented those lines away and it worked...(the compliation, at least :)

However, I ran into a new error so I tried to change the f77 compiler to gcc and now I got it running. Nice!

regards

Per




On Wed, Jan 21, 2009 at 4:45 PM, John W. Eaton <[hidden email]> wrote:
On 21-Jan-2009, per42195 wrote:

|
| Dear all,
|
| I'm trying to compile octave 3.0.3 for Linux CentOS 5. I ran configure and
| then make, and I run in to the following compiler messages (a lot of files
| are compiled OK before this), see below:
|
| Not knowing too much about fortran, I really need help here
|
| regards
|
| Per
|
| f77 -c -fPIC -O dtgevc.f -o pic/dtgevc.o
|
| CDIR$          NEXTSCALAR
|                ^
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 637, Column = 16
|   Unsupported compiler directive.
|
| CDIR$          NEXT SCALAR
|                ^
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 639, Column = 16
|   Unsupported compiler directive.
|
| CDEC$          NOVECTOR
|                ^
| cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 641, Column = 16
|   Conditional compilation has unexpected syntax.  Expected conditional
| compilation directive.
|
| CDIR$             NEXTSCALAR
|                   ^
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 651, Column = 19
|   Unsupported compiler directive.
|
| CDIR$             NEXT SCALAR
|                   ^
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 653, Column = 19
|   Unsupported compiler directive.
|
| CDEC$             NOVECTOR
|                   ^
| cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 655, Column = 19
|   Conditional compilation has unexpected syntax.  Expected conditional
| compilation directive.
|
| CDIR$          NEXTSCALAR
|                ^
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 678, Column = 16
|   Unsupported compiler directive.
|
| CDIR$          NEXT SCALAR
|                ^
| cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 680, Column = 16
|   Unsupported compiler directive.
|
| CDEC$          NOVECTOR
|                ^
| cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 682, Column = 16
|   Conditional compilation has unexpected syntax.  Expected conditional
| compilation directive.

Although they might be interpreted as special directives by some
compilers, there lines are still nothing more than comments.  I don't
understand why a compiler would ever fail on an unrecognized
directive.

| f90: Copyright Absoft Corporation 1994-2004; Absoft Fortran Compiler Version
| 9.0a

Hmm.  This must be your problem.  Why not use gfortran to compile the
Fortran bits?  Or, if you really feel the need to use this compiler,
then maybe there is a switch to tell it to treat all comments as
comments and not try to recognize them as compiler directives?

jwe


_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave