sorush-khajepor / listLBM

ListLBM is a sparse lattice Boltzmann solver for multiphase flow in porous media
36 stars 10 forks source link

make error #1

Closed haibianshifeng closed 6 years ago

haibianshifeng commented 6 years ago

[ 2%] Building Fortran object tools/CMakeFiles/tools.dir/utility_mod.f90.o /home/lei/listLBM/tools/utility_mod.f90:25.43:

    character(len=:),allocatable :: mem
                                       1

Error: Deferred-length character component 'mem' at (1) is not yet supported make[2]: [tools/CMakeFiles/tools.dir/utility_mod.f90.o] 错误 1 make[1]: [tools/CMakeFiles/tools.dir/all] 错误 2 make: *** [all] 错误 2

sorush-khajepor commented 6 years ago

The feature, deferred-length character, is not supported in the older GFortran versions. Make sure you use GFortran version 5 or higher. ListLBM is written with the latest Fortran standards (Fortran2003&2008).