Я пытаюсь установить FFTW, и когда я получаю команду ./configure --enable-mpi --enable-type-prefix --enable-float
и когда я ее запускаю, я получаю эту ошибку. Как мне это преодолеть? Я нахожусь в Cygwin на windows 10, если это поможет.
$ ./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
Я теперь получаю ошибку:
Теперь я получаю ошибку:
> mpicc main.o run.o predict.o begrun.o endrun.o global.o
> timestep.o init.o restart.o io.o accel.o read_ic.o ngb.o system.o
> allocate.o density.o gravtree.o hydra.o driftfac.o domain.o
> allvars.o potential.o forcetree.o peano.o gravtree_forcetest.o
> pm_periodic.o pm_nonperiodic.o longrange.o -g -L/usr/lib
> -L/usr/local/lib -lgsl -lgslcblas -lm -L/usr/local/lib -lsrfftw_mpi -lsfftw_mpi -lsrfftw -lsfftw -o Gadget2 /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld:
> cannot find -lsrfftw_mpi
> /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld:
> cannot find -lsfftw_mpi collect2: error: ld returned 1 exit status
> make: *** [Makefile:243: Gadget2] Error 1