Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
88 Views

Graphics routine does not compile

why wont this compile ?

 
    subroutine xplot()
    use plplot
    implicit  NONE
    call plinit
    call plend
    end subroutine
 
it crashes on line 2.  Error  #7002.
But that is what you give in your example 11.2.2
0 Kudos
1 Reply
Highlighted
Black Belt
78 Views

Bill, I suspect that there are very few users in this forum who use Fortran. 

When you wish to compile a Fortran source file that contains USE statements, the corresponding module files must exist. These module files (*.mod) may be provided by Intel and be present in the compiler's include sub-tree; or, as in this case, you have to have generated the file plplot.mod when you installed or built the PLPLOT library. 

By the way, the compiler didn't "crash", it ended normally, after notifying you of reasons for its inability to proceed.

xplt.f90(2): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PLPLOT]
    use plplot
--------^
0 Kudos