Menu

#949 Cannot compile

Stable_(v3.10.x)
closed-fixed
None
5
2014-07-29
2014-07-22
No

Hello,

I've been trying to compile ATLAS so I can use another library for semi-definite programming. make build seems to work fine. make check then does not provide the expected result. I'm not sure what happened here. Checked the FAQ and there wasn't any info about make check going wrong, so I've posted here. The error report is attached.

1 Attachments

Discussion

  • R. Clint Whaley

    R. Clint Whaley - 2014-07-23

    What is the ouput of "make check"?

     
  • bingjie.wang

    bingjie.wang - 2014-07-23

    Hi. Thanks for the reply. The output is attached.

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-07-23

    Something very odd is going on. Basically, this log shows a successful build of xsslvtst, then a successful run of it, and then a 2nd run where it is no longer found.

    Is your home area remotely mounted, and if so, are you sure you aren't having problems with it?

    Also, this guy is labeled 3.10.0, but the error report says 3.10.1, while the current stable is 3.10.2. I recommend switching to 3.10.2.

    ?
    Clint

     
  • bingjie.wang

    bingjie.wang - 2014-07-25

    Hi, I've rerun it with an old computer (which definitely should not have any file system issues) and using 3.10.2. I get the same kind of errors.

    What's wrong here? Attached is the make check output.

     
  • bingjie.wang

    bingjie.wang - 2014-07-28

    I've retried with the original computer. It would not work either and I'm sure there are no hard disk errors. I am using a newer version of gcc. Is this potentially causing the problem?

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-07-28

    OK, I see now that I misread the make_check_output file completely.

    The problem is that it is unable to build some lapack files due to missing symbols.

    It looks like the error is coming from your lapack library, which is dying in the compiler. Here is the message (from LIBBUILD.LOG):

    f77 -o ilaenv.o -c -O /home/jayce/Documents/2014/ATLAS3.10.0/ATLAS_BLD/..//interfaces/lapack/F77/src/ilaenv.f
    ilaenv:
    Error on line 152: Statement order error: declaration after DATA
    Warning on line 369: local variable lahbgst never used
    Warning on line 369: local variable lahpgst never used
    Warning on line 369: local variable laspgst never used
    Warning on line 369: local variable lasbgst never used
    Warning on line 369: local variable launit never used
    Warning on line 369: local variable lanonunit never used
    Warning on line 369: ieeeck declared EXTERNAL but never used.

    What I suspect is happening is that you don't have the newest gfortran installed, and the f77 link is to some crappy compiler. Can you try installing the gfortran that matches your gcc, and then reinstalling ATLAS3.10.2?

    If you don't care about lapack, you can also tell ATLAS not to expect a fortran compiler, but then you can't use the --with-netlib flag . . .

    Let me know,
    Clint

     
  • bingjie.wang

    bingjie.wang - 2014-07-29

    Cool, it works. Thanks for the support.

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-07-29

    Glad we got it fixed!

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-07-29
    • status: open --> closed-fixed
    • assigned_to: R. Clint Whaley
     

Log in to post a comment.