[petsc-users] [petsc-maint #54896] Re: Error linking with HYPRE

Satish Balay balay at mcs.anl.gov
Thu Oct 21 11:47:43 CDT 2010


> --with-hypre-dir=/home/svu/g0306332/lib/hypre-2.6.0b_atlas5

Looks like this hypre is built without fortran - or with a worng [to
you] fortran compiler.

Suggest using --download-hypre=1 instead.

Satish

On Thu, 21 Oct 2010, Wee-Beng Tay wrote:

> [atlas5-c49]$ make
> /app1/mvapich2/current/bin/mpif90 -c -r8 -save -w90 -w -w95    -O3   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/petsc-3.1-p5/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include    -o global.o global.F90
> /app1/mvapich2/current/bin/mpif90 -c -r8 -save -w90 -w -w95    -O3   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/petsc-3.1-p5/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include    -o flux_area.o flux_area.F90
> /app1/mvapich2/current/bin/mpif90 -r8  -w95 -c -O3 -save airfoil.f90
> /app1/mvapich2/current/bin/mpif90 -w95 -c -O3 -save grid.f90
> /app1/mvapich2/current/bin/mpif90 -r8  -w95 -c -O3 -save bc.f90
> /app1/mvapich2/current/bin/mpif90 -r8  -w95 -c -O3 -save bc_impl.f90
> /app1/mvapich2/current/bin/mpif90 -r8  -w95 -c -O3 -save bc_semi.f90
> /app1/mvapich2/current/bin/mpif90 -r8  -w95 -c -O3 -save set_matrix.f90
> /app1/mvapich2/current/bin/mpif90 -r8  -w95 -c -O3 -save inter_step.f90
> /app1/mvapich2/current/bin/mpif90 -c -r8 -save -w90 -w -w95    -O3   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/petsc-3.1-p5/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include    -o mom_disz.o mom_disz.F90
> /app1/mvapich2/current/bin/mpif90 -c -r8 -save -w90 -w -w95    -O3   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/petsc-3.1-p5/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include    -o poisson.o poisson.F90
> /app1/mvapich2/current/bin/mpif90 -c -r8 -save -w90 -w -w95    -O3   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/petsc-3.1-p5/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include    -o hypre.o hypre.F90
> /app1/mvapich2/current/bin/mpif90 -c -r8 -save -w90 -w -w95    -O3   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/petsc-3.1-p5/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include    -o cell_data.o cell_data.F90
> /app1/mvapich2/current/bin/mpif90 -r8  -w95 -c -O3 -save fractional.f90
> /app1/mvapich2/current/bin/mpif90 -c -r8 -save -w90 -w -w95    -O3   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/petsc-3.1-p5/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include   -I/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/include -I/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/include -I/app1/mvapich2/1.4/include -I/app1/mvapich2/current/include    -o ns2d_c.o ns2d_c.F90
> /app1/mvapich2/current/bin/mpif90 -O3   -o a.out global.o grid.o flux_area.o airfoil.o bc.o  bc_impl.o bc_semi.o set_matrix.o inter_step.o mom_disz.o hypre.o poisson.o cell_data.o fractional.o ns2d_c.o /home/svu/g0306332/lib/tecio64.a /home/svu/g0306332/lib/linux64.a -Wl,-rpath,/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/lib -L/home/svu/g0306332/lib/petsc-3.1-p5/atlas5_nodebug/lib -lpetsc       -lX11 -Wl,-rpath,/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/lib -L/home/svu/g0306332/lib/hypre-2.6.0b_atlas5/lib -lHYPRE -lmpichcxx -lstdc++ -Wl,-rpath,/app1/intel/mkl/10.0.5.025/lib/em64t -L/app1/intel/mkl/10.0.5.025/lib/em64t -lmkl_lapack -lmkl -lguide -lpthread -L/app1/mvapich2/1.4/lib -L/app1/intel/Compiler/11.1/069/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -ldl -lmpich -lpthread -lrdmacm -libverbs -libumad -lrt -lgcc_s -lmpichf90 -lifport -lifcore -limf -lsvml -lm -lipgo -lirc -lirc_s -lm -lmpichcxx -lstdc++ -lmpichcxx -lstdc++ -ldl -lmpich -lpthread -lrdmacm -
 li
>  bverbs -libumad -lrt -lgcc_s -ldl 
> global.o: In function `global_data_mp_de_ini_var_':
> global.F90:(.text+0xaaf5): undefined reference to `hypre_structgriddestroy_'
> global.F90:(.text+0xab06): undefined reference to `hypre_structstencildestroy_'
> global.F90:(.text+0xab17): undefined reference to `hypre_structmatrixdestroy_'
> global.F90:(.text+0xab28): undefined reference to `hypre_structvectordestroy_'
> global.F90:(.text+0xab39): undefined reference to `hypre_structvectordestroy_'
> global.F90:(.text+0xab55): undefined reference to `hypre_structsmgdestroy_'
> global.F90:(.text+0xab6d): undefined reference to `hypre_structpfmgdestroy_'
> global.F90:(.text+0xab8e): undefined reference to `hypre_structhybriddestroy_'
> global.F90:(.text+0xaba6): undefined reference to `hypre_structbicgstabdestroy_'
> global.F90:(.text+0xabb9): undefined reference to `hypre_structgmresdestroy_'
> hypre.o: In function `hypre_mp_hypre_solver_':
> hypre.F90:(.text+0xb5): undefined reference to `hypre_structgridcreate_'
> hypre.F90:(.text+0x10f): undefined reference to `hypre_structgridsetextents_'
> hypre.F90:(.text+0x120): undefined reference to `hypre_structgridassemble_'
> hypre.F90:(.text+0x13b): undefined reference to `hypre_structstencilcreate_'
> hypre.F90:(.text+0x1c3): undefined reference to `hypre_structstencilsetelement_'
> hypre.F90:(.text+0x20e): undefined reference to `hypre_structmatrixcreate_'
> hypre.F90:(.text+0x224): undefined reference to `hypre_structmatrixsetsymmetric_'
> hypre.F90:(.text+0x235): undefined reference to `hypre_structmatrixinitialize_'
> hypre.F90:(.text+0x74d): undefined reference to `hypre_structmatrixsetboxvalues_'
> hypre.F90:(.text+0x762): undefined reference to `hypre_structmatrixassemble_'
> hypre.F90:(.text+0x77d): undefined reference to `hypre_structvectorcreate_'
> hypre.F90:(.text+0x798): undefined reference to `hypre_structvectorcreate_'
> hypre.F90:(.text+0x7a9): undefined reference to `hypre_structvectorinitialize_'
> hypre.F90:(.text+0x7ba): undefined reference to `hypre_structvectorinitialize_'
> hypre.F90:(.text+0x7ed): undefined reference to `hypre_structbicgstabcreate_'
> hypre.F90:(.text+0x803): undefined reference to `hypre_structbicgstabsettol_'
> hypre.F90:(.text+0x819): undefined reference to `hypre_structbicgstabsetlogging_'
> hypre.F90:(.text+0x83d): undefined reference to `hypre_structpcgcreate_'
> hypre.F90:(.text+0x853): undefined reference to `hypre_structpcgsetmaxiter_'
> hypre.F90:(.text+0x869): undefined reference to `hypre_structpcgsettol_'
> hypre.F90:(.text+0x87f): undefined reference to `hypre_structpcgsettwonorm_'
> hypre.F90:(.text+0x895): undefined reference to `hypre_structpcgsetrelchange_'
> hypre.F90:(.text+0x8ab): undefined reference to `hypre_structpcgsetprintlevel_'
> hypre.F90:(.text+0x8c6): undefined reference to `hypre_structhybridcreate_'
> hypre.F90:(.text+0x8dc): undefined reference to `hypre_structhybridsetdscgmaxite_'
> hypre.F90:(.text+0x8f2): undefined reference to `hypre_structhybridsetpcgmaxiter_'
> hypre.F90:(.text+0x908): undefined reference to `hypre_structhybridsettol_'
> hypre.F90:(.text+0x91e): undefined reference to `hypre_structhybridsetconvergenc_'
> hypre.F90:(.text+0x934): undefined reference to `hypre_structhybridsettwonorm_'
> hypre.F90:(.text+0x94a): undefined reference to `hypre_structhybridsetrelchange_'
> hypre.F90:(.text+0x960): undefined reference to `hypre_structhybridsetlogging_'
> hypre.F90:(.text+0x985): undefined reference to `hypre_structsmgcreate_'
> hypre.F90:(.text+0x9b6): undefined reference to `hypre_structsmgsetmemoryuse_'
> hypre.F90:(.text+0x9cc): undefined reference to `hypre_structsmgsetmaxiter_'
> hypre.F90:(.text+0x9e2): undefined reference to `hypre_structsmgsettol_'
> hypre.F90:(.text+0x9f3): undefined reference to `hypre_structsmgsetzeroguess_'
> hypre.F90:(.text+0xa09): undefined reference to `hypre_structsmgsetnumprerelax_'
> hypre.F90:(.text+0xa1f): undefined reference to `hypre_structsmgsetnumpostrelax_'
> hypre.F90:(.text+0xa35): undefined reference to `hypre_structsmgsetprintlevel_'
> hypre.F90:(.text+0xa4b): undefined reference to `hypre_structsmgsetlogging_'
> hypre.F90:(.text+0xa6f): undefined reference to `hypre_structpfmgcreate_'
> hypre.F90:(.text+0xa9c): undefined reference to `hypre_structpfmgsetmaxiter_'
> hypre.F90:(.text+0xab2): undefined reference to `hypre_structpfmgsettol_'
> hypre.F90:(.text+0xac3): undefined reference to `hypre_structpfmgsetzeroguess_'
> hypre.F90:(.text+0xad9): undefined reference to `hypre_structpfmgsetrelaxtype_'
> hypre.F90:(.text+0xaef): undefined reference to `hypre_structpfmgsetnumprerelax_'
> hypre.F90:(.text+0xb05): undefined reference to `hypre_structpfmgsetnumpostrelax_'
> hypre.F90:(.text+0xb1b): undefined reference to `hypre_structpfmgsetlogging_'
> hypre.F90:(.text+0xb53): undefined reference to `hypre_structbicgstabsetprecond_'
> hypre.F90:(.text+0xb74): undefined reference to `hypre_structbicgstabsetup_'
> hypre.F90:(.text+0xb99): undefined reference to `hypre_structpcgsetprecond_'
> hypre.F90:(.text+0xbba): undefined reference to `hypre_structpcgsetup_'
> hypre.F90:(.text+0xbd7): undefined reference to `hypre_structhybridsetprecond_'
> hypre.F90:(.text+0xbf8): undefined reference to `hypre_structhybridsetup_'
> hypre.F90:(.text+0xecc): undefined reference to `hypre_structvectorsetboxvalues_'
> hypre.F90:(.text+0xf94): undefined reference to `hypre_structvectorsetboxvalues_'
> hypre.F90:(.text+0xfa5): undefined reference to `hypre_structvectorassemble_'
> hypre.F90:(.text+0xfb6): undefined reference to `hypre_structvectorassemble_'
> hypre.F90:(.text+0xff0): undefined reference to `hypre_structbicgstabsolve_'
> hypre.F90:(.text+0x1018): undefined reference to `hypre_structpcgsolve_'
> hypre.F90:(.text+0x103b): undefined reference to `hypre_structhybridsolve_'
> hypre.F90:(.text+0x1099): undefined reference to `hypre_structvectorgetboxvalues_'
> hypre.F90:(.text+0x1190): undefined reference to `hypre_structgmressolve_'
> hypre.F90:(.text+0x11fa): undefined reference to `hypre_structgmressetprecond_'
> hypre.F90:(.text+0x121b): undefined reference to `hypre_structgmressetup_'
> hypre.F90:(.text+0x1236): undefined reference to `hypre_structgmrescreate_'
> hypre.F90:(.text+0x124c): undefined reference to `hypre_structgmressetmaxiter_'
> hypre.F90:(.text+0x1262): undefined reference to `hypre_structgmressettol_'
> hypre.F90:(.text+0x1278): undefined reference to `hypre_structgmressetprintlevel_'
> hypre.F90:(.text+0x128e): undefined reference to `hypre_structgmressetlogging_'
> make: *** [a.out] Error 1
> [atlas5-c49]$ ls /home/svu/g0306332/lib/petsc-3.1-p5/
> 
> 
> 



More information about the petsc-users mailing list