[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ESPResSo-devel] Installation problem - FFTW
From: |
Tristan Bereau |
Subject: |
[ESPResSo-devel] Installation problem - FFTW |
Date: |
Wed, 17 Feb 2010 08:40:50 -0500 |
Dear all,
I have encountered a few problems trying to install Espresso 2.1.2j *without*
FFTW. It seems that even if the myconfig.h doesn't contain any FFTW-required
feature, Espresso complains that it can't find FFTW. Here's some details:
After doing ./configure or even ./configure --without-fftw, 'make' will produce
the following error:
***
depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
mpicc -D 'MYCONFIG_H="myconfig.h"' -I. -I.. -Iconfig
-finline-limit=1000000 -fomit-frame-pointer -funroll-loops -floop-optimize
-ffast-math -Wall -Wno-unused-function -O3 -march=i486 -m32 -fast -MT main.o
-MD -MP -MF $depbase.Tpo -c -o main.o ../main.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo config.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
mpicc -D 'MYCONFIG_H="myconfig.h"' -I. -I.. -Iconfig
-finline-limit=1000000 -fomit-frame-pointer -funroll-loops -floop-optimize
-ffast-math -Wall -Wno-unused-function -O3 -march=i486 -m32 -fast -MT config.o
-MD -MP -MF $depbase.Tpo -c -o config.o ../config.c &&\
mv -f $depbase.Tpo $depbase.Po
../config.c:93:10: error: operator '==' has no left operand
../config.c:95:12: error: operator '==' has no left operand
***
I've found out that config.c at lines 93,95 contain the following piece of code:
***
#if FFTW == 2
Tcl_AppendResult(interp, "{ FFTW2 } ", (char *) NULL);
#elif FFTW == 3
Tcl_AppendResult(interp, "{ FFTW3 } ", (char *) NULL);
***
This is a bit odd as I've explicitly requested Espresso *not* to install FFTW.
I realized that this problem only comes up for the latest version of Espresso
2.1.2j. Indeed, the Espresso 2.0.5e happily compiles with the same myconfig.h
file and configure flags.
I am not in a desperate need to install Espresso 2.1.2j right now, but thought
I'd point this out to the Espresso team.
Best,
Tristan
- [ESPResSo-devel] Installation problem - FFTW,
Tristan Bereau <=