modelon-community / Assimulo

Assimulo is a simulation package for solving ordinary differential equations.
https://jmodelica.org/assimulo/index.html
GNU Lesser General Public License v3.0
66 stars 16 forks source link

Compile failed #25

Closed inpos closed 2 years ago

inpos commented 2 years ago

Hi! Неre build error log:

compile options: '-I/usr/lib/python3.9/site-packages/numpy/core/include -Ibuild/src.linux-x86_64-3.9/build/src.linux-x86_64-3.9/assimulo/thirdparty/hairer -I/usr/lib/python3.9/site-packages/numpy/core/include -Ibuild/src.linux-x86_64-3.9/numpy/distutils/include -I/usr/include/python3.9 -c'
gfortran:f77: assimulo/thirdparty/hairer/radau_decsol.f
gfortran:f77: build/src.linux-x86_64-3.9/assimulo/thirdparty/hairer/radau5-f2pywrappers.f
assimulo/thirdparty/hairer/radau_decsol.f:1230:72:

 1230 |  30       A(I,K) = -A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1237:72:

 1237 |  40         A(I,J) = A(I,J) + A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1277:72:

 1277 |  10       B(I) = B(I) + A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1285:72:

 1285 |  30       B(I) = B(I) + A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1343:72:

 1343 |  30       A(I,K) = -A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1350:72:

 1350 |  40         A(I,J) = A(I,J) + A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1392:72:

 1392 |  10       B(I) = B(I) + A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1400:72:

 1400 |  30       B(I) = B(I) + A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1790:72:

 1790 |       DO 5 I = 1,ML
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 5 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1791:72:

 1791 |   5   A(I,J) = 0.D0
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 5 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1810:72:

 1810 |  30       A(I,K) = -A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1826:72:

 1826 |  40         A(IJK,J) = A(IJK,J) + A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1872:72:

 1872 |  10       B(IMD) = B(IMD) + A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1883:72:

 1883 |  30       B(IMD) = B(IMD) + A(I,K)*T
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:1931:72:

 1931 |       DO 5 I = 1,ML
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 5 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:2178:72:

 2178 |   140      a(i,j) = a(i,j) - y * a(m,j)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 140 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:2181:72:

 2181 |   150      a(j,m) = a(j,m) + y * a(j,i)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 150 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:4377:72:

 4377 |   623       SUM=SUM+FMAS(I,J)*YNEW(J)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 623 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:4378:72:

 4378 |   624    AK(I)=AK(I)+SUM
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 624 at (1)
assimulo/thirdparty/hairer/radau_decsol.f:958:25:

  958 |      &          F1,F2,F3,CONT,IP1,IP2,IPHES,IER,IJOB)
      |                         1
Error: Rank mismatch in argument ‘cont’ at (1) (scalar and rank-1)
error: Command "/usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -I/usr/lib/python3.9/site-packages/numpy/core/include -Ibuild/src.linux-x86_64-3.9/build/src.linux-x86_64-3.9/assimulo/thirdparty/hairer -I/usr/lib/python3.9/site-packages/numpy/core/include -Ibuild/src.linux-x86_64-3.9/numpy/distutils/include -I/usr/include/python3.9 -c -c assimulo/thirdparty/hairer/radau_decsol.f -o build/temp.linux-x86_64-3.9/assimulo/thirdparty/hairer/radau_decsol.o" failed with exit status 1

########### EXT COMPILER OPTIMIZATION ###########
Platform      : 
  Architecture: x64
  Compiler    : gcc

CPU baseline  : 
  Requested   : 'min'
  Enabled     : SSE SSE2 SSE3
  Flags       : -msse -msse2 -msse3
  Extra checks: none

CPU dispatch  : 
  Requested   : 'max -xop -fma4'
  Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_KNM AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
  Generated   : none
CCompilerOpt._cache_write[796] : write cache to path -> /home/inpos/tmp/Assimulo-Assimulo-3.2.5/build/build/temp.linux-x86_64-3.9/ccompiler_opt_cache_ext.py

OS: Gentoo Linux x86_64 Python: 3.9.5 GCC:

COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/10.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/notmpfs/portage/sys-devel/gcc-10.3.0/work/gcc-10.3.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/10.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/10.3.0/python --enable-languages=c,c++,go,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.3.0 p1' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.3.0 (Gentoo 10.3.0 p1)
inpos commented 2 years ago

Duplicate of #16