Friday, November 27, 2009

Intel MKL compilation options

Intel has published the Math Kernel Library Link Line Advisor which helps to find which link line to use for the specific compiler, math library and MPI version.

For example, for Linux on IA64 architecture with Intel compilers, ScaLAPACK and MPICH2 it will generate the following link line:

-L$MKLPATH -lmkl_scalapack_ilp64 $MKLPATH/libmkl_solver_ilp64.a -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_ilp64 -Wl,--end-group -openmp -lpthread

1 comment:

  1. Hello
    You have a useful blog. I appreciate it.
    I have a big problem. I don't know how I can compile different softwares like SIESTA and ESPRESSO . I don't know how to provide a shell script to run jobs using different softwares. I don't know how to find the architecture of machine I am working with. Actually, I can use softwares like VASP and SIESTA if someone else has compiled them before. What is your suggestion? Where should I start my tries to learn them? Most of times the manuals and tutorials are not helpful. Can you write something about writing script shells or finding the architecture of machines and finding library codes and functions to link them to softwares?
    thank you.

    ReplyDelete

Note: Only a member of this blog may post a comment.