fastGPT icon indicating copy to clipboard operation
fastGPT copied to clipboard

Does not build with lfortran-0.33.1

Open junghans opened this issue 1 year ago • 1 comments

cmake --build build
[  6%] Building Fortran object CMakeFiles/fastgpt.dir/tokenizer.f90.o
[ 12%] Building Fortran object CMakeFiles/fastgpt.dir/gpt2.f90.o
[ 18%] Building Fortran object CMakeFiles/fastgpt.dir/omp_dummy.f90.o
[ 25%] Building Fortran object CMakeFiles/fastgpt.dir/driver.f90.o
semantic error: Namelists not implemented yet
  --> /home/christoph/computing/fastGPT/driver.f90:20:1
   |
20 | namelist / input_fastGPT / n_tokens_to_generate
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 


Note: Please report unclear or confusing messages as bugs at
https://github.com/lfortran/lfortran/issues.
gmake[2]: *** [CMakeFiles/fastgpt.dir/build.make:101: CMakeFiles/fastgpt.dir/driver.f90.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:93: CMakeFiles/fastgpt.dir/all] Error 2
gmake: *** [Makefile:101: all] Error 2

junghans avatar Feb 02 '24 01:02 junghans

I think you have to comment out the name list. Here are the exact steps: https://github.com/certik/fastGPT/pull/67/files

certik avatar Feb 02 '24 02:02 certik