<div dir="ltr"><div dir="ltr"><div>================================================================================</div><div>Starting Configure Run at Tue Mar 19 11:53:05 2019</div><div>Configure Options: --prefix=/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug</div><div>Working directory: /home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/externalpackages/git.slepc</div><div>Python version:</div><div>2.7.9 (default, Sep 25 2018, 20:42:16) </div><div>[GCC 4.9.2]</div><div>make: /usr/bin/make</div><div>PETSc source directory: /home/slurm_local/e200781/petsc-3.10.4</div><div>PETSc install directory: /home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug</div><div>PETSc version: 3.10.4</div><div>PETSc architecture: arch-linux2-c-debug</div><div>SLEPc source directory: /home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/externalpackages/git.slepc</div><div>SLEPc install directory: /home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug</div><div>SLEPc version: 3.10.1</div><div>================================================================================</div><div>Checking PETSc installation...</div><div>#include "petscsnes.h"</div><div>int main() {</div><div>Vec v; Mat m; KSP k;</div><div>PetscInitializeNoArguments();</div><div>VecCreate(PETSC_COMM_WORLD,&v);</div><div>MatCreate(PETSC_COMM_WORLD,&m);</div><div>KSPCreate(PETSC_COMM_WORLD,&k);</div><div>return 0;</div><div>}</div><div>make[2]: Entering directory '/tmp/slepc-2F1MtJ'</div><div>/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/bin/mpicc -o checklink.o -c -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g3 -I/home/slurm_local/e200781/petsc-3.10.4/include -I/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/include `pwd`/checklink.c</div><div>/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/bin/mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g3 -o checklink checklink.o -Wl,-rpath,/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/lib -L/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/lib -Wl,-rpath,/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/lib -L/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/lib -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -Wl,-rpath,/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -Wl,-rpath,/lib/x86_64-linux-gnu -L/lib/x86_64-linux-gnu -lpetsc -lopenblas -lparmetis -lmetis -lm -lX11 -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl</div><div>/usr/bin/ld: warning: libmpi.so.0, needed by /home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/lib/libopenblas.so, may conflict with libmpi.so.40</div><div>/usr/bin/ld: warning: libmpi.so.0, needed by /home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/lib/libopenblas.so, may conflict with libmpi.so.40</div><div>/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/lib/libpetsc.so: undefined reference to `MatPartitioningParmetisSetRepartition'</div><div>/home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/lib/libpetsc.so: undefined reference to `MatPartitioningCreate_Parmetis'</div><div>collect2: error: ld returned 1 exit status</div><div>makefile:2: recipe for target 'checklink' failed</div><div>make[2]: *** [checklink] Error 1</div><div>make[2]: Leaving directory '/tmp/slepc-2F1MtJ'</div><div><br></div><div>ERROR: Unable to link with PETSc</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Jose E. Roman <<a href="mailto:jroman@dsic.upv.es">jroman@dsic.upv.es</a>>, 19 Mar 2019 Sal, 13:49 tarihinde şunu yazdı:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Correction: the correct path is $PETSC_DIR/$PETSC_ARCH/externalpackages/git.slepc/$PETSC_ARCH/lib/slepc/conf/configure.log<br>
<br>
<br>
<br>
> El 19 mar 2019, a las 11:46, Jose E. Roman via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> escribió:<br>
> <br>
> And what is in $SLEPC_DIR/arch-linux2-c-debug/lib/slepc/conf/configure.log ?<br>
> Jose<br>
> <br>
>> El 19 mar 2019, a las 11:41, Eda Oktay via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> escribió:<br>
>> <br>
>> This is slepc.log:<br>
>> <br>
>> Checking environment... done<br>
>> Checking PETSc installation... <br>
>> ERROR: Unable to link with PETSc<br>
>> ERROR: See "arch-linux2-c-debug/lib/slepc/conf/configure.log" file for details<br>
>> <br>
>> <br>
>> <br>
>> Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>>, 19 Mar 2019 Sal, 13:36 tarihinde şunu yazdı:<br>
>> On Tue, Mar 19, 2019 at 6:31 AM Eda Oktay via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br>
>> Hello,<br>
>> <br>
>> I am trying to install PETSc with following configure options:<br>
>> <br>
>> ./configure --download-openmpi --download-openblas --download-slepc --download-cmake --download-metis --download-parmetis<br>
>> <br>
>> Compilation is done but after the following command, I got an error:<br>
>> <br>
>> make PETSC_DIR=/home/slurm_local/e200781/petsc-3.10.4 PETSC_ARCH=arch-linux2-c-debug all<br>
>> <br>
>> *** Building slepc ***<br>
>> **************************ERROR*************************************<br>
>> Error building slepc. Check arch-linux2-c-debug/lib/petsc/conf/slepc.log<br>
>> <br>
>> We need slepc.log<br>
>> <br>
>> Thanks,<br>
>> <br>
>> Matt<br>
>> <br>
>> ********************************************************************<br>
>> /home/slurm_local/e200781/petsc-3.10.4/arch-linux2-c-debug/lib/petsc/conf/petscrules:46: recipe for target 'slepcbuild' failed<br>
>> make[1]: *** [slepcbuild] Error 1<br>
>> make[1]: Leaving directory '/home/slurm_local/e200781/petsc-3.10.4'<br>
>> **************************ERROR*************************************<br>
>> Error during compile, check arch-linux2-c-debug/lib/petsc/conf/make.log<br>
>> Send it and arch-linux2-c-debug/lib/petsc/conf/configure.log to <a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a><br>
>> ********************************************************************<br>
>> makefile:30: recipe for target 'all' failed<br>
>> make: *** [all] Error 1<br>
>> <br>
>> How can I fix the problem?<br>
>> <br>
>> Thank you,<br>
>> <br>
>> Eda<br>
>> <br>
>> <br>
>> -- <br>
>> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
>> -- Norbert Wiener<br>
>> <br>
>> <a href="https://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br>
> <br>
<br>
</blockquote></div>