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

METIS libraries + ifort + how to install

diedro
Beginner
490 Views

Dear all,

I have a question. Has someone installed METIS libraries? 

I need to use METIS libraries on my code but I do not know how to install them and how to link them with my ifort compiler.

Any help will be very appreciated.

Thanks a lot 

0 Kudos
3 Replies
diedro
Beginner
490 Views

Dear all,

I have installed it. 

Now I have a folder in opt with some *.a file, bi file and a *.h file.

How would like to link them to my program, so when I run ifort I could use it.

How can I do?

i believe that i have to modify my bah file, like I did with mkl libraries, but I do not know how i this case.

Thanks again

0 Kudos
TimP
Honored Contributor III
490 Views

In case this is what you are asking, you would put a -I (cap-eye) directive in your compilation step pointing to the directory containing .h files and a -L directive in the link step for the .a file directory.  You also need to pay attention to search order when linking .a files.

0 Kudos
diedro
Beginner
490 Views

Dear T.,

thanks a lot. 

How can I do without put all the part of the folder where I have METIS.

Thanks

0 Kudos
Reply