I have compiled it++3.7.1,
atlas3.4.1_Linux_P4SSE2, lapack under Cygwin.
I have the problem that the comilation result of it++ looks ok. But problems always occure when
running 'make test' in the itt++/tests directory.
Has anyone an Idea what get's wrong ?
It looks for me that something with BLAS does not work.
thanks
/Manuel
$ make test
g++ `./../bin/it-config --flags --debug` array_test.cpp -o array_test.run `./../
bin/it-config --libs --debug`
./array_test.run > array_test.tmp
---------------------------------------------------------------------------
Testing: array_test.run
diff array_test.tmp array_test.ref
Test completed
---------------------------------------------------------------------------
g++ `./../bin/it-config --flags --debug` audiodev_test.cpp -o audiodev_test.run
`./../bin/it-config --libs --debug`
./audiodev_test.run > audiodev_test.tmp
---------------------------------------------------------------------------
Testing: audiodev_test.run
diff audiodev_test.tmp audiodev_test.ref
1d0
< IT++ does not support sound in the Cygwin or the Apple envirionments. Sorry.
make: [audiodev_test.tmp] Error 1 (ignored)
Test completed
---------------------------------------------------------------------------
You probably need to check that your soft links in the it++/lib directory are correct. Assuming that you use ATLAS and netlib-LAPACK you need to add the followin soft links in the it++/lib directory:
Make shure that you have a complete LAPACK lib file in your ATLAS_LIBDIR folder (see the installation section in the IT++ getting started manual on how to do that).
When the soft links are OK you need to re-run the configure script to regenerate the it-config script in the it++/bin folder.
Also make shure that you use the same GCC compiler version for ATLAS, LAPACK and IT++. If you use different versions of GCC for the different libraries you will have problems.
On Cygwin I have tested with ATLAS 3.5.5, netlib-LAPACK 3.0 and GCC 3.2 20020927 (prerelease) and that works fine. Other combinations will probably work as well but we haven't tested them.
Good luck
Pl Frenger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have compiled it++3.7.1,
atlas3.4.1_Linux_P4SSE2, lapack under Cygwin.
I have the problem that the comilation result of it++ looks ok. But problems always occure when
running 'make test' in the itt++/tests directory.
Has anyone an Idea what get's wrong ?
It looks for me that something with BLAS does not work.
thanks
/Manuel
$ make test
g++ `./../bin/it-config --flags --debug` array_test.cpp -o array_test.run `./../
bin/it-config --libs --debug`
./array_test.run > array_test.tmp
---------------------------------------------------------------------------
Testing: array_test.run
diff array_test.tmp array_test.ref
Test completed
---------------------------------------------------------------------------
g++ `./../bin/it-config --flags --debug` audiodev_test.cpp -o audiodev_test.run
`./../bin/it-config --libs --debug`
./audiodev_test.run > audiodev_test.tmp
---------------------------------------------------------------------------
Testing: audiodev_test.run
diff audiodev_test.tmp audiodev_test.ref
1d0
< IT++ does not support sound in the Cygwin or the Apple envirionments. Sorry.
make: [audiodev_test.tmp] Error 1 (ignored)
Test completed
---------------------------------------------------------------------------
collect2: ld returned 1 exit status
make: [bessel_test.run] Error 1 (ignored)
./bessel_test.run > bessel_test.tmp
./bessel_test.run: not found
make: *** [bessel_test.tmp] Error 127
Hi Manuel,
You probably need to check that your soft links in the it++/lib directory are correct. Assuming that you use ATLAS and netlib-LAPACK you need to add the followin soft links in the it++/lib directory:
ln -s <ATLAS_LIBDIR>/libatlas.a ./libatlas.a
ln -s <ATLAS_LIBDIR>/libcblas.a ./libcblas.a
ln -s <ATLAS_LIBDIR>/libf77blas.a ./libf77blas.a
ln -s <ATLAS_LIBDIR>/liblapack ./liblapack.a
Make shure that you have a complete LAPACK lib file in your ATLAS_LIBDIR folder (see the installation section in the IT++ getting started manual on how to do that).
When the soft links are OK you need to re-run the configure script to regenerate the it-config script in the it++/bin folder.
Also make shure that you use the same GCC compiler version for ATLAS, LAPACK and IT++. If you use different versions of GCC for the different libraries you will have problems.
On Cygwin I have tested with ATLAS 3.5.5, netlib-LAPACK 3.0 and GCC 3.2 20020927 (prerelease) and that works fine. Other combinations will probably work as well but we haven't tested them.
Good luck
Pl Frenger