auto-07p / auto-07p

AUTO is a publicly available software for continuation and bifurcation problems in ordinary differential equations originally written in 1980 and widely used in the dynamical systems community.
118 stars 48 forks source link

Issue installing AUTO on Windows 11 #42

Open Falsorr opened 4 months ago

Falsorr commented 4 months ago

Hello,

I don't know if this is the right place to ask, but I amtrying to install AUTO on Windows 11 laptop by following the auto.pdf documentation. After installing MSYS2, C compiler, and a Fortran compiler, here is what happens when I run ./configure :

dfass@PC_De_Daniel MINGW64 /c/auto/07p
$ ./configure --enable-plaut04=no
configure: loading site script /etc/config.site
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for Fortran flag to compile .f90 files... none
checking for Fortran flag needed to allow free-form source... none
checking for F2003 or pre-F2003 compatibility functions... f2003.f90
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran...  -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0 -LC:/msys64/mingw64/bin/../lib/gcc -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../.. -lgfortran -lmingw32 -lmingwex -lmsvcrt -lkernel32 -lquadmath -lm -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lkernel32
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for OpenMP flag of Fortran compiler... -fopenmp
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for XmCreateMainWindow in -lXm... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for coin-config... true
configure: error: COIN3D is not installed
checking for abort in -lInventor... no
configure: error: OI is not installed
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating util/Makefile
config.status: creating gui/Makefile
config.status: creating tek2ps/Makefile
config.status: creating plaut/Makefile
config.status: creating plaut04/Makefile
config.status: creating plaut04/src/Makefile
config.status: creating cmds/cmds.make
config.status: creating cmds/Makefile
config.status: creating gui/auto.makefile
config.status: creating cmds/compat.sh
config.status: creating include/config.h
config.status: include/config.h is unchanged
***************************************************
AUTO has been configured with support for OpenMP
***************************************************

And when I run make, here is what I get

dfass@PC_De_Daniel MINGW64 /c/auto/07p
$ make
cd ./src;make
make[1]: Entering directory '/c/auto/07p/src'
gfortran -fopenmp -O -c maps.f90 -o ../lib/maps.o
maps.f90:97:41:

   97 |                         DFDP(1,ICP(J)),1,1d0,DFDP1(1,ICP(J)),1)
      |                                         1
......
  257 |     CALL DGEMV('n',NDM,NDM,F,DFDU,NDM,U(NDM+1),1,0,DFDV(1,NDM+1),1)
      |                                                 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
make[1]: *** [Makefile:48: ../lib/maps.o] Error 1
make[1]: Leaving directory '/c/auto/07p/src'
make: *** [Makefile:14: src] Error 2

I'd like to know if anyone experienced something like that or could point me in the direction of what is wrong.

Best, Daniel Fassler