<div dir="ltr"><div>hello Satish,</div><div>adding <br></div><div>--download-hwloc-configure-arguments=--without-x</div><div>worked perfectly</div><div><br></div><div>thank you!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 6, 2020 at 2:12 PM Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">you can try:<br>
<br>
--download-pastix --download-hwloc --download-hwloc-configure-arguments=--without-x<br>
<br>
We should fix this to automatically use --with-x=0/1<br>
<br>
Satish<br>
<br>
On Mon, 6 Apr 2020, Alfredo Jaramillo wrote:<br>
<br>
> hello everyone,<br>
> <br>
> I have a fresh installation of the 3.13.0 version with pastix. Like with<br>
> previous versions, I'm using the options<br>
> <br>
> --with-x11=0 --with-x=0 --with-windows-graphics=0<br>
> <br>
> to disable X11<br>
> <br>
> however, when compiling my program foo and doing<br>
> <br>
> $ ldd foo<br>
> <br>
> between the linked libraries there appear:<br>
> libXNVCtrl.so.0 and libX11.so.6<br>
> <br>
> the first one related to NVIDIA. I observed that this does not happen when<br>
> installing PETSc without hwloc. In this new version, PETSc requires to<br>
> install hwloc when trying to install pastix. In previous versions of PETSc<br>
> (eg 3.11.2) that wasn't necessary.<br>
> <br>
> I'm working in a cluster where I have no access to these X11-related<br>
> libraries and that's why I need them not be linked. Is it there some way to<br>
> disable X11 when installing hwloc? maybe enforcing some configuration<br>
> variables when installing it through petsc or installing it independently?<br>
> <br>
> thanks a lot!<br>
> <br>
> Below the configuration command of the two installations I've tried with<br>
> the 3.13.0 version.<br>
> <br>
> =================== WITH PASTIX ===================<br>
> <br>
> ./configure --with-make-np=20<br>
> --with-petsc-arch=x64go-3.13-openmpi-4.0.1-pastix-64 --with-debugging=0<br>
> --doCleanup=0 \<br>
> --with-mpi=1 \<br>
> --with-valgrind=1 --with-valgrind-dir=$PATH_TO_VALGRIND/valgrind-3.15.0 \<br>
> --download-scalapack \<br>
> --download-openblas \<br>
> --download-mumps \<br>
> --download-superlu_dist \<br>
> --download-metis \<br>
> --download-parmetis \<br>
> --download-ptscotch \<br>
> --download-hypre \<br>
> <br>
> *--download-pastix \--download-hwloc \*<br>
> --with-64-bit-indices=1 \<br>
> LDFLAGS=$LDFLAGS CPPFLAGS=$CPPFLAGS \<br>
> --with-cxx-dialect=C++11 \<br>
> --with-x11=0 --with-x=0 --with-windows-graphics=0 \<br>
> COPTFLAGS="-O3 -march=native -mtune=native" \<br>
> CXXOPTFLAGS="-O3 -march=native -mtune=native" \<br>
> FOPTFLAGS="-O3 -march=native -mtune=native"<br>
> <br>
> =================== WITHOUT PASTIX ===================<br>
> <br>
> the same as above but the options "--download-pastix --download-hwloc"<br>
> <br>
> ======================================================<br>
> <br>
<br>
</blockquote></div>