[mpich-discuss] [mpich2-dev] ask for help in mpich2
Pavan Balaji
balaji at mcs.anl.gov
Thu Mar 8 21:58:46 CST 2012
[please keep mpich-discuss cc'ed]
Did you try linking to -lxml2 or the configure option I mentioned below?
-- Pavan
On 03/06/2012 09:33 AM, sun big man wrote:
> Pavan:
> sorry to trouble you again,but i am really anxious about the matter.when
> i compile the application with -lxml,gcc tells me it can't find the
> lib,actully i do can't find the libxml.a in my os.
> when i try to compile mpiexec.c and utils.c into mpiexec.hydra with the
> five static lib myself (libhydra.a libpm.a libmpl.a libhowloc_embedded.a
> and libplpa_included.a),gcc also tells me it can't find many definations
> prefixed with xml.
> my questions are:
> 1.now that the definations are define in the system (i find them in
> header files in /usr/include/linxml2/ ),why gcc can't find them.
> 2.why the makefile in mpich2 can succeed in compiling mpiexec.hydra
> without the problem.
> thank you very much.
> Zony.
> ------------------ Original ------------------
> *From: * "Pavan Balaji"<balaji at mcs.anl.gov>;
> *Date: * Sun, Mar 4, 2012 11:50 PM
> *To: * "mpich-discuss"<mpich-discuss at mcs.anl.gov>;
> *Cc: * "sun big man"<332344727 at qq.com>;
> *Subject: * Re: [mpich2-dev] ask for help in mpich2
>
> [moving this email to mpich-discuss; mpich2-dev is only for MPICH
> developer related questions]
>
> This bug was recently fixed in MPICH2. As a temporary workaround, you
> can either configure mpich2 with --with-hydra-topolib=none or add -lxml
> to the command-line while compiling your application.
>
> -- Pavan
>
> On 03/04/2012 08:27 AM, sun big man wrote:
> > hello professions:
> > i am trying to adjust something in the code,but when i compile the
> > source files in my way,i find some functions is not defined in the
> > package mpich2-1.4,for example xmlGetIntSubset xmlNewChild and many
> > other functions prefixed with xml, in
> > mpich2-1.4/src/pm/hydra/tools/bind/hwloc/hwloc/src/topology-xml.c, the
> > source is also compiled in libhydra.a ,
> > can you tell me how mpich2 did this ,and how can i pass the problem.
> > thank you .
> > zony form china.
> > 2012.3.2
>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list