Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error in PfemSolidMechanicsApplication #12224

Open
gaoxiangchn opened this issue Mar 25, 2024 · 6 comments
Open

Compilation error in PfemSolidMechanicsApplication #12224

gaoxiangchn opened this issue Mar 25, 2024 · 6 comments

Comments

@gaoxiangchn
Copy link

Description
Hello, everyone, I am interested in employing the PFEM in Geotechnicsand want to try the PfemSolidMechanicsApplication, However, some problem occurred. It is similar to #8765, and the #11347 proposed some solutions, unfortunately, it didn't work. but couldn't fix it. These problem codes seem to belong to older versions.

By the way, if it can not be fixed in short time, Could you give some advice on how to start apply the PFEM in Geotechnics or SolidMechanics.

Scope

  • Compilation
  • PfemSolidMechanicsApplication

To Reproduce
add the PfemSolidMechanicsApplication to configure scripts and just compile it.

Expected behavior
compilation error

Environment

  • OS: Ubuntu 22.04
  • Branch: master
  • Python 3.11
@roigcarlo
Copy link
Member

roigcarlo commented Mar 25, 2024

Hi @gaoxiangchn, PFEM/Solid applications in our repository is not being actively developed. Our main focus is on the Structural Mechanics application.

I ping @KratosMultiphysics/pfem in case someone from its maintainers can give you advice on how to find a more updated version.

@gaoxiangchn
Copy link
Author

Hi @roigcarlo, thanks for your reply, @KratosMultiphysics/pfem seems to can not open, or have some access restrictions.

@roigcarlo
Copy link
Member

Hi @gaoxiangchn, you don't have to open it, just wait for them to answer. They are notified when the group name appears in a issue

@gaoxiangchn
Copy link
Author

Thanks again

@lluis-mv
Copy link
Member

lluis-mv commented Apr 4, 2024

Hey @gaoxiangchn ,
I just created a pull request (#12247 ) fixing the compilation errors,
Ll.

@luchete80
Copy link

luchete80 commented Apr 25, 2024

Hello @gaoxiangchn !!
Formerly (on mswin) I had also trouble to build it (I made a pull request but finally it was solved). Master version is working for me right now on Ubuntu 22.04.
Only thing I had to add in configure (cmake DUSE_TRIANGLE_NONFREE_TPL flag) was:

cmake -H"${KRATOS_SOURCE}" -B"${KRATOS_BUILD}/${KRATOS_BUILD_TYPE}" \
-DUSE_MPI=OFF                                                       \
-DUSE_TRIANGLE_NONFREE_TPL=ON                                      \
-DUSE_EIGEN_MKL=OFF                                                 \
-DKRATOS_GENERATE_PYTHON_STUBS=ON    

On my site here I have described all steps.
If you cannot buil master branch,this is my fork with some mods.
This is the PR:
Here #12311 is a list of modifications I made in order to use Pfem.

Problem is right now is crashing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants