- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wrote simple test program like HelloWorld of ScaLapack, then tried to compile withwith MKL 10.3 (C++ Composer XE-2011)
but unknown link error occurred.
ipo: warning #11021: unresolved symbol: for_write_seq_fmt
1> Referenced in mkl_scalapack_lp64.lib(pxerbla.obj)
1>ipo: warning #11021: unresolved symbol: for_write_seq_fmt_xmit
1> Referenced in mkl_scalapack_lp64.lib(pxerbla.obj)
link libraries are:
mkl_core.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_blas95_lp64.lib mkl_lapack95_lp64.lib mkl_scalapack_lp64.lib mkl_blacs_mpich2_lp64.lib libiomp5md.lib mpi.lib cxx.lib
Seems mkl_scalapack_lp64.lib uses for_write_seq_fmt funciton, but I cannot found out which library contains this symbol.
my question is:
[1] how to avoid link error using ScaLapack on MKL?
[2] Is there any sample code of ScaLapack on MKL?
Thanks in advance
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
I tried both MKL Linker Adviser and exmplaes you mentioned.
I used output of MKL Linker Adviser, but results was same.
(still causes link error)
Also, I tried to compleexamples/pblasc like following, but seems that it needs fortran compiler (ifort)
---------------------
C:\tmp\scalapack>nmake arch=intel64 mpi=mpich2 mpidir=C:\MPICH2 libdir="c:\Program Files (x86)\intel\ComposerXE-2011\mkl" libtype=static exe
---------------------
I installed MPICH2 on C:\MPICH2 directory and it works with no problem.
then, nmake stopped with following error message:
---------------------
Microsoft Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
if not exist "obj_intel64_static_mpich2_lp64" mkdir "obj_intel64_static_mpich2_lp64"
ifort /c /O3 /w .\psludriver.f /object:obj_intel64_static_mpich2_lp64\psludriver.obj
(here reports error like "cannot found ifort")
---------------------
I bought C/C++ version of Compose XE-2011. (no fortran compiler included version)
this means to compile those example,it needs ifort.Am I wrong?
(Actually, the subdirectories under examples/pblasc directory, there are lots of .f files)
Takuya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry. I got confused.
there was no .f files under mkl/examples/pblasc/source directory.
(the above .f I mentioned is under mkl/tests/scalapack directory)
I'll try pblasc exmple.
Takuya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
everythings work with no problem. (link error disappeared)
and also pblasc example has successfully compiled and executed.
Thanks.
Takuya
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page