I use cywin try to link the it++ library.
My verstion: itpp_3.10.7
external lib: itpp_external_2.3.10
It seems to me that I have problems when lik the libcblas library.
Thanks a lot,
g++ -L"C:\itpp-3.10.7\lib" -L"C:\itpp-external-2.3.0\lib" -o"test.exe" ./test.o -litpp -lfftw3 -lf77blas -latlas -llapack -lcblas
C:\itpp-external-2.3.0\lib/libcblas.a(cblas_zdotu.o):cblas_zdotu.c:(.text+0x6b): undefined reference to _ATL_zdotu_sub'
C:\itpp-external-2.3.0\lib/libcblas.a(cblas_ddot.o):cblas_ddot.c:(.text+0x4d): undefined reference to_ATL_ddot'
C:\itpp-external-2.3.0\lib/libcblas.a(cblas_zcopy.o):cblas_zcopy.c:(.text+0x5b): undefined reference to _ATL_zcopy'
C:\itpp-external-2.3.0\lib/libcblas.a(cblas_dcopy.o):cblas_dcopy.c:(.text+0x49): undefined reference to_ATL_dcopy'
collect2: ld returned 1 exit status
make: *** [test.exe] Error 1
make: Target `all' not remade because of errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe the order of libraries in linking flags is incorrect? I remember that Cygwin is quite picky about such issue.
Please, try putting "-latlas -lf77blas" after "-llapack -lcblas".
BTW, IT++ 3.10.7 is quite outdated and not supported any longer (it means that it includes known bugs, which were fixed in later versions). Please consider upgrading to the latest stable release (4.0.3 at the time of writing this post).
BR,
/Adam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can link to the ACML 3.6.0 (GNUFortran) with Cygwin.
I also runs on my Intel CoreDuo, much faster than with the
BLAS reference library.
See my posting in the "Help" Forum.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use cywin try to link the it++ library.
My verstion: itpp_3.10.7
external lib: itpp_external_2.3.10
It seems to me that I have problems when lik the libcblas library.
Thanks a lot,
g++ -L"C:\itpp-3.10.7\lib" -L"C:\itpp-external-2.3.0\lib" -o"test.exe" ./test.o -litpp -lfftw3 -lf77blas -latlas -llapack -lcblas
C:\itpp-external-2.3.0\lib/libcblas.a(cblas_zdotu.o):cblas_zdotu.c:(.text+0x6b): undefined reference to
_ATL_zdotu_sub' C:\itpp-external-2.3.0\lib/libcblas.a(cblas_ddot.o):cblas_ddot.c:(.text+0x4d): undefined reference to_ATL_ddot'C:\itpp-external-2.3.0\lib/libcblas.a(cblas_zcopy.o):cblas_zcopy.c:(.text+0x5b): undefined reference to
_ATL_zcopy' C:\itpp-external-2.3.0\lib/libcblas.a(cblas_dcopy.o):cblas_dcopy.c:(.text+0x49): undefined reference to_ATL_dcopy'collect2: ld returned 1 exit status
make: *** [test.exe] Error 1
make: Target `all' not remade because of errors.
Thanks a lot, guys.
Yes, I changed the lib order. It works now
with Eclipse/cygwin/gcc.
Can I compiled the it++ with visual studuio C++ 2005 express and with ACML
in window platform, and run in Intel dual core?
Thanks a lot to share the knowlege.
Best,
-Li, Qiang
Maybe the order of libraries in linking flags is incorrect? I remember that Cygwin is quite picky about such issue.
Please, try putting "-latlas -lf77blas" after "-llapack -lcblas".
BTW, IT++ 3.10.7 is quite outdated and not supported any longer (it means that it includes known bugs, which were fixed in later versions). Please consider upgrading to the latest stable release (4.0.3 at the time of writing this post).
BR,
/Adam
You can link to the ACML 3.6.0 (GNUFortran) with Cygwin.
I also runs on my Intel CoreDuo, much faster than with the
BLAS reference library.
See my posting in the "Help" Forum.