Comments (7)
On Dec 21, 2012, at 10:48 AM, jwpeterson [email protected] wrote:
In my build directory, if I type make run in reduced_basis_ex1, everything is happy, but if I do that in ex2 or ex3, I currently get:
LIBMESH_DIR=/Users/petejw/projects/libmesh_git/build/.. METHODS="opt dbg" ../../../../examples/reduced_basis/reduced_basis_ex2/
/bin/sh: ../../../../examples/reduced_basis/reduced_basis_ex2/: is a directory
make: *** [run] Error 126ex4-7 also seem OK.
It is because of this in Makefile.am:
conditionally enable this test
if LIBMESH_ENABLE_SLEPC
if LIBMESH_ENABLE_GLPK
check_SCRIPTS = run.sh
endif
endif
The test is skipped when doing 'make check' (please verify!) but our compatibility 'make run' method is not being smart enough. Perhaps 'make run' should instead just to a 'make check'? Hmm….
-Ben
from libmesh.
On Fri, Dec 21, 2012 at 9:52 AM, Benjamin S. Kirk
[email protected]:
On Dec 21, 2012, at 10:48 AM, jwpeterson [email protected]
wrote:In my build directory, if I type make run in reduced_basis_ex1,
everything is happy, but if I do that in ex2 or ex3, I currently get:LIBMESH_DIR=/Users/petejw/projects/libmesh_git/build/.. METHODS="opt
dbg" ../../../../examples/reduced_basis/reduced_basis_ex2/
/bin/sh: ../../../../examples/reduced_basis/reduced_basis_ex2/: is a
directory
make: *** [run] Error 126ex4-7 also seem OK.
It is because of this in Makefile.am:
conditionally enable this test
if LIBMESH_ENABLE_SLEPC
if LIBMESH_ENABLE_GLPK
check_SCRIPTS = run.sh
endif
endifThe test is skipped when doing 'make check' (please verify!) but our
compatibility 'make run' method is not being smart enough. Perhaps 'make
run' should instead just to a 'make check'? Hmm….
Ah, I see. Yeah I don't have SLEPC so that makes sense... still figuring
out this automake stuff.
John
from libmesh.
Since we're using the parallel-tests bits of automake, I wonder if it would be better to put #ifdef's in the test and if, in this case, SLEPc or GLPK are not available, the test just returns 77 (http://ansuz.sooke.bc.ca/entry/233). The test will be reported as skipped and then we just have the test always run.
from libmesh.
On Dec 21, 2012, at 10:59 AM, jwpeterson [email protected] wrote:
Ah, I see. Yeah I don't have SLEPC so that makes sense... still figuring
out this automake stuff.
No problem. The general approach we're taking with the examples is that 'make check' will always compile the source, even if the example dependencies are not satisfied, mostly to give us more API coverage. This is accomplished by setting the check_PROGRAMS target, and that is always built.
As implemented, TESTS itself is only set when the prerequisites are satisfied…
As @pbauman just mentioned, though, we could always run the test too, and change e.g.
libmesh_example_assert(false, "--enable-slepc --enable-glpk");
such that libmesh_example_assert() return's with code 77 - that'll make the test print "SKIPPED", which I guess is precisely what we're doing…. ;-P
-Ben
from libmesh.
BTW @jwpeterson - did you have your gravatar commissioned? You're one Eddie-Bauer-looing mthrfkr...
from libmesh.
On Fri, Dec 21, 2012 at 10:10 AM, Benjamin S. Kirk <[email protected]
wrote:
BTW @jwpeterson https://github.com/jwpeterson - did you have your
gravatar commissioned? You're one Eddie-Bauer-looing mthrfkr...Heh, I wish I still looked like that... it's from years ago and before
kids. A current pic would have dark circles under eyes, wrinkles, grey
hair, etc.
John
from libmesh.
On Dec 21, 2012, at 11:12 AM, jwpeterson [email protected] wrote:
Heh, I wish I still looked like that... it's from years ago and before
kids. A current pic would have dark circles under eyes, wrinkles, grey
hair, etc.
Yeah, my developer photo is a little disingenuous at this point:
http://libmesh.sourceforge.net/developers.php
also, as @roystgnr is no longer a student, I guess it's time to update that page!
from libmesh.
Related Issues (20)
- load balance of adaptive refinement in libmesh HOT 1
- alias `QBase::n_points()` to `QBase::size()` HOT 1
- Allow existing SECOND-order elements in `UnstructuredMesh::all_second_order_range`
- I get the wrong results when use project_solution on the L2_LAGRANGE. HOT 7
- constexpr error in timpi/request.h with OpenMPI HOT 8
- Create zero_rows_and_columns API in SparseMatrix HOT 3
- Overflow with huge number of variables HOT 10
- Compilation error w/ gcc 12.2 HOT 3
- Can libmesh be compiled on windows? HOT 1
- L2_HIERARCHIC on PRISM elements HOT 1
- Make curvature signs consistent between 2D and 3D
- copy_nodes_and_elements isn't passing defaults to `add_extra_integers`
- XYDG Meshing Around a Single Disjointed Mesh HOT 5
- Need to turn one assertion into error for loading a mesh
- Make mesh stitcher issue warnings or errors HOT 4
- Add shell matrix handling for CondensedEigenSystem
- build fails: error in format-handler HOT 20
- Cannot compile libmesh in dbg mode HOT 9
- PETSc 3.20 warnings HOT 2
- Missing element quality implementations and more informative error message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libmesh.