it seems you are close. all tests should pass, so there's something wrong.
try to follow those steps:

https://github.com/JuliaLang/julia/issues/7240

or those

https://github.com/JuliaLang/julia/issues/7482




On 2 July 2014 15:30, Ollie Laslett <olasl...@gmail.com> wrote:

> I have been having a very similar issue, whilst trying to build julia in
> my home directory on a cluster. I also had problems building openblas,
> which was solved by using OPENBLAS_DYNAMIC_ARCH=0.
>
> I also have the same errors when running code:
>
> /lib64/libz.so.1: no version information available
>
> On top of that, when I run $make test    the file.jl tests fail on @test
> isreadable(file)      which I find peculiar.
>
> Building from source is such a nightmare sometimes, I didn't quite
> understand your discussion below. Is there anything I can do to rectify
> these issues?
>
> Thanks
>
> On Monday, 30 June 2014 22:50:00 UTC+1, Florian Oswald wrote:
>
>> Hi all,
>>
>> I've got some very basic questions about building Julia from source on an
>> hpc cluster. I got it to build fine a month ago, but now the makefile
>> changed. I was partially  succesful this time as well (my test runs), but
>> some strange things happen and there's a lot of stuff in that makefile I
>> dont' understand.
>>
>>    - I can't get Make.user to work. My understanding was that i `cp
>>    Make.inc Make.user`, then change the options I want changed, then `make`?
>>    Nothing happens. Do I have to delete Make.inc after having made my copy?
>>    - I needed to set `JULIA_CPU_TARGET=core2` when I last got it to
>>    build. The cluster is built out of several different CPU types, so not
>>    setting this resulted in target mismatch errors. I can't find that line
>>    anymore in the current Make.inc, so I changed https://github.com/
>>    JuliaLang/julia/blob/master/Make.inc#L345
>>    <https://github.com/JuliaLang/julia/blob/master/Make.inc#L345> from
>>
>>          JULIA_CPU_TARGET ?= native
>> to
>>          JULIA_CPU_TARGET = core2
>>
>>    - Is this still recommended practice or should I not touch this at
>>    all?
>>    - the openblas default build failed. I set this:
>>    - OPENBLAS_DYNAMIC_ARCH=0
>>    - OPENBLAS_USE_THREAD=0
>>    - OPENBLAS_TARGET_ARCH=BARCELONA
>>    - It says in the trouble-shooting section on
>>    https://github.com/JuliaLang/julia/readme.md
>>    <https://github.com/JuliaLang/julia/readme.md> that a possibel
>>    solution to problems is to set the last variable to BARCELONA for AMD and
>>    NEHALEM for Intel. What if I have both CPUs? Does it matter?
>>    - With those settings it compiles, and my little test script runs.
>>    However, I get this error/warning from all workers:
>>    - ./julia: /lib64/libz.so.1: no version information available
>>    (required by /data/uctpfos/git/julia/usr/bin/../lib/libjulia.so)
>>    - In case this is helpful, my `cat /proc/version` is:
>>    - Linux version 2.6.32-279.19.1.el6.x86_64 (mock...@sl6.fnal.gov)
>>    (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Tue Dec 18
>>    17:22:54 CST 2012
>>
>>
>>

Reply via email to