One detail further, i am using wmake, i am missing a link and honestly i dont understand the whole linking procedure, but could anyone give me explicit compile instruction for step-18 without makefile since then that would resolve my problem, i have failed figure what is missing. Well the upside of this story is that i am getting much more fluent in reading the code. However, it is late now. Bad karma.
> One detail of interest might be that i got a compiling error using this > configuration on step-18. The reason for this error seems that > PetscInitialize calls only 2 parameters while it actually requires four. > > The version of petsc i am using is 2.3.3 and deal.II 6.1. > > I cannot upgrade at the moment, i need to stay foot at 6.1. Sadly > speaking, i hate when people upgrade their stuff without compability > backwards, it is bad karma. > > The configuration i used for petsc installation, > > - no fortran compiler > - c++ language > - shared libraries > - download mpi > - download blas/lapack > - no x nor x11 > - c support > > Ah, second bad karma, it is late again ... Not good. > > Best Regards > > Johan > >> Hello all dealII users, i have reached far in my efforts to make my code >> working, no problem with the coding it is the linking of libraries and >> enviroment settings, however, the final step have made me stop at this >> ridicoulus linking message, the strange part, why only this? Could >> anyone >> tell me see what my eyes obviously must miss. >> >> Make/linuxGccDPOpt/Main.o: In function >> `dealii::PETScWrappers::MPI::Vector::operator=(dealii::PETScWrappers::MPI::Vector >> const&)': >> /home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> undefined reference to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' >> /home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> undefined reference to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' >> /home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> undefined reference to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' >> /home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> undefined reference to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' >> Make/linuxGccDPOpt/Main.o: In function >> `DynamicElastic::TopLevel<3>::solve_v()': >> /home/pi06jl6/OpenFOAM/pi06jl6-1.4.1/run/icofsi/DynamicElastic.H:767: >> undefined reference to >> `dealii::PETScWrappers::SolverCG::SolverCG(dealii::SolverControl&, >> ompi_communicator_t* const&, >> dealii::PETScWrappers::SolverCG::AdditionalData const&)' >> Make/linuxGccDPOpt/Main.o: In function >> `dealii::PETScWrappers::MPI::Vector::operator=(dealii::PETScWrappers::MPI::Vector >> const&)': >> /home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> undefined reference to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' >> /home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> undefined reference to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' >> /home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> undefined reference to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' >> /home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> undefined reference to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' >> /home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> undefined reference to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' >> Make/linuxGccDPOpt/Main.o:/home/pi06jl6/deal.II/lac/include/lac/petsc_parallel_vector.h:430: >> more undefined references to >> `dealii::PETScWrappers::MPI::Vector::reinit(ompi_communicator_t* const&, >> unsigned int, unsigned int, bool)' follow >> Make/linuxGccDPOpt/Main.o: In function `TopLevel': >> /home/pi06jl6/OpenFOAM/pi06jl6-1.4.1/run/icofsi/DynamicElastic.H:424: >> undefined reference to >> `dealii::Utilities::System::get_n_mpi_processes(ompi_communicator_t* >> const&)' >> /home/pi06jl6/OpenFOAM/pi06jl6-1.4.1/run/icofsi/DynamicElastic.H:424: >> undefined reference to >> `dealii::Utilities::System::get_this_mpi_process(ompi_communicator_t* >> const&)' >> collect2: ld returned 1 exit status >> make: *** >> [/home/pi06jl6/OpenFOAM/pi06jl6-1.4.1/applications/bin/linuxGccDPOpt/MPI] >> Error 1 >> >> Thank you! >> >> Best Regards >> >> Johan >> >> >> _______________________________________________ >> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii >> > > > _______________________________________________ > dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii > _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
