[petsc-users] Problem to configure

Fazlul Huq huq2090 at gmail.com
Tue Nov 20 18:06:14 CST 2018


Thanks.
./configure --download-hypre  --download-mpich works well.
But when I run the follwoing:
make PETSC_DIR=/home/huq2090/petsc-3.10.2 PETSC_ARCH=arch-linux2-c-debug all

I got following errors:
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
CLINKER arch-linux2-c-debug/lib/libpetsc.so.3.10.2
arch-linux2-c-debug/obj/mat/impls/baij/seq/baij.o: In function
`MatCreate_SeqBAIJ':
/home/huq2090/petsc-3.10.2/src/mat/impls/baij/seq/baij.c:3049: undefined
reference to `MatConvert_AIJ_HYPRE'
/usr/bin/ld: arch-linux2-c-debug/obj/mat/impls/baij/seq/baij.o: relocation
R_X86_64_PC32 against undefined hidden symbol `MatConvert_AIJ_HYPRE' can
not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
gmakefile:86: recipe for target
'arch-linux2-c-debug/lib/libpetsc.so.3.10.2' failed
make[2]: *** [arch-linux2-c-debug/lib/libpetsc.so.3.10.2] Error 1
make[2]: Leaving directory '/home/huq2090/petsc-3.10.2'
/home/huq2090/petsc-3.10.2/lib/petsc/conf/rules:81: recipe for target
'gnumake' failed
make[1]: *** [gnumake] Error 2
make[1]: Leaving directory '/home/huq2090/petsc-3.10.2'
**************************ERROR*************************************
  Error during compile, check arch-linux2-c-debug/lib/petsc/conf/make.log
  Send it and arch-linux2-c-debug/lib/petsc/conf/configure.log to
petsc-maint at mcs.anl.gov
********************************************************************
makefile:30: recipe for target 'all' failed
make: *** [all] Error 1
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

Again, the log file is attached herewith.

Note: I have moose installed in my laptop but I have commented out from
bashrc file
#moose
#if [ -f /opt/moose/environments/moose_profile ]; then
 #   . /opt/moose/environments/moose_profile
#fi

Thanks.
Sincerely,
Huq

On Tue, Nov 20, 2018 at 4:59 PM Balay, Satish <balay at mcs.anl.gov> wrote:

> As the message suggests - you don't have MPI installed - so run:
>
> ./configure --download-hypre  --download-mpich
>
> Satish
>
> On Tue, 20 Nov 2018, Fazlul Huq via petsc-users wrote:
>
> > Hello PETSc Developers,
> >
> > I am trying to configure PETSc with ./configure --download-hypre
> > but I got the following message on terminal:
> >
> > ========================================================================
> >              Configuring PETSc to compile on your system
> >
> > =========================================================================
> > TESTING: check from
> > config.libraries(config/BuildSystem/config/libraries.py:158)
> >
> >
> *******************************************************************************
> >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> > details):
> >
> -------------------------------------------------------------------------------
> > Unable to find mpi in default locations!
> > Perhaps you can specify with --with-mpi-dir=<directory>
> > If you do not want MPI, then give --with-mpi=0
> > You might also consider using --download-mpich instead
> >
> *******************************************************************************
> >
> > The log file is attached herewith.
> >
> > Thanks.
> > Sincerely,
> > Huq
> >
>
>

-- 

Fazlul Huq
Graduate Research Assistant
Department of Nuclear, Plasma & Radiological Engineering (NPRE)
University of Illinois at Urbana-Champaign (UIUC)
E-mail: huq2090 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181120/b779c768/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 101932 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181120/b779c768/attachment-0001.bin>


More information about the petsc-users mailing list