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

Parameter GUI not found false warning if only PARAMETER_GUI_DIR is set #1890

Closed
arijitlaik opened this issue Aug 15, 2017 · 7 comments
Closed

Comments

@arijitlaik
Copy link

arijitlaik commented Aug 15, 2017

the warning Parameter GUI not found: install and provide a hint using.... pops up if PARAMETER_GUI_DIR, utterly trivial issue, fixit may be

arijit@arijit-X201E:~/bin/aspect$ cmake .
-- ====================================================
-- ============ Configuring ASPECT ====================
-- ====================================================
-- Found deal.II version 8.5.0 at '/home/arijit/bin/deal.II-v8.5.0/lib/cmake/deal.II'
-- Using ASPECT_USE_PETSC = 'OFF'
-- Setting up test project, see tests/setup_tests.log for details.
-- Enabling dynamic loading of plugins from the input file
-- Enabling checking of compatible deal.II library when loading plugins
-- Autopilot invoked
-- Run   $ make info  to print a detailed help message
-- Runtime floating point checks enabled.
-- Disabling cotire.
-- Parameter GUI not found: install and provide a hint using -D PARAMETER_GUI_DIR or set -D PARAMETER_GUI_EXECUTABLE directly.
-- Writing config into detailed.log...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/arijit/bin/aspect
arijit@arijit-X201E:~/bin/aspect$ echo $PARAMETER_GUI_DIR 
/home/arijit/bin/parameter_gui
@gassmoeller
Copy link
Member

Hi @arijitlaik, thanks for raising this issue.
Unfortunately, I was not able to reproduce your problem, could you clarify this a bit for me: Is /home/arijit/bin/parameter_gui a directory containing the parameter GUI, or is that the path of the executable (or a link to the executable)? cmake should look for an executable in the directory $PARAMETER_GUI_DIR so if /home/arijit/bin/parameter_gui is the executable the correct path for $PARAMETER_GUI_DIR would be /home/arijit/bin.
In case it is the directory of the parameter gui, is the path to your executable $PARAMETER_GUI_DIR/parameter_gui or is it $PARAMETER_GUI_DIR/bin/parameter_gui? cmake will currently only pick up the first version, but this is something we could easily change.

@arijitlaik
Copy link
Author

arijitlaik commented Aug 16, 2017

/home/arijit/bin/parameter_gui is the directory containing the source for the parameter GUI and is the value for $PARAMETER_GUI_DIR anyway i guess, i way reading the installation manual and thought that setting the PARAMETER_GUI_DIR environment variable to point to the source(and where its build and has the exectables in the subdir bin, as is the case for other deal.II components where environment variables are set bu enable.sh) for parameter_gui was required. anyway /home/arijit/bin/parameter_gui is the build directory and /home/arijit/bin/parameter_gui/bin/ is where i have parameter_gui. Its a problem with my understanding sorry about that. i might have to rebuild aspect again with the first option.

@gassmoeller
Copy link
Member

No harm done, glad to be of help. Still we should make cmake more forgiving with this kind of search. I opened #1893 that should prevent these misunderstandings.
Could you do me a favor and after #1893 is merged try your initial approach of setting PARAMETER_GUI_DIR=/home/arijit/bin/parameter_gui and report back if that works?

@arijitlaik
Copy link
Author

well, i got a bit late replying back, the PR is merged into the master and things works. Thanks :)

@gassmoeller
Copy link
Member

Ok, good to know. Let us know if you encounter other problems.

@arijitlaik
Copy link
Author

Totally Unrelated Question.
I would like to work on some thin skinned tectonic models of fold thrust belts, i was wondering how can one include basal friction and or contact friction parameters in aspect, i have seen @anne-glerum paper but there basal friction is not taken into account, Can i put this up as an issue for a proposal and or new feature.

@tjhei
Copy link
Member

tjhei commented Aug 27, 2017

Totally Unrelated Question.

Correct. Please direct questions like this to the mailing list.

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

3 participants