Giter Club home page Giter Club logo

Comments (3)

chrchang avatar chrchang commented on September 28, 2024

Have you tried installing the libatlas-dev and libatlas-base-dev packages, which the documentation mentions as necessary for Ubuntu?

from plink-ng.

gaozejie avatar gaozejie commented on September 28, 2024

Have you tried installing the libatlas-dev and libatlas-base-dev packages, which the documentation mentions as necessary for Ubuntu?

The installation of these two packages prompts that they cannot be found, even if I have already installed the extended rpm source. I switched the operating system to Linux version 4.19.90-52.22.v2207.ky10.aarch64 ([email protected]) (gcc version 7.3.0 (GCC)) #1 SMP Tue Mar 14 11:52:45 CST 2023, which includes these two packages. But continuing to compile still reports error:
g++ plink.o plink_assoc.o plink_calc.o plink_cluster.o plink_cnv.o plink_common.o plink_data.o plink_dosage.o plink_family.o plink_filter.o plink_glm.o plink_help.o plink_homozyg.o plink_lasso.o plink_ld.o plink_matrix.o plink_misc.o plink_perm.o plink_rserve.o plink_set.o plink_stats.o SFMT.o dcdflib .o pigz.o yarn.o Rconnection.o hfile.o bgzf.o -L/usr/lib64/atlas -llapack -lblas -lcblas -latlas -lm -lpthread -ldl -L. ../zlib-1.3/libz.so.1.3 -o pli nk /bin/ld: plink_cluster.o: in function mds_plot(char*, char*, unsigned long*, unsigned long, unsigned int*, char*, unsigned int, unsigned int, unsigned
long, unsigned int, unsigned int, unsigned int*, unsigned int*, unsigned int, unsigned int, unsigned int, double*)':
/plink/plink-ng-master/1.9/plink_cluster.c:3079: undefined reference to dgesdd_' /bin/ld: /plink/plink-ng-master/1.9/plink_cluster.c:3085: undefined reference to dgesdd_'
/bin/ld: plink_cluster.o: in function mds_plot_eigendecomp(char*, char*, unsigned long*, unsigned long, unsigned int*, char*, unsigned int, unsigned i nt, unsigned long, unsigned int, unsigned int, unsigned int*, unsigned int*, unsigned int, unsigned int, unsigned int, double*)': /plink/plink-ng-master/1.9/plink_cluster.c:3382: undefined reference to dsyevr_'
/bin/ld: /plink/plink-ng-master/1.9/plink_cluster.c:3393: undefined reference to dsyevr_' /bin/ld: plink_calc.o: in function calc_pca(IO_FILE*, unsigned long, char*, char*, unsigned long, Rel_info*, unsigned long, unsigned long*, unsigned
long, char*, unsigned long, char**, unsigned long*, unsigned long, unsigned long*, unsigned long, unsigned long*, unsigned long, char*, unsigned long,
double*, Chrom_info*, double*)':
/plink/plink-ng-master/1.9/plink_calc.c:7108: undefined reference to dsyevr_' /bin/ld: /plink/plink-ng-master/1.9/plink_calc.c:7119: undefined reference to dsyevr
'
/bin/ld: plink_matrix.o: in function invert_matrix_checked(int, double*, int*, double*)': /plink/plink-ng-master/1.9/plink_matrix.c:310: undefined reference to dlange_'
/bin/ld: /plink/plink-ng-master/1.9/plink_matrix.c:317: undefined reference to dgecon_' collect2: error:ld return 1 make: *** [Makefile:81:plink] error 1

from plink-ng.

chrchang avatar chrchang commented on September 28, 2024

Ok, try replacing "-lcblas -latlas" in the Makefile with "-lsatlas". I just tried starting up a new EC2 instance with a CentOS 7.9 AMI, and that did the trick there.

from plink-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.