On Thu, Jul 24, 2014 at 5:33 PM, Kai Song <[email protected]> wrote: > Hi Satish, > > Thanks for the quick response. I attached the make.log in this email, and > a quick glance, I didn't see any obvious errors. >
This never built the MUMPS directory, even though you have PETSC_HAVE_MUMPS defined. I can see two possible reasons for this: 1) You distribution as missing files 2) You have two copies of PETSc fighting each other here (old PETSC_DIR?) Can you make sure you have the file mumps.c in src/mat/impls/aij/mpi/mumps Jed, how do we check what make is doing here? Matt > Please let me know if you need any additional informations. > > Thanks, > > Kai > > > > On Thu, Jul 24, 2014 at 5:17 PM, Satish Balay <[email protected]> wrote: > >> Perhaps there were errors during the build. Can you send us make.log >> for this build? >> >> Satish >> >> On Thu, 24 Jul 2014, Kai Song wrote: >> >> > Hi Petsc community, >> > >> > I just installed petsc/3.5.0 on our RHEL-6 system, with gcc/4.4.7 and >> > openmpi/1.6.5 >> > >> > The program built and installed fine, but make test failed on the >> following >> > error: >> > ================ >> > ... >> > mpicc -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas >> -g3 >> > -O0 -o ex19 ex19.o >> > -L/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib -lpetsc >> > -Wl,-rpath,/clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib >> > -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack >> > -lflapack -lfblas -lparmetis -lmetis -lX11 -lssl -lcrypto -lpthread >> > -L/global/software/sl-6.x86_64/modules/gcc/4.4.7/openmpi/1.6.5-gcc/lib >> > -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -lmpi_f90 -lmpi_f77 -lgfortran >> -lm >> > -lmpi_cxx -lstdc++ -lmpi_cxx -lstdc++ -ldl -lmpi -lnuma -lrt -lnsl >> -lutil >> > -lgcc_s -lpthread -ldl >> > /clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so: >> > undefined reference to `MatGetFactor_aij_mumps' >> > /clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so: >> > undefined reference to `MatGetFactor_baij_mumps' >> > /clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so: >> > undefined reference to `MatPartitioningCreate_Parmetis' >> > /clusterfs/voltaire/home/software/modules/petsc/3.5.0/lib/libpetsc.so: >> > undefined reference to `MatGetFactor_sbaij_mumps' >> > collect2: ld returned 1 exit status >> > gmake[3]: [ex19] Error 1 (ignored) >> > ... >> > ================ >> > >> > I used the following configure line: >> > ./configure --prefix=/software/modules/petsc/3.5.0 >> > --download-fblaslapack=1 --download-mumps=1 --download-parmetis=1 >> > --download-scalapack --download-metis=1 >> > >> --with-mpi-dir=/global/software/sl-6.x86_64/modules/gcc/4.4.7/openmpi/1.6.5-gcc/ >> > >> > Is there anything that I am missing in the built process? Any help >> would be >> > great appreciated! >> > >> > Thanks in advance! >> > >> > Kai >> > >> > >> >> > > > -- > Kai Song > <[email protected]> 1.510.495.2180 > 1 Cyclotron Rd. Berkeley, CA94720, MS-50B 3209 > High Performance Computing Services (HPCS) > Lawrence Berkeley National Laboratory - http://scs.lbl.gov > -- 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
