help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compling octave 3.8.1 on rhel6.x86_64 cluster


From: Mike Miller
Subject: Re: compling octave 3.8.1 on rhel6.x86_64 cluster
Date: Thu, 20 Mar 2014 08:48:36 -0400
User-agent: Mutt/1.5.22 (2013-10-16)

On Wed, Mar 19, 2014 at 23:15:20 +0800, Gong Zheng wrote:
> I want to compile octave 3.8.1 on a "Linux 2.6.32-279.el6.x86_64" cluster 
> without root access.
> There are gcc-4.4.6-4.el6.x86_64 and intel_composer_xe_2013 installed.
> I just type following command, which yield no error.
> ./configure --prefix=/lustre/home/nishsun/local 
> LDFLAGS='-L/lustre/home/nishsun/local/lib' --disable-gui --disable-java
> then
> make -j8
> after about 10 minutes, something bad happened.
> libtool: link: g++ -Wall -W -Wshadow -Wold-style-cast -Wformat 
> -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -o 
> octave-config octave-config.o  -L/lustre/home/nishsun/local/lib 
> ../libinterp/corefcn/.libs/libcorefcn.a ../libgnu/.libs/libgnu.a -lm -pthread
> ../liboctave/.libs/liboctave.so: undefined reference to `for_write_int_fmt'
> ../liboctave/.libs/liboctave.so: undefined reference to `for_write_seq_fmt'
> ../liboctave/.libs/liboctave.so: undefined reference to `_intel_fast_memset'
> ../liboctave/.libs/liboctave.so: undefined reference to `for_cpystr'
> ../liboctave/.libs/liboctave.so: undefined reference to 
> `for_write_seq_fmt_xmit'
> ../liboctave/.libs/liboctave.so: undefined reference to `for_concat'
> ../liboctave/.libs/liboctave.so: undefined reference to `__libm_sse2_sincos'
> ../liboctave/.libs/liboctave.so: undefined reference to `__libm_sse2_sincosf'
> ../liboctave/.libs/liboctave.so: undefined reference to `_intel_fast_memcpy'
> collect2: ld returned 1 exit status
> make[2]: *** [octave-cli] Error 1
> I just compiled octave 3.8.1 successfully on another "Linux 
> 2.6.18-238.19.1.el5 x86_64" cluster which contains gcc-4.1.2-50.el5 and 
> intel_composer_xe_2013 by the same way.
> Sorry for my poor English. Any suggestions are appreciated.

Judging from some search results based on the missing symbols, I'm
guessing you are doing a build with gcc, g++, and ifort. Can you confirm
this is correct by looking at config.log? Is this what you intended? Is
your environment set up to use ifort correctly (e.g. compilervars.sh)?

I'm afraid not many on this list will be very motivated to help you get
Octave working with a non-free compiler. I hope these few suggestions
will help you solve your problem one way or another.

FWIW, the GNU fortran compiler works very well to compile Octave on both
rhel5 and rhel6, simply install the appropriate "gcc-gfortran" package.

HTH,

-- 
mike

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]