Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

cxml usage

ctica
Beginner
631 Views
I am trying to call LAPACK routines from my Fortran program. During compilation, I got the error message: Cannot open include file 'cxml_include.f90'. What is the corrective action needed or what is the proper way to use cxml? I beleive the environment variables and path are properly set. Thank you very much for your help.
0 Kudos
3 Replies
Steven_L_Intel1
Employee
631 Views
If you are using Developer Studio, go to Tools..Options..Directories..Include Files and make sure that C:Program FilesMicrosoft Visual StudioDF98CXMLINCLUDE is listed. If not, add it. Obviously, adjust the path if you installed somewhere else.

If you are building from the command line, the "Fortran Command Prompt" session should automatically add this to the INCLUDE environment variable. However, an error in DFVARS.BAT (found in the DF98BIN folder) in some versions of CVF may prevent this from happening. Edit DFVARS.BAT and make sure that the line after :cleanup looks like this:

if exist "%DFDir%CXMLLIBCXMLVARS.BAT" call "%DFDir%CXMLLIBCXMLVARS.BAT"

with the quotes around the paths.

Steve
0 Kudos
ctica
Beginner
631 Views
Sorry for the post. I discovered my error, which is in the path specification.

I found that the run times of the LAPACK CXML LU decomposition routines are no faster than my normal Fortran routines. Any comments?
0 Kudos
Steven_L_Intel1
Employee
631 Views
Not from me. Use whichever you think best.

Steve
0 Kudos
Reply