Closed htngr closed 1 year ago
Could you please try with the develop
branch instead?
It compiles now :+1:
Although 2 tests fail now (full log):
make[4]: Entering directory '/build/source/examples/eigen'
PASS: BeamEigenValueperio.edp
PASS: BeamEigenValue.edp
../../bin/test-driver-ff: line 126: 398988 Segmentation fault (core dumped) ${TEST_FFPP} ${FLAGS_FFPP_B} "$@" ${FLAGS_FFPP_A} > $log_file 2>&1
FAIL: LapComplexEigenValue.edp
PASS: free-cyl-axi.edp
PASS: neuman.edp
PASS: LapEigenValue.edp
PASS: LapnosymEigenValue.edp
PASS: VP-Steklov-Poincare.edp
PASS: condition-number.edp
PASS: LapEigenValueFuncV2.edp
FAIL: LapEigenValueFuncComplex.edp
PASS: LapEigenValueFunc.edp
PASS: Stokes-eigen.edp
PASS: Lap3dEigenValue.edp
PASS: WGM-sphere.edp
PASS: LapEigenBeltrami.edp
../../bin/test-driver-ff: line 126: 399015 Killed ${TEST_FFPP} ${FLAGS_FFPP_B} "$@" ${FLAGS_FFPP_A} > $log_file 2>&1
These tests use ARPACK, which I don’t recommend. If you have SLEPc shipped with the installation, then it’s not an issue.
Hmm, I did compile FreeFem as described in the docs with all dependencies and following flags:
--enable-download
--enable-optim
--enable-generic
--enable-opengl
--enable-summary
Also I make petsc-slepc
, which should provide SLEPc.
You can leave it installed, just don’t use it.
I need the testsuite to pass for Nix. Should I just disable these two tests then?
I need the testsuite to pass for Nix.
I think you want the testsuite to pass, if you don’t make check
, then why wouldn’t this get integrated? You could either disable those tests, allow them to fail, or just do cd examples/hpddm && make check
(these are sufficient to test most FreeFEM features).
Alright, thanks a lot!
I am trying to package FreeFem++ for Nix. Nix builds packages in a strict sandbox with no access to network or hardware details, so I download all 3rd party packages before the build and put them in
3rdparty/pkg
. Otherwise I follow the compilation instructions for Ubuntu from the installation guide. Everything builds successfully until almost the end, when buildingbem.cpp
throws the following error:Full log is attached here: freefem-nix.log The Nix derivation (or build script) is here: https://github.com/htngr/nixpkgs/blob/freefem/pkgs/applications/science/physics/freefem/default.nix.