Error running Peacock #17394
-
Hello, I'm pretty new to Moose and Linux in general, I think I have everything set up correctly but I'm still getting errors when trying to run a simulation through peacock. This is the error: This says the issue is the permissions but when I check them, it says I should be able to execute these files. I'm not sure what the issue is. Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You have not compiled your code: "No executable found for method type(s): opt, dbg, oprof, devel". If you are new I suggest working through out tutorial. https://mooseframework.inl.gov/getting_started/examples_and_tutorials/tutorial01_app_development/index.html |
Beta Was this translation helpful? Give feedback.
-
The error lies in line right after you executed peacock:
While you may have built modules, or the the combined module in particular, Peackock does not know how to search that direction. Peacock will search for binaries at your current working directory, and work 'backwards' (parent directory): /home/aliyay/projects/moose/python/peacock
nope. Go up one directory.
/home/aliyay/projects/moose/python
nope. Go up one directory.
/home/aliyay/projects/moose
nope. Go up one directory. Woops. We hit the root directory, tell the user:
`No executable found for method type(s): opt, dbg, oprof, devel` What you need to do, is build the combined module, and then run peacock from either that location, or from the location of your chosen input file (because combined-opt will exist in a parent directory from that location): cd /home/aliyay/projects/moose/modules/combined
make # if you haven't done so already
cd /home/aliyay/projects/moose/modules/combined/practice/workshop2
/home/aliyay/projects/moose/python/peacock/pecock -i model_A_equilibrium.i That's a lot of paths... Which is why we suggest created a export PATH=/home/aliyay/projects/moose/python/peaock:$PATH
cd /home/aliyay/projects/moose/modules/combined/practice/workshop2
peacock (of course, the same applies: you must have a binary built somewhere in your parent directories). I would also suggest throwing that |
Beta Was this translation helpful? Give feedback.
The error lies in line right after you executed peacock:
No executable found for method type(s): opt, dbg, oprof, devel
While you may have built modules, or the the combined module in particular, Peackock does not know how to search that direction. Peacock will search for binaries at your current working directory, and work 'backwards' (parent directory):
/home/aliyay/projects/moose/python/peacock nope. Go up one directory. /home/aliyay/projects/moose/python nope. Go up one directory. /home/aliyay/projects/moose nope. Go up one directory. Woops. We hit the root directory, tell the user: `No executable found for method type(s): opt, dbg, oprof, devel`
What you need to do, is build th…