Greetings all dealii users. This is actually wrong issue, since this
doesnt concern dealii package. This works excellent for me, as standalone.

...but ..

Ahem, i am pretty desperate right now ( let me rephrase it: DESPERATE,
correspondence doesnt have a volume indicator ... I wish sometimes ... ),
i dont understand the error, need the explicit compiler instruction for
step-18, since i am merging two packages, i am using wmake, allowing an
easy way to combine several packages than make can offer. The problem is
that i must be able to get all dependencies and correct linking.

I patched 6.1 with copy_from and add for matrices as suggested by
W.Bangerth (easy tops 1 hours work but compiling, sigh, no comment). I
recompiled and was about to test it on my combined packages code, FSI if
you want know, FVM combined with FEM, the result gave undefined reference.

ERROR list:
>> 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]

END of list!

So started to isolate the problem by encapsulate the step-18.cc into my
package and i recieved the same undefined error in linking, the second
approach was to compile step-18 using same compiler but using make under
deal.ii, this resulted into compiled .o file which i explicitly added to
wmake dependency list and the compilation was succcessfule.

Conclusion from this is that i am missing an instruction, path but i dont
understand its origin.

Please could someone help me, my time on this department is running out, i
need a solution.

Best Regard

Johan



_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to