Quig, you have to install a recent version of the library first. To do so, look at https://www.dealii.org/download.html
For instance, you can use our automated build script candi: https://www.github.com/dealii/candi and follow the instructions from there. Best Uwe On Monday, February 13, 2017 at 5:17:00 PM UTC+1, Qing Yin wrote: > > Yes, @Daniel, @Uwe, both of you are right. parameters_sneddon_2d.prm is a > parameter file and I used this crack propagation code from Timo and > Thomas: > https://github.com/tjhei/cracks > > I tried to run this code following that: > ----- > > You need to install deal.II (see http://www.dealii.org) with external > dependencies p4est and Trilinos. Then configure with: > > cmake -D DEAL_II_DIR=/your/dealii-installation/ . > > Compile with: > > make > > and finally run with: > > mpirun -n 2 ./cracks parameters_sneddon_2d.prm > > If the code crashes with an exception "ExcIO", create an empty directory > called "output". > ---- > > I think "make" is the command line for compiling, but I do not find a an > executable after that. > > ( I just began to use Linux because of deal.II. So if the authors ignored > some steps, I do not know.) > ' > Thanks for your help! > > Best, > Qing > > > On Mon, Feb 13, 2017 at 4:41 AM, 'Uwe Köcher' via deal.II User Group < > [email protected] <javascript:>> wrote: > >> @Daniel, I think he Qing is referencing to a crack propagation code from >> Timo and Thomas: >> https://github.com/tjhei/cracks >> >> @Quig: Yes, you have to compile the application and then run as Daniel >> said. >> "mpirun -n 2 ./cracks parameters_sneddon_2d.prm" >> >> Best >> Uwe >> >> On Monday, February 13, 2017 at 10:58:54 AM UTC+1, Daniel Arndt wrote: >>> >>> Qing, >>> >>> >>>> I am a new deal.ii user. I am trying to follow the "readme.md" to run >>>> the example by command line /$ mpirun -n 2 ./parameters_sneddon_2d.prm >>>> >>> This looks like you try to execute a parameter file instead of passing a >>> parameter file to an executable that is launched via mpirun, i.e. you >>> should try >>> >>> mpirun -n 2 ./executable ./parameters_sneddon_2d.prm >>> >>> What is this "parameters _sneddon_2d.prm" file anyway? Do you try to >>> execute something from the examples? At least there I can't find that file. >>> >>> Best, >>> Daniel >>> >> -- >> The deal.II project is located at http://www.dealii.org/ >> For mailing list/forum options, see >> https://groups.google.com/d/forum/dealii?hl=en >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "deal.II User Group" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/dealii/6iWETXPI4lg/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
