Skip to content

LAPACK make fails: “recipe for target 'znep.out' failed” error #341

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

Closed
canberkgurel opened this issue Jun 19, 2019 · 3 comments
Closed

Comments

@canberkgurel
Copy link

I created a make.inc file using the example provided.

When I tried to install with make I received the following error:

make[2]: Leaving directory '/home/csgurel/svo_install_overlay_ws/src/lapack/TESTING/LIN'
Testing COMPLEX16 LAPACK linear equation routines
./LIN/xlintstz < ztest.in > ztest.out 2>&1
SEP: Testing Symmetric Eigenvalue Problem routines
./EIG/xeigtstz < sep.in > zsep.out 2>&1
Makefile:467: recipe for target 'zsep.out' failed
make[1]: *** [zsep.out] Error 139
make[1]: Leaving directory '/home/csgurel/svo_install_overlay_ws/src/lapack/TESTING'
Makefile:54: recipe for target 'lapack_testing' failed
make: *** [lapack_testing] Error 2

As stated here

I tried the suggested solution (ulimit -s unlimited) but it didn't solve this error. Can anyone suggest a solution?

@Hadizs
Copy link

Hadizs commented Oct 9, 2020

Hi, Did you solve this problem?

@martin-frbg
Copy link
Collaborator

In case he hasn't, can you provide more details about what system you are trying to compile on, and what your make.inc looks like ? This is essentially a crash of one of the tests, and it is usually caused by the test code allocating some big array of test data statically, i.e. on the stack. The usual default stack size on Linux is 8192k, on other systems it may be even smaller - and the array is big enough to cause an overflow at that limit.
Depending on your system, there may be a "hard" limit for the stacksize imposed that you cannot override as a user (or if you have Java code in the mix e.g. from some IDE that uses Java, you may need other means to change the stacksize), or you
may be seeing a completely different problem than the usual "segmentation fault" that a stack overflow would result in.

@langou
Copy link
Contributor

langou commented Mar 10, 2021

Closed issue via #492

@langou langou closed this as completed Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants