Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7944 Discussions

gsl installation with intel compilers

pankajd
Beginner
686 Views

installing gsl on 64 bit linux server gave me folloing problem

./configure --prefix=`pwd` FC=ifort CC=icc LDDFLAGS="-64" LD=xild AR=xiar

it does make and creates a Makefile, but fails make check. I have used Intel compilers as well as linkers (LD=xild) and archivers (AR=xiar). kindly help

0 Kudos
3 Replies
TimP
Honored Contributor III
686 Views
Not knowing your goals, it may be simpler to let LD and AR default to normal linux choices, which should be fine as long as you don't set -ipo in your icc or ifort options. It seems likely you will have to divulge more information.
0 Kudos
pankajd
Beginner
686 Views

hi,

thanks.but i am not getting what you want to say...please teel me as to what kind of information is further required?

0 Kudos
aazue
New Contributor I
686 Views

Hi
also, one test with make check gnu compiler 32 b give fail one test ??? (Debian 5)
but next step (make install) work correctly.
I have build some new lib same (bintutil, libtool, mpfr, ppl ext ... (flag exception)) but not change ..
I must make test with AIX PPC (32) to see if also same fail test ...

About precedent remark user, is confirmed, your question,require you inform :
version lib (gsl) concerned
version number O/S an title distro
version Compiler GNU and ICC
Processor type used in your machine
the flag compiler (processor) that you have use for improve


Also i have in my hand (Compaq CQ2100FR-m Intel Atom 230 OPENSUSE 11.2 64b)(Compaq is reality HP) for make test,
Atom 230 give 2 or 1.5 core ??? but have 64 possibility.(O/S installed is 64 version)

With this machine: all test gsl ok is ok without problem

If is ok with GNU compiler (64) i think probably must be same also with Icc
I you encoured problem (libtool) with (64) use -fPIC for resolve
./icpc -fPIC --shared-intel -march= ???? -mtune= ???? .....
Remark:
I have not install ICC compiler,i have already installed in other machine Atom 270 (U100) same version distro.
230 have 64 registers possibility but i don't know if can be better result with Icc ?? if time free i made

Address link:
ftp://ftp.gnu.org/gnu/gsl/gsl-1.13.tar.gz

./configure
make --jobs=4
make check (all OK)

Compiler Gnu version used is:

Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.4 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.4 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux)


Kernel is 2.6.31.5-0.1-desktop

I add this some information about this machine that can be util all. (without relation promote this this specific mark)

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel Atom CPU 230 @ 1.60GHz
stepping : 2
cpu MHz : 1595.875
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
bogomips : 3191.75
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel Atom CPU 230 @ 1.60GHz
stepping : 2
cpu MHz : 1595.875
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
bogomips : 3191.86
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 48 bits virtual
power management:

Speed hard drive 160 Go (is an standard SATA 3.5" no an slow 2.5")
hdparm -t /dev/sda

/dev/sda:
Timing buffered disk reads: 300 MB in 3.01 seconds = 99.72 MB/sec


For information all element (hardware wireless card sound,lan, video ext...) working perfectly with
default install distro. (wireless require WPA key obligatory or without protect) WEP keys not working.
also do not update wireless module RaLink RT2860 is wrong... the original module in distro media is
better with this machine type).
Small configuration but very very well machine for very very small value price...
for that want discovering Linux easy is an very very well choice machine and distro i think ...
I have make voluntary some test function for result O/S in difficulty and observing comportment cooler
and processor but not problem always all persisting good.

I think propose to (friends hardware side) to link cascading 6 or 8 same type machine for create an
small calculator (with MPI) very low price. With this crisis all is well to take ....

Kind regards

Last added:

About update online , all is OK with other machine (intel core2 quad) Opensuse 11.2 (64)

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel Core2 Quad CPU Q8200 @ 2.33GHz
stepping : 7
cpu MHz : 2003.000
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
bogomips : 4667.17
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel Core2 Quad CPU Q8200 @ 2.33GHz
stepping : 7
cpu MHz : 2003.000
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
bogomips : 4666.40
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel Core2 Quad CPU Q8200 @ 2.33GHz
stepping : 7
cpu MHz : 2003.000
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
bogomips : 4666.46
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel Core2 Quad CPU Q8200 @ 2.33GHz
stepping : 7
cpu MHz : 2003.000
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
bogomips : 4667.31
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

0 Kudos
Reply