- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
with the quotes around the paths.
Steve
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
I found that the run times of the LAPACK CXML LU decomposition routines are no faster than my normal Fortran routines. Any comments?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not from me. Use whichever you think best.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page