Intel® graphics drivers and software, compatibility, troubleshooting, performance and optimization
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
18291 Discussions

Graphics routine does not compile

New Contributor I

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
Black Belt

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