Giter VIP home page Giter VIP logo

Comments (13)

stvdwtt avatar stvdwtt commented on July 24, 2024

Hi Andre,
I'm sorry to hear that you're running into an issue. I'll do my best to help you get up and running as soon as possible.

On Friday, someone else sent me a similar issue. I haven't tracked down what the issue is.

A couple questions to see how similar your situation is to that one:

  1. What is your operating system?
  2. Did you have MPI installed on your machine before downloading deal.II?
  3. What compiler are you using? (From your comment, I'm guessing the Intel compiler? Have you tried any others?)

from phasefield.

andreeleuterio avatar andreeleuterio commented on July 24, 2024

Hi @stvdwtt, thank you for the prompt reply.

  1. I'm on a cluster running RHEL 7.
  2. Yes, both intel's MPI and OpenMPI
  3. I used GNU and Intel to the same results

Let me know any other info I could provide

from phasefield.

stvdwtt avatar stvdwtt commented on July 24, 2024

Could you try running the deal.ii step 48 tutorial on multiple cores to make sure that the connection between deal.II and MPI works as expected? You can find the step 48 tutorial in the Resources/examples/ directory where you installed deal.II.

from phasefield.

andreeleuterio avatar andreeleuterio commented on July 24, 2024

I was able to successfully run step-48. It's a very large output with several files - if you want I can share via email or something

from phasefield.

andreeleuterio avatar andreeleuterio commented on July 24, 2024

Looking more closely to the error output of making the cahnHiliard application, I saw this error:

error: no matching function for call to 'dealii::parallel::distributed::Triangulation<2, 2>::Triangulation(MPI_Comm)'
  computing_timer (pcout, TimerOutput::summary, TimerOutput::wall_times)

Looks like a deal II error; although I ran tests on deall II and passed

from phasefield.

stvdwtt avatar stvdwtt commented on July 24, 2024

The other person saw a similar error. When you installed deal.II, did you link it to your cluster's MPI library or did you use the MPI library that comes with deal.II?

Also, what compiler did you use to compile deal.II?

@rudraa Do you have any ideas?

from phasefield.

andreeleuterio avatar andreeleuterio commented on July 24, 2024

I linked it to my cluster's MPI.
I compiled deal.II with OpenMPI's mpicc/mpic++

from phasefield.

stvdwtt avatar stvdwtt commented on July 24, 2024

Hi Andre,
Could you check the "summary.log" file in the deal.II build directory? The log file should have a list of which features/libraries deal.II was configured with.

Does it say:
DEAL_II_WITH_P4EST = OFF
or
DEAL_II_WITH_P4EST set up with external dependencies

If DEAL_II_WITH_P4EST is set to OFF, you need to install p4est and then reinstall deal.II. You can find directions on how to do that here:
https://www.dealii.org/developer/external-libs/p4est.html

Sorry, this is something that we need to add to the User Guide.

Let me know if this works.

from phasefield.

andreeleuterio avatar andreeleuterio commented on July 24, 2024

Indeed I have DEAL_II_WITH_P4EST = OFF
I'll recompile and get back to you asap

from phasefield.

andreeleuterio avatar andreeleuterio commented on July 24, 2024

Ok now I have
DEAL_II_WITH_P4EST set up with external dependencies
but when building the cahn application with the new deal II build (I checked and it's pointing to the new build), I'm getting errors such as:
/dealii/8.4.1-withp4/include/deal.II/base/vectorization.h(1559): error: no operator "+=" matches these operands

I get similar error for operands such as -=, *=, /= etc

from phasefield.

stvdwtt avatar stvdwtt commented on July 24, 2024

Could you give me the whole error? I want to see where the += operator is being used.

What compiler are you using? If you're using the Intel compiler now, try using the GNU compiler.

from phasefield.

andreeleuterio avatar andreeleuterio commented on July 24, 2024

@stvdwtt it worked!
I reinstalled p4est and deal II with gcc 4.8.5 and OpenMPI 2.01.
For p4est I set the compilers and then:

./configure --prefix=/path/to/p4/ --enable-mpi
make
make install

For deal II I ran:

cmake -DCMAKE_INSTALL_PREFIX=/path/to/dealII -DP4EST_DIR=/path/to/p4/ -DDEAL_II_WITH_P4EST=ON -DDEAL_II_WITH_MPI=ON /path/to/dealIIsources/
make
make install

If there's any more info I can provide let me know; thank you very much!

from phasefield.

stvdwtt avatar stvdwtt commented on July 24, 2024

Great, I'm glad you were able to get it to work!

from phasefield.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.