seamplex / feenox Goto Github PK
View Code? Open in Web Editor NEWCloud-first free no-fee no-X uniX-like finite-element(ish) computational engineering tool
Home Page: https://www.seamplex.com/feenox
License: Other
Cloud-first free no-fee no-X uniX-like finite-element(ish) computational engineering tool
Home Page: https://www.seamplex.com/feenox
License: Other
The length of a curved 1D boundary does not improve switching from elements orter 1 to order 2.
I am trying to install feenox on Ubuntu-20.04.
I followed the installation process detailed on the website using Git repository.
I get the following error when run 'make'
In file included from ./feenox.h:69,
from ./feenox.c:22:
/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include/petscsys.h:167:6: error: #error "PETSc was configured with OpenMPI but now appears to be compiling using a non-OpenMPI mpi.h"
Could someone please help me figure out how to fix this?
The GNU GSL needs a BLAS implementation to work. To enhance flexibility and allow different BLAS implementations to be used, even though it provides a libgslcblas
it is not automatically linked when linking against libgsl
.
Since PETSc is already linked agains a BLAS implementation and chances are that this implementation is more efficient than libgslcblas
, configure does not link against libgslcblas
if PETSc is found. This works well in Debian but does not work in Fedora, that uses libflexiblas
that exports the symbol cblas_dgemm
that configure
searchs for but it is not found during linking.
Source: #4
After updating the feenox files, I recompiled and began working with the orthotropic-expansion branch earlier this week. When I restarted my computer this morning, I was not able to use it. I tried updating the files again and recompiling, but am running into the same issue:
james@james-VirtualBox:~/Documents/feenox$ git checkout orthotropic-expansion
Already on 'orthotropic-expansion'
Your branch is up to date with 'origin/orthotropic-expansion'.
james@james-VirtualBox:~/Documents/feenox$ feenox
FeenoX v0.1.59-gbf85679-dirty
a free no-fee no-X uniX-like finite-element(ish) computational engineering tool
usage: feenox [options] inputfile [replacement arguments]
-h, --help display usage and commmand-line help and exit
-v, --version display brief version information and exit
-V, --versions display detailed version information
-s, --sumarize list all symbols in the input file and exit
Instructions will be read from standard input if “-” is passed as
inputfile, i.e.
$ echo "PRINT 2+2" | feenox -
4
Report bugs at https://github.com/seamplex/feenox or to [email protected]
Feenox home page: https://www.seamplex.com/feenox/
I am not sure if this information helps, but when I was recompiling I ran "make check" and four checks failed including tests/two-cubes-orthotropic.sh:
James@james-VirtualBox:~/Documents/feenox$ make check
Making check in src
make[1]: Entering directory '/home/james/Documents/feenox/src'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/james/Documents/feenox/src'
make[1]: Entering directory '/home/james/Documents/feenox'
cp -r src/feenox .
make check-TESTS
make[2]: Entering directory '/home/james/Documents/feenox'
make[3]: Entering directory '/home/james/Documents/feenox'
XFAIL: tests/abort.sh
PASS: tests/algebraic_expr.sh
PASS: tests/beam-modal.sh
PASS: tests/beam-ortho.sh
PASS: tests/builtin.sh
PASS: tests/cylinder-traction-force.sh
PASS: tests/default_argument_value.sh
PASS: tests/expressions_constants.sh
PASS: tests/expressions_variables.sh
PASS: tests/expressions_functions.sh
PASS: tests/exp.sh
PASS: tests/i-beam-euler-bernoulli.sh
FAIL: tests/iaea-pwr.sh
PASS: tests/iterative.sh
PASS: tests/fit.sh
PASS: tests/function_algebraic.sh
PASS: tests/function_data.sh
PASS: tests/function_file.sh
PASS: tests/function_vectors.sh
PASS: tests/integral.sh
PASS: tests/laplace2d.sh
PASS: tests/materials.sh
PASS: tests/mesh.sh
PASS: tests/moment-of-inertia.sh
PASS: tests/nafems-le1.sh
FAIL: tests/nafems-le10.sh
PASS: tests/nafems-t1-4.sh
PASS: tests/nafems-t2-3.sh
PASS: tests/neutron_diffusion_src.sh
PASS: tests/neutron_diffusion_keff.sh
PASS: tests/parallelepiped.sh
PASS: tests/point-kinetics.sh
PASS: tests/print.sh
PASS: tests/thermal-1d.sh
PASS: tests/thermal-2d.sh
PASS: tests/trig.sh
FAIL: tests/two-cubes-isotropic.sh
FAIL: tests/two-cubes-orthotropic.sh
PASS: tests/vector.sh
============================================================================
Testsuite summary for feenox v0.1.284-g8076044
============================================================================
# TOTAL: 39
# PASS: 34
# SKIP: 0
# XFAIL: 1
# FAIL: 4
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to [email protected]
============================================================================
make[3]: *** [Makefile:1101: test-suite.log] Error 1
make[3]: Leaving directory '/home/james/Documents/feenox'
make[2]: *** [Makefile:1209: check-TESTS] Error 2
make[2]: Leaving directory '/home/james/Documents/feenox'
make[1]: *** [Makefile:1706: check-am] Error 2
make[1]: Leaving directory '/home/james/Documents/feenox'
make: *** [Makefile:986: check-recursive] Error 1
On line 18: AC_INIT([feenox],feenoxversion,[[email protected]])
feenox version isn't filled after a fork. The empty variable breaks the autogen process.
Hi
Would be great if you could add an example (.fee file) of how to specify multiple volumes and materials and then solve a problem. Also how to extract stress results per volume.
I have a multi-body CAD part as input and boundary condition can span faces across bodies.
Regards
SK
If $PETSC_DIR
is empty, configure
sets it as /usr/lib/petsc
which works for finding PETSc installed from the repositories in both Debian and Ubuntu. This procedure fails on Fedora.
When initializing a vector one can assing the values to the vector in different (presummably wrong) ways and some of them will silently pass as ok but not with the expected behavior.
VECTOR x1 SIZE 2
VECTOR x2 SIZE 2
VECTOR x3 SIZE 2
VECTOR x4[2] DATA 1/sqrt(2) 1/sqrt(2)
x1 = {1/sqrt(2), 1/sqrt(2)}
x2 = (1/sqrt(2), 1/sqrt(2))
x3 = 1/sqrt(2) 1/sqrt(2)
print "x1= " x1 "\nx2= " x2 "\nx3= " x3 "\nx4= " x4
>>>x1= 0.5 0.5
x2= 0.5 0.5
x3= 0.707107 0.707107
x4= 0.707107 0.707107
Either the vectors having assigned the right values or a Syntax error.
Also tried using
Thank you for looking into this!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.