replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - unknown type 17
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

unknown type 17

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: N�rnberg, Germany

PostPosted: Thu Jul 14, 2011 4:32 pm    Post subject: unknown type 17 Reply with quote

In debug mode without executing any commands sdbg.exe reports the following message:

unknown type 17

What is the meaning of this warning? Later in the program the debugger report:

Error 416, Bad request for stack memory

Are the messages perhaps somehow related. The code I am trying was mainly developed using gfortran where it works without any problems.

Some advice or some hints will be really very helpful.

The first code lines are as follows:
Code:
program FEMP
    use xml_data_assem_t
    use FEMPtype
    use FEMPutil
    implicit none
    integer  :: void
    type(file_type) :: fls
    type(fpl_type) :: fpl
    type(age_type) :: age
!
    integer :: t,tn
    double precision :: pi,slave_angle

    interface
        integer function fn_draw_polygons(fls)
            use FEMPtype
            type(file_type),intent(inout) :: fls
        end function
    end interface
    interface
        subroutine initial_mesh(fls,fpl)
            use FEMPtype
            implicit none
            type(file_type),intent(in) :: fls
            type(fpl_type),intent(out) :: fpl
        end subroutine initial_mesh
    end interface
    interface
        subroutine makeneigbors(fpl)
            use FEMPtype
            implicit none
            type(fpl_type),intent(inout) :: fpl
        end subroutine makeneigbors
    end interface
    interface
        subroutine save_fpl(fls,fpl,dtheta,rr)
            use FEMPtype
            IMPLICIT NONE
            type(file_type),intent(in) :: fls
            type(fpl_type),intent(in) :: fpl
            double precision,intent(in) :: dtheta,rr
        end subroutine save_fpl
    end interface
    interface
        subroutine bld_adp_all(fpl,t,tn)
            use FEMPtype
            implicit none
            type(fpl_type),intent(inout) :: fpl
            integer :: t,tn
        end subroutine bld_adp_all
    end interface
Back to top
View user's profile Send private message
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: N�rnberg, Germany

PostPosted: Sat Jul 16, 2011 8:31 am    Post subject: Reply with quote

This seems like a very unknown message. Not even Google has an answer to unknown type 17. This message occurs even before any line of code is executed. Therefore I conclude that the answer to this should be at Silverfrost.
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 460
Location: Manchester

PostPosted: Sun Jul 17, 2011 9:32 pm    Post subject: Reply with quote

Type 17 is unknown -- what more can be said Smile

Type 17 is actually 'array', so clearly shouldn't be unknown. Has it just started happening?

It shouldn't affect the running of your program, it is just the debugger getting a bit confused and it may not display a type element correctly.
Back to top
View user's profile Send private message Visit poster's website
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: N�rnberg, Germany

PostPosted: Wed Aug 03, 2011 9:56 am    Post subject: Reply with quote

This seems to appear only when using derived types. However, until the bad request for stack memory the program runs fine.

It is a bit of an unsatisfying result since the debugger should help to detect errors in the code. In a previous thread the bebugger needed some debugging Sad . As long as it is possible to understand a message produced by the debugger the is no problem - then the message should at leat be in the help.

When working on Windows my preferred compiler is FTN95. However, on Linux we use gfortran. The code should be working with both compilers. This seems to be a problem some times.
Back to top
View user's profile Send private message
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: N�rnberg, Germany

PostPosted: Thu Aug 04, 2011 8:29 am    Post subject: Reply with quote

That is why I like FTN95 so much:

The exact same code runs without problems using gfortran. Compiling the code using FTN95 errors are detected! Writing "clean" code is much easier using FTN95. I have experience this in the past as well. Rearranging the code a bit and tracing the error with the debubbger the above mentioned messages are fixed as well.

I can only verify the results presented on http://www.polyhedron.com/pb05-win32-diagnose0html. However, when it comes to speed (very important for number cruching) FTN95 is slower than gfortran.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group