Henh,
           I'm sorry, I'm not sure what's going on there. It's possible 
that this is a bug in the build system or that I'm wrong and you do in fact 
need gcc 4.7 when building with intel. I thought I'd done a purely intel 
build before but turns out I used the intel fortran compiler and gcc so I 
can't confirm that pure intel works.

On Tuesday, June 21, 2016 at 2:50:47 PM UTC-7, AB wrote:
>
> Thanks again for your comment.  
>
> I followed those instructions, but I am not sure I did everything right 
> because it seems like it still is looking for GCC during the install. 
> 'make' terminated with this set of errors.  (On the 9th line it appears to 
> be looking for gcc.)
>
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether icc  accepts -g... yes
> checking for icc  option to accept ISO C89... none needed
> checking whether we are using the GNU C++ compiler... yes
> checking whether icpc  accepts -g... yes
> checking how to run the C preprocessor... icc  -E
> checking whether GCC or Clang is our host compiler... gcc
> checking build system type... x86_64-redhat-linux-gnu
> checking host system type... x86_64-redhat-linux-gnu
> checking target system type... x86_64-redhat-linux-gnu
> checking type of operating system we're going to host on... Linux
> checking type of operating system we're going to target... Linux
> checking target architecture... x86_64
> checking whether GCC is new enough... no
> configure: error:
> The selected GCC C++ compiler is not new enough to build LLVM. Please 
> upgrade
> to GCC 4.7. You may pass --disable-compiler-version-checks to configure to
> bypass these sanity checks.
> make[1]: *** [build/llvm-3.7.1/build_Release/config.status] Error 1
> make: *** [julia-deps] Error 2
>
> At other points in the install it seemed like it was using ICC, not GCC. 
>  For example, the second to last line here:
>
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking for style of include used by make... GNU
> checking for gcc... icc
> checking whether the C compiler works... yes
>
> The Make.user file contains the lines:
>
> USEICC = 1
> USEIFC = 1
> USE_INTEL_MKL = 1
> USE_INTEL_MKL_FFT = 1
> USE_INTEL_LIBM = 1
>
>
> I also ran this: 
>
> source /opt/apps/intel/15/composer_xe_2015.2.164/bin/compilervars.sh 
> intel64 
>
>
> This was from a fresh clone.  Is there something else I should try?
>
> Thanks again!
>
> AB
>
>
> On Tuesday, June 21, 2016 at 4:10:48 PM UTC-5, Patrick Belliveau wrote:
>>
>> Yep, using that version of gcc definitely won't work. However, if you're 
>> using the intel compilers then you don't need gcc. If you haven't seen it, 
>> instructions for using the intel compilers are here 
>> <https://github.com/JuliaLang/julia#intel-compilers-and-math-kernel-library-mkl>
>> .
>>
>> Cheers, Patrick
>>
>> On Tuesday, June 21, 2016 at 1:57:52 PM UTC-7, AB wrote:
>>>
>>> Thanks for the feedback.  I have been told that the version of gcc 
>>> available on this system is a bit old.  
>>>
>>> gcc --version returns: 
>>>
>>> gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
>>>
>>> I think version 4.7 is required for julia.  The administrators of the 
>>> cluster would like me to use the Intel compilers, which I am trying to 
>>> figure out, but I will ask if I can update gcc too.
>>>
>>> Thanks again!
>>>
>>> AB 
>>>
>>>
>>>
>>> On Tuesday, June 21, 2016 at 12:01:21 PM UTC-5, Patrick Belliveau wrote:
>>>>
>>>> It's not clear to me what's going on here but as a first attempt at 
>>>> troubleshooting, are you sure that you have up to date installations of 
>>>> all 
>>>> the required build tools and external libraries required to build Julia 
>>>> from source? In particular, you should check that make is using recent 
>>>> enough versions of gcc and g++. See the Julia github page for required 
>>>> versions. Even if you have a satisfactory version of gcc installed on your 
>>>> system, make may be using an older default version if you haven't 
>>>> specified 
>>>> your c compiler in Make.user. You can do that by adding the following two 
>>>> lines to Make.user:
>>>> CC=/path_to_gcc_binary
>>>> CXX=/path_to_g++_binary
>>>>
>>>>
>>>> On Monday, June 20, 2016 at 5:26:19 PM UTC-7, AB wrote:
>>>>>
>>>>> Sorry!  I thought that was the relevant part.  I just ran make again. 
>>>>> It returned this:
>>>>>
>>>>> In file included from src/s_fmax.c:32:
>>>>> src/fpmath.h:105: error: duplicate member ‘manl’
>>>>> In file included from src/math_private.h:26,
>>>>>                  from src/s_fmax.c:33:
>>>>> src/math_private_openbsd.h:54: error: conflicting types for 
>>>>> ‘ieee_quad_shape_type’
>>>>> src/math_private_openbsd.h:35: note: previous declaration of 
>>>>> ‘ieee_quad_shape_type’ was here
>>>>> src/math_private_openbsd.h:141: error: conflicting types for 
>>>>> ‘ieee_extended_shape_type’
>>>>> src/math_private_openbsd.h:123: note: previous declaration of 
>>>>> ‘ieee_extended_shape_type’ was here
>>>>> In file included from src/s_fmax.c:33:
>>>>> src/math_private.h:78: error: conflicting types for 
>>>>> ‘ieee_double_shape_type’
>>>>> src/math_private.h:60: note: previous declaration of 
>>>>> ‘ieee_double_shape_type’ was here
>>>>> make[2]: *** [src/s_fmax.c.o] Error 1
>>>>> make[1]: *** 
>>>>> [build/openlibm-e2fc5dd2f86f1e1dc47e8fa153b6a7b776d53ab5/libopenlibm.so] 
>>>>> Error 2
>>>>> make: *** [julia-deps] Error 2
>>>>>
>>>>> On Monday, June 20, 2016 at 7:05:38 PM UTC-5, Yichao Yu wrote:
>>>>>>
>>>>>> On Mon, Jun 20, 2016 at 7:50 PM, AB <[email protected]> wrote: 
>>>>>> > Hello - 
>>>>>> > 
>>>>>> > I'm trying to install Julia on a machine at my university. 
>>>>>> > 
>>>>>> > When I run "make" the process terminates with the following errors: 
>>>>>> > 
>>>>>> > make[2]: *** [src/s_fmax.c.o] Error 1 
>>>>>> > make[1]: *** 
>>>>>> > 
>>>>>> [build/openlibm-e2fc5dd2f86f1e1dc47e8fa153b6a7b776d53ab5/libopenlibm.so] 
>>>>>> > Error 2 
>>>>>> > make: *** [julia-deps] Error 2 
>>>>>>
>>>>>> FWIW, you need to copy in the actual error for anyone to help. The 
>>>>>> output you pasted is merely `make` complaining that something when 
>>>>>> wrong, but not the compile command that actually went wrong. 
>>>>>>
>>>>>> > 
>>>>>> > Is this a problem with a dependency? 
>>>>>> > 
>>>>>> > The version information of the machine is: 
>>>>>> > 
>>>>>> > 
>>>>>> LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
>>>>>>  
>>>>>>
>>>>>> > 
>>>>>> > and: 
>>>>>> > 
>>>>>> > Linux login2.stampede.tacc.utexas.edu 2.6.32-431.17.1.el6.x86_64 
>>>>>> #1 SMP Wed 
>>>>>> > May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux 
>>>>>> > 
>>>>>> > I appreciate any help! 
>>>>>> > 
>>>>>> > Thanks, 
>>>>>> > 
>>>>>> > ABB 
>>>>>>
>>>>>

Reply via email to