DReichLab / DReichLab/EIG

build issue on ubuntu xenial

Open
#12 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
207
Forks
61
PR merge metrics
No merged PRs in 30d

Description

The Makefile given did not work even after installing the libraries (via apt). By switching all linking to dynamic, and adding -llapacke and -lm, I got the installation to go through. The end result was modifying line 2 of src/makefile to:

LDLIBS += -lgfortran -lrt -Wl,-Bdynamic -fopenmp -llapacke -llapack -lgsl -lopenblas -lm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/makefile, especially line 2 and its LDLIBS definition. Reproduce the build on Ubuntu Xenial after installing the libraries via apt, then compare the current linking flags with the reported working line. Done means the installation completes successfully with the required LAPACK, GSL, OpenBLAS, Fortran, OpenMP, and math libraries.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ubuntu
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.