|
From: | RUSS BRENNAN |
Subject: | RE: Using MKL fftw |
Date: | Fri, 3 Sep 2010 16:19:09 -0500 |
My mistake, I must have corrupted the configure scripts somehow. Here's the diff of the configure files I am using to do this, and also note that I defined the required libs in LIBS='...' upon configuring. --- configure 2010-09-03 14:22:18.000000000 -0700 +++ ../../OctaveDepsgcc4/octave-3.2.3/configure 2009-09-13 23:01:49.000000000 -0700 @@ -10243,7 +10243,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="$LIBS" +LIBS="-lfftw3 $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -10306,7 +10306,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="$LIBS" +LIBS="-lfftw3f $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -10362,7 +10362,7 @@ { echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3f_fftwf_plan_dft_1d" >&5 echo "${ECHO_T}$ac_cv_lib_fftw3f_fftwf_plan_dft_1d" >&6; } if test $ac_cv_lib_fftw3f_fftwf_plan_dft_1d = yes; then - FFTW_LIBS=$LIBS; with_fftw3=yes + FFTW_LIBS="-lfftw3 -lfftw3f"; with_fftw3=yes fi fi --- configure.in 2010-09-03 14:21:06.000000000 -0700 +++ ../../OctaveDepsgcc4/octave-3.2.3/configure.in 2009-07-24 05:00:57.000000000 -0700 @@ -593,7 +593,7 @@ AC_CHECK_HEADER(fftw3.h, [have_fftw3_header=yes]) if test "$have_fftw3_header" = yes; then AC_CHECK_LIB(fftw3, fftw_plan_dft_1d, [ - AC_CHECK_LIB(fftw3f, fftwf_plan_dft_1d, [FFTW_LIBS=$LIBS; with_fftw3=yes])]) + AC_CHECK_LIB(fftw3f, fftwf_plan_dft_1d, [FFTW_LIBS="-lfftw3 -lfftw3f"; with_fftw3=yes])]) fi fi From: address@hidden To: address@hidden Subject: Using MKL fftw Date: Fri, 3 Sep 2010 16:08:09 -0500 Does anyone have experience using MKL fftw3 with octave? I was able to hack the configure script to allow it but now it seems I have opened another can of worms, because when I run make it tells me my version of autoconf is too old! TIA, Russell _______________________________________________ Help-octave mailing list address@hidden https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
[Prev in Thread] | Current Thread | [Next in Thread] |