[petsc-users] what is wrong?

Matthew Knepley knepley at gmail.com
Tue Mar 23 08:52:47 CDT 2021


You mpicc is somehow not linking the MPI/IO stuff?

configure:5932: /usr/local/Cellar/mpich/3.4.1_1/bin/mpicc -o conftest
-fstack-protector -fno-stack-check -Qunused-arguments -g -O0
-Wno-implicit-function-declaration
-I/usr/local/Cellar/mpich/3.4.1_1/include  conftest.c -lz -llapack -lblas
 -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/4.1.0/lib
-L/usr/local/Cellar/gcc/10.2.0_4/lib/gcc/10/gcc/x86_64-apple-darwin19/10.2.0
-L/usr/local/Cellar/gcc/10.2.0_4/lib/gcc/10/gcc/x86_64-apple-darwin19/10.2.0/../../..
-lz -llapack -lblas -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh
-lmpi -lgfortran -lquadmath -lm >&5
Undefined symbols for architecture x86_64:
  "_ADIOI_Datarep_head", referenced from:
      import-atom in libpmpi.dylib
  "_ADIOI_Datatype_iscontig", referenced from:
      import-atom in libpmpi.dylib
  "_ADIOI_Free_fn", referenced from:
      import-atom in libpmpi.dylib
  "_ADIOI_Get_byte_offset", referenced from:
      import-atom in libpmpi.dylib
  "_ADIOI_Get_eof_offset", referenced from:
      import-atom in libpmpi.dylib
  "_ADIOI_Get_position", referenced from:
      import-atom in libpmpi.dylib
  "_ADIOI_Malloc_fn", referenced from:
      import-atom in libpmpi.dylib
  "_ADIOI_Shfp_fname", referenced from:
      import-atom in libpmpi.dylib

   Matt

On Tue, Mar 23, 2021 at 9:40 AM Mark Adams <mfadams at lbl.gov> wrote:

> I rebased over main and seem to have a p4est problem.
> Thanks,
> Mark
>


-- 
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/20210323/850119e0/attachment.html>


More information about the petsc-users mailing list