Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 正在安装fftw--无法猜测生成类型_Linux_Cygwin_Fftw - Fatal编程技术网

Linux 正在安装fftw--无法猜测生成类型

Linux 正在安装fftw--无法猜测生成类型,linux,cygwin,fftw,Linux,Cygwin,Fftw,我正在尝试安装FFTW,当我进入./configure-enable mpi-enable type prefix-enable float命令并运行它时,我得到的是错误。我如何克服这个问题?如果有帮助的话,我在Windows10上使用Cygwin $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes

我正在尝试安装FFTW,当我进入./configure-enable mpi-enable type prefix-enable float命令并运行它时,我得到的是错误。我如何克服这个问题?如果有帮助的话,我在Windows10上使用Cygwin

$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking type prefix for installed files... (none) checking for vendor's cc to be used instead of gcc... checking for cc... cc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether we are using gcc 2.90 or later... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for ranlib... ranlib checking whether ln -s works... yes checking build system type... ./config.guess: unable to guess system type

This script, last modified 2003-02-22, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from

    ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (./config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system.

config.guess timestamp = 2003-02-22

uname -m = x86_64 uname -r = 3.1.2(0.340/5/3) uname -s = CYGWIN_NT-10.0 uname -v = 2019-12-21 15:25

/usr/bin/uname -p = unknown /bin/uname -X     =

hostinfo               = /bin/universe          = /usr/bin/arch -k    
= /bin/arch              = x86_64 /usr/bin/oslevel       = /usr/convex/getsysinfo =

UNAME_MACHINE = x86_64 UNAME_RELEASE = 3.1.2(0.340/5/3) UNAME_SYSTEM 
= CYGWIN_NT-10.0 UNAME_VERSION = 2019-12-21 15:25 configure: error: cannot guess build type; you must specify one

configure: error: cannot guess build type; you must specify one

fftw-2.1.5太旧了,需要建议在最近的Cygwin下正确配置

$ ./configure --enable-mpi --enable-type-prefix --enable-float  --build=x86_64-pc-cygwin

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
....
config.status: creating mpi/Makefile
config.status: creating fftw.spec
config.status: creating fftw/config.h
config.status: creating fftw/fftw.h
config.status: executing depfiles commands

我不会打赌你会使用MPI和HDF5进行干净的运行,因为它们也比在Gadget2上测试的要新

fftw3软件包已经在Cygwin中提供。为什么需要mpi版本?一般来说,在配置之前构建Cygwin包以运行autoreconf是一种常见做法。如果您查看fftw3的Cygwin源程序包,那么当前的Cygwin包就是以这种方式构建的。您好,我将按照说明使用Cygwin运行Gadget2代码。我无法克服这个错误。小工具2似乎过时了。它是从2005年开始的,需要fftw版本2。FFTW2.1.5是FFTW2的稳定版本,上一次更新是在1999年。FFTW2.1.5已经过时,但由于其API与3.x版不兼容,我们继续为需要向后兼容的用户分发它。我尝试使用该版本,但仍然遇到了该错误:
$ ./configure --enable-mpi --enable-type-prefix --enable-float  --build=x86_64-pc-cygwin

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
....
config.status: creating mpi/Makefile
config.status: creating fftw.spec
config.status: creating fftw/config.h
config.status: creating fftw/fftw.h
config.status: executing depfiles commands