[mpich-discuss] Adding libraries to the mpicc wrapper

Matthieu Dorier matthieu.dorier at irisa.fr
Wed Jan 15 08:55:42 CST 2014


Hello, 


I have written an ADIO backend that depends on a library. So far to make the use of the library transparent when compiling a program, I added the library at line 226 of the mpicc wrapper (mpilibs=" -lmpich -lmylibrary"). I'd like to know if there is a "cleaner" way of adding it: mpicc being generated from a template, there should be a way to simply set a variable somewhere for that, shouldn't it? How is it done for other ADIO backends? 


Thank you, 


Matthieu Dorier 
PhD student at ENS Rennes 
http://people.irisa.fr/Matthieu.Dorier 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140115/552c1da3/attachment.html>


More information about the discuss mailing list