- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
fortcom: Warning: /opt/apps/intel/10.1.015/mkl/include/mkl_rci.fi, line 28: Bad # preprocessor line
#define DCG(N, X, NRHS, B, RCI_REQUEST, IPAR, DPAR, TMP) DCGMRHS(N, X, NRHS, B, RCI_REQUEST, IPAR, DPAR, TMP)
-^
fortcom: Warning: /opt/apps/intel/10.1.015/mkl/include/mkl_rci.fi, line 29: Bad # preprocessor line
#define DCG_INIT(N, X, NRHS, B, METHOD, RCI_REQUEST, IPAR, DPAR, TMP) DCGMRHS_INIT(N, X, NRHS, B, METHOD, RCI_REQUEST, IPAR, DPAR, TMP)
-^
fortcom: Warning: /opt/apps/intel/10.1.015/mkl/include/mkl_rci.fi, line 30: Bad # preprocessor line
#define DCG_CHECK(N, X, NRHS, B, RCI_REQUEST, IPAR, DPAR, TMP) DCGMRHS_CHECK(N, X, NRHS, B, RCI_REQUEST, IPAR, DPAR, TMP)
-^
fortcom: Warning: /opt/apps/intel/10.1.015/mkl/include/mkl_rci.fi, line 31: Bad # preprocessor line
#define DCG_GET(N, X, NRHS, B, RCI_REQUEST, IPAR, DPAR, TMP, ITERCOUNT) DCGMRHS_GET(N, X, NRHS, B, RCI_REQUEST, IPAR, DPAR, TMP, ITERCOUNT)
-^
fortcom: Error: /opt/apps/intel/10.1.015/mkl/include/mkl_rci.fi, line 33: Syntax error, found '**' when expecting one of: => = . ( : %
C** #DEFINE
-^
fortcom: Error: /opt/apps/intel/10.1.015/mkl/include/mkl_rci.fi, line 41: Syntax error, found '**' when expecting one of: => = . ( : %
C** Function prototypes
-^
fortcom: Error: /opt/apps/intel/10.1.015/mkl/include/mkl_rci.fi, line 34: A specification statement cannot appear in the executable section.
integer TR_SUCCESS
------^
fortcom: Error: /opt/apps/intel/10.1.015/mkl/include/mkl_rci.fi, line 35: A specification statement cannot appear in the executable section.
parameter (TR_SUCCESS = 1501)
------^
I use the command
ifort -o test -L/opt/apps/intel/10.1.015/mkl/lib/em64t -I/opt/apps/intel/10.1.015/mkl/include -lmkl_lapack -lmkl -lguide -lpthread -warn test.f90
to get this.
Can anybody help me with this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm completely agreed with Tim18's suggestion about newest versions of MKL, for example MKL 10.2 Update 1 is available now.
However, 10.1.0.015 version is also may be used. Please, take a look at cg_jacobi_precon.f example in "examples/solver/source" directory. I used Intel Fortran Compiler Professional version 11.1.038 and the next command line to build this sample:
ifort -w -I/opt/intel/mkl/10.1.0.015/include -fpp cg_jacobi_precon.f -L/opt/intel/mkl/10.1.0.015/lib/em64t/ -lmkl_solver_lp64 -lmkl_intel_lp64 -Wl,--start-group -lmkl_intel_thread -lmkl_core -Wl,--end-group -lguide -lpthread -lm -o cg_jacobi_precon.out
Probably it will help you.
If not, could you pleaseattach your test case?
Best regards,
Art
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If Tim's suggestion wouldn't help (I'm not sure whether this applies to your version). There was an issue with that and was resolved (around Jan of this year). As far as I can remember. To workaround you could remove that lines from the file (make a copy first).
A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm completely agreed with Tim18's suggestion about newest versions of MKL, for example MKL 10.2 Update 1 is available now.
However, 10.1.0.015 version is also may be used. Please, take a look at cg_jacobi_precon.f example in "examples/solver/source" directory. I used Intel Fortran Compiler Professional version 11.1.038 and the next command line to build this sample:
ifort -w -I/opt/intel/mkl/10.1.0.015/include -fpp cg_jacobi_precon.f -L/opt/intel/mkl/10.1.0.015/lib/em64t/ -lmkl_solver_lp64 -lmkl_intel_lp64 -Wl,--start-group -lmkl_intel_thread -lmkl_core -Wl,--end-group -lguide -lpthread -lm -o cg_jacobi_precon.out
Probably it will help you.
If not, could you pleaseattach your test case?
Best regards,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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