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

Update deal.II parameter files #175

Merged
merged 4 commits into from
Mar 26, 2021
Merged

Conversation

davidscn
Copy link
Member

@davidscn davidscn commented Mar 26, 2021

Related to precice/dealii-adapter#54

..and centralize run scripts.

@davidscn davidscn requested a review from MakisH March 26, 2021 10:07
Copy link
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, you are one step ahead of me! I wanted to take care of the run scripts today. Here are some comments to consider.

tools/run-dealii.sh Outdated Show resolved Hide resolved
tools/run-dealii.sh Outdated Show resolved Hide resolved
@davidscn davidscn merged commit e472e9e into precice:develop Mar 26, 2021
@davidscn davidscn deleted the update-dealii2 branch March 26, 2021 16:45
@BenjaminRodenberg
Copy link
Member

I just tried the new -e option and got the following error:

~/tutorials/perpendicular-flap/solid-dealii$ ./run.sh -e=/home/benjamin/dealii-adapter/linear_elasticity/linear_elasticity
-----------------------------------------------------------------------------
--     . adapter revision f9c2c65 on branch develop
--     . deal.II 9.2.0 (revision unknown)
-----------------------------------------------------------------------------



----------------------------------------------------
Exception on processing: 

--------------------------------------------------------
An error occurred in line <538> of file </build/deal.ii-vFp8uU/deal.ii-9.2.0/source/base/parameter_handler.cc> in function
    virtual void dealii::ParameterHandler::parse_input(const string&, const string&, bool, bool)
The violated condition was: 
    is
Additional information: 
    The file "linear_elasticity.prm" was not found in the path for files of class ParameterHandler.
--------------------------------------------------------

Aborting!
----------------------------------------------------

This looks to me like the linear_elasticity.prm file is not found correctly. I tried to solve the problem by copy-pasting the file to the directory from which I'm running the case, but ran into the next problem.

I finally went back to an older revision (a166efa) ran the simulation by adding the folder to the path.

@davidscn
Copy link
Member Author

davidscn commented Mar 27, 2021

@BenjaminRodenberg please update the dealii-adapter develop branch. The executable has been renamed and you can trigger the building from the top-level directory.

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

Successfully merging this pull request may close these issues.

3 participants