Skip to content

v1.7 fails due to gfortran version issue #28

Open

Description

@rwhetten

I installed v1.7 from the repo 10 days ago, and completed the Jellyfish kmer-counting phase, but the runHawk script failed at the Eigenstrat smartpca step with error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory. Making a symbolic link from libgsl.so.0 pointing to libgsl.so.27.0.0 avoids that error, but then the smartpca step fails with error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory. A symbolic link from libgfortran.so.3 pointing to libgfortran.so.5.0.0 avoids that error, but instead gives version 'GFORTRAN_1.0' not found (required by /mnt/cc02/software/HAWK/supplements/EIG6.0.1-Hawk/bin/smartpca). Is it possible to re-compile the modified Eigenstrat code with a more recent version of gfortran, or is there a better way to overcome this error?

Activity

  1. alexzaccaron commented on Feb 14, 2025

    @alexzaccaron

    Hi,
    has this been solved? I was getting similar error. Tried after recompiling EIG6.0.1-Hawk, but HAWK still throws an error:

    Error while alt model optimizing at kmer 0 to 10000
    singularity error : 1 nan error : 0
    Alt model optimization has exited early due to singularity error
    Achived error 0.285714 , Exited at iteration 9
    Nan error will happen as or alt_likelihood is <=0 while estimating alt_liklelihood_ratio at kmer no. 226 at thread 2
    alt likelihood : 0
    glm alt model prediction without sigmoid for last kmer : -1325.92
    glm alt model prediction with sigmoid for last kmer : 0
    glm null model prediction without sigmoid for last kmer : -0.351119
    glm null model prediction with sigmoid for last kmer : 0.413111
    Nan error happend or log_likelihood_ratio is <0 while estimating log_liklelihood_ratio at kmer no. 226 at thread 2
    alt model : 23531.1 140122 94705.1 -160776 1.07556e+10
    
  2. atifrahman commented on Feb 14, 2025

    @atifrahman
    Owner

    Sorry I had missed the original comment. I'll look into both problems.

    In the meantime, it might be worth trying the kmdiff implementation which is faster
    https://github.com/tlemane/kmdiff

    -Atif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions