Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20601 Discussions

Graphics routine does not compile

WSinc
New Contributor I
582 Views

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
mecej4
Honored Contributor III
572 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
Reply