Re: intel compiler problem
From: Matthew Nobes (manobes_at_sfu.ca)
Date: 10/16/03
- Next message: Gerardo Cisneros: "Re: Segmentation Fault"
- Previous message: José Rui Faustino de Sousa: "Re: Rounding error when doing float-to-integer"
- In reply to: Richard Maine: "Re: intel compiler problem"
- Next in thread: Dr Chaos: "Re: intel compiler problem"
- Reply: Dr Chaos: "Re: intel compiler problem"
- Reply: Richard Maine: "Re: intel compiler problem"
- Reply: Herman D. Knoble: "Re: intel compiler problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Oct 2003 21:11:41 +0000 (UTC)
Richard Maine <nospam@see.signature> wrote:
> Matthew Nobes <manobes@sfu.ca> writes:
>> master_vertex_list(count1)%entry_list(count2)%term_list(count3)%bac_label = bac_mom_label
>> ^
>> Error 24 at (320:gluon_ops/plaq_act_0b_2d.f90) : syntax error
> This isn't enough context to tell much. The error message seems
> pretty uninformative, but based solely on what it is pointing to, it
> sounds somewhat like it doesn't recognize that these are derived
> type objects (and thus that the % doesn't make sense). But I could
> be off base on that.
> Declarations are absolutely critical to diagnosing compilation
> problems like this. Just seeing the isolated code line doesn't help
> much. I'd need to see the declarations of all relevant things to be
> of much help here...and preferably as part of a compilable sample
> instead of as isolated lines.
Okay, I think the problem is that I'm using allocateable arrays of
defined types. I have managed to duplicate the first of this long
chain of syntax errors with the following test code
**BEGIN TEST CODE**
module test
implicit none
type, private :: exponant_entry
integer :: index
end type exponant_entry
type, private :: sub_list_entry
type(exponant_entry), dimension(:), allocatable :: term_list
end type sub_list_entry
end module test
**END TEST CODE**
I am trying to compile this with just the -c flag and I get
**SCREEN OUTPUT**
matt@immoland:~/work/sdb$ if90 -c test.f90
module TEST
type(exponant_entry), dimension(:), allocatable :: term_list
^
Error 24 at (8:test.f90) : syntax error
1 Error
compilation aborted for test.f90 (code 1)
**SCREEN OUTPUT**
I'm at a loss. Like I mentioned in my last post, this compiles with the
portland group f90 compiler without error. As far as I can tell it's
proper f90 style.
-- Matthew Nobes c/o Physics Dept. Simon Fraser University, 8888 University Drive Burnaby, B.C., Canada http://burbland.phys.sfu.ca/~matt
- Next message: Gerardo Cisneros: "Re: Segmentation Fault"
- Previous message: José Rui Faustino de Sousa: "Re: Rounding error when doing float-to-integer"
- In reply to: Richard Maine: "Re: intel compiler problem"
- Next in thread: Dr Chaos: "Re: intel compiler problem"
- Reply: Dr Chaos: "Re: intel compiler problem"
- Reply: Richard Maine: "Re: intel compiler problem"
- Reply: Herman D. Knoble: "Re: intel compiler problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|