Installation Question

57 views
Skip to first unread message

Erik Anderson

unread,
Oct 18, 2024, 12:25:35 PM10/18/24
to PRISMS-PF Users
Hello PRISMS-PF users,

I was just able to install deal.ii via candi on my machine. But when I follow the instructions to build PRISMS-PF, I get the following error. 

(blah/blah/blah) deal.II-v9.6.0/include/deal.II/matrix_free/fe_evaluation.h:6648:1: note:   candidate expects 1 argument, 3 provided.

I also see several other errors for different programs with the wrong number of arguments provided. Is PRISMS-PF not compatible with the latest version of deal.ii? 

Please advise,

Erik J. Anderson

Jason Landini

unread,
Oct 18, 2024, 12:36:10 PM10/18/24
to Erik Anderson, PRISMS-PF Users
Hi Erik,

The master branch of prisms-pf is not compatible with deal.II 9.6.0. However, the development branch does if you switch to that branch.

Let me know if you have any other questions,
Jason

--
You received this message because you are subscribed to the Google Groups "PRISMS-PF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prisms-pf-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prisms-pf-users/68d380e8-1b73-4b01-bada-aca26a10371cn%40googlegroups.com.

Erik Anderson

unread,
Oct 18, 2024, 1:04:17 PM10/18/24
to PRISMS-PF Users
Jason,

So, PRISMS-PF said it compiled when I cloned the development branch. But now I'm getting this error.

CMake Error at CMakeLists.txt:9 (find_package):
  Could not find a package configuration file provided by "deal.II"
  (requested version 9.2.0) with any of the following names:

    deal.IIConfig.cmake
    deal.ii-config.cmake

  Add the installation prefix of "deal.II" to CMAKE_PREFIX_PATH or set
  "deal.II_DIR" to a directory containing one of the above files.  If
  "deal.II" provides a separate development package or SDK, be sure it has
  been installed.

Sincerely,

Erik J. Anderson


Jason Landini

unread,
Oct 18, 2024, 1:15:21 PM10/18/24
to Erik Anderson, PRISMS-PF Users
A few questions,

1. Did you delete CMakeCache.txt before recompiling?
2. Did you specify the path to dealii in your .bashrc file (i.e., export DEAL_II_DIR=/path/to/candi/deal.II-v9.6.0)?
3. What OS are you using?



--
Jason Landini
Ph.D. Pre-Candidate, Thornton Group
Materials Science & Engineering
University of Michigan

Erik Anderson

unread,
Oct 18, 2024, 1:21:45 PM10/18/24
to PRISMS-PF Users
1. I did not (I can do that.)
2. I did the second time I tried compiling the AllenCahn example (I'll do that again after removing the CMakeCache)
3. I'm using windows 10 with WSL.

Erik

Message has been deleted
Message has been deleted

Jason Landini

unread,
Oct 19, 2024, 9:54:57 AM10/19/24
to PRISMS-PF Users
Ok, thanks!

We are planning on updating the documentation for candi installations with PRISMS-PF soon, so let us know if run into any other issues or if anything is confusing.

Erik Anderson

unread,
Oct 28, 2024, 2:36:07 PM10/28/24
to PRISMS-PF Users
Hi Jason,

So I was able to get the AllenCahn example to run. But when I tried running a few other example applications the same way, I got this error. The AllenCahn example still runs when I recompile it, but for some reason I get this error whenever I try to run another example application.



################################################################################################
mpiexec -n 4 ./main
Using the input parameter file: parameters.prm
Number of constants: 8
Number of post-processing variables: 2

--------------------------------------------------------
An error occurred in line <1058> of file </home/ejanders/dealii-candi/tmp/unpack/deal.II-v9.6.0/source/base/parameter_handler.cc> in function
    std::string dealii::ParameterHandler::get(const std::string&) const
Additional information:
    You can't ask for entry <x> you have not yet declared.

Stacktrace:
-----------
#0  /home/ejanders/dealii-candi/deal.II-v9.6.0/lib/libdeal_II.g.so.9.6.0: dealii::ParameterHandler::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const
#1  /home/ejanders/dealii-candi/deal.II-v9.6.0/lib/libdeal_II.g.so.9.6.0: dealii::ParameterHandler::get_double(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const
#2  ./main: userInputParameters<2>::userInputParameters(inputFileReader&, dealii::ParameterHandler&, variableAttributeLoader)
#3  ./main: main
--------------------------------------------------------

Calling MPI_Abort now.
To break execution in a GDB session, execute 'break MPI_Abort' before running. You can also put the following into your ~/.gdbinit:
  set breakpoint pending on
  break MPI_Abort
  set breakpoint pending auto
Abort(255) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 255) - process 0

################################################################################################



I haven't found any similar errors like this in the forum, I'm not sure if this is an issue with the developer branch or if I'm doing something wrong with these examples.

Sincerely,

Erik J. Anderson
Message has been deleted

David Montiel

unread,
Oct 28, 2024, 3:05:25 PM10/28/24
to Erik Anderson, PRISMS-PF Users
Hello, Erik

What was the example application that failed? Did you modify anything?

The error appears to indicate that you are trying to access a variable that has not being declared.

Best,

David

Erik Anderson

unread,
Oct 28, 2024, 3:08:10 PM10/28/24
to PRISMS-PF Users
David,

I tried this on the DendriticSolidification and CoupledCahnHilliardAllenCahn applications and got the same error. I don't believe I modified anything, I just compiled the main executable as with the AllenCahn example.

Sincerely,

Erik 

David Montiel

unread,
Oct 28, 2024, 10:19:49 PM10/28/24
to Erik Anderson, Jason Landini, PRISMS-PF Users
@Jason Landini, could you please look into this? I don't have access to an installation of deal.II v9.6 at the moment.

Thanks!

Jason Landini

unread,
Oct 30, 2024, 11:17:16 AM10/30/24
to Erik Anderson, PRISMS-PF Users
I am unable to reproduce this error on the latest version of development.

Can you try pulling the latest version? Alternatively, type git status to see if anything from those applications comes up.

You received this message because you are subscribed to a topic in the Google Groups "PRISMS-PF Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prisms-pf-users/YZP1xkJGjhk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prisms-pf-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/prisms-pf-users/1bd7478c-eafe-492b-9429-766c8a6556aen%40googlegroups.com.

Jason Landini

unread,
Oct 30, 2024, 11:17:20 AM10/30/24
to PRISMS-PF Users
This may be an issue on the developer branch. What applications are giving this error?

Erik Anderson

unread,
Oct 30, 2024, 11:49:14 AM10/30/24
to PRISMS-PF Users
Jason,

I have tried it with pretty much every application I've tried (I can't remember all of them I've tried but I know I did Coupled AllenCahn, Dendrite solidification, advection, and a couple others) with the exception of Allen Cahn. 

Sincerely,

Erik

Jason Landini

unread,
Oct 30, 2024, 12:01:47 PM10/30/24
to Erik Anderson, PRISMS-PF Users
Hi Erik,

Can you type git log and let me know what the latest commit was?

Also, have you tried recompiling the whole library by typing "make clean" and deleting "CMakeCache.txt".

Erik Anderson

unread,
Oct 30, 2024, 12:04:52 PM10/30/24
to PRISMS-PF Users
I'm seeing Jason Landini, Date Friday October 25th 15:06:19 2024

Erik

Erik Anderson

unread,
Oct 30, 2024, 12:09:04 PM10/30/24
to PRISMS-PF Users
Getting the same error when I try recompiling and deleting CMakeCache.txt

ejanders@:~/phaseField/applications/dendriticSolidification$ mpiexec -n 4 ./main

Using the input parameter file: parameters.prm
Number of constants: 6
Number of post-processing variables: 0
Abort(255) on node 1 (rank 1 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 255) - process 1

Calling MPI_Abort now.
To break execution in a GDB session, execute 'break MPI_Abort' before running. You can also put the following into your ~/.gdbinit:
  set breakpoint pending on
  break MPI_Abort
  set breakpoint pending auto
Abort(255) on node 2 (rank 2 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 255) - process 2

Calling MPI_Abort now.
To break execution in a GDB session, execute 'break MPI_Abort' before running. You can also put the following into your ~/.gdbinit:
  set breakpoint pending on
  break MPI_Abort
  set breakpoint pending auto
Abort(255) on node 3 (rank 3 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 255) - process 3

Jason Landini

unread,
Oct 30, 2024, 12:10:18 PM10/30/24
to Erik Anderson, PRISMS-PF Users
There was a short period where all the applications with multiple fields may have been broken (due to that commit).

Can you pull the latest version of development. It should work after that.

Erik Anderson

unread,
Nov 4, 2024, 11:40:04 AM11/4/24
to PRISMS-PF Users
Jason & David

Just an update. It is working now. I've been able to successfully run a few of the example applications! Thank you for the help.

Sincerely,

Erik

Jason Landini

unread,
Nov 4, 2024, 12:46:36 PM11/4/24
to Erik Anderson, PRISMS-PF Users
Glad to hear! And sorry for the trouble with the dev branch.



You received this message because you are subscribed to a topic in the Google Groups "PRISMS-PF Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prisms-pf-users/YZP1xkJGjhk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prisms-pf-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/prisms-pf-users/ed0d6b8e-71f0-4e13-baf8-58891589b6e7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages