[petsc-users] deactivating x11 in PETSc 3.13.0 with pastix/hwloc

Alfredo Jaramillo ajaramillopalma at gmail.com
Mon Apr 6 12:02:09 CDT 2020


Sure, here it is.
thx

On Mon, Apr 6, 2020 at 1:59 PM Matthew Knepley <knepley at gmail.com> wrote:

> On Mon, Apr 6, 2020 at 12:55 PM Alfredo Jaramillo <
> ajaramillopalma at gmail.com> wrote:
>
>> hello everyone,
>>
>> I have a fresh installation of the 3.13.0 version with pastix. Like with
>> previous versions, I'm using the options
>>
>> --with-x11=0 --with-x=0 --with-windows-graphics=0
>>
>> to disable X11
>>
>> however, when compiling my program foo and doing
>>
>> $ ldd foo
>>
>> between the linked libraries there appear:
>> libXNVCtrl.so.0 and libX11.so.6
>>
>> the first one related to NVIDIA. I observed that this does not happen
>> when installing PETSc without hwloc. In this new version, PETSc requires to
>> install hwloc when trying to install pastix. In previous versions of PETSc
>> (eg 3.11.2) that wasn't necessary.
>>
>> I'm working in a cluster where I have no access to these X11-related
>> libraries and that's why I need them not be linked. Is it there some way to
>> disable X11 when installing hwloc? maybe enforcing some configuration
>> variables when installing it through petsc or installing it independently?
>>
>
> Can you send configure.log?
>
>   Thanks,
>
>      Matt
>
>
>> thanks a lot!
>>
>> Below the configuration command of the two installations I've tried with
>> the 3.13.0 version.
>>
>> =================== WITH PASTIX ===================
>>
>> ./configure --with-make-np=20
>> --with-petsc-arch=x64go-3.13-openmpi-4.0.1-pastix-64 --with-debugging=0
>> --doCleanup=0 \
>> --with-mpi=1 \
>> --with-valgrind=1 --with-valgrind-dir=$PATH_TO_VALGRIND/valgrind-3.15.0 \
>> --download-scalapack \
>> --download-openblas \
>> --download-mumps \
>> --download-superlu_dist \
>> --download-metis \
>> --download-parmetis \
>> --download-ptscotch \
>> --download-hypre \
>>
>> *--download-pastix \--download-hwloc \*
>> --with-64-bit-indices=1 \
>> LDFLAGS=$LDFLAGS CPPFLAGS=$CPPFLAGS \
>> --with-cxx-dialect=C++11 \
>> --with-x11=0 --with-x=0 --with-windows-graphics=0 \
>> COPTFLAGS="-O3 -march=native -mtune=native" \
>> CXXOPTFLAGS="-O3 -march=native -mtune=native" \
>> FOPTFLAGS="-O3 -march=native -mtune=native"
>>
>> =================== WITHOUT PASTIX ===================
>>
>> the same as above but the options "--download-pastix --download-hwloc"
>>
>> ======================================================
>>
>>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>
> https://www.cse.buffalo.edu/~knepley/
> <http://www.cse.buffalo.edu/~knepley/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200406/d7fb8b58/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 7698102 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200406/d7fb8b58/attachment-0001.bin>


More information about the petsc-users mailing list