Scotch installation error

Hello, dear Yvan and code_saturne team!

When I launched install_saturne.py I faced an issue.

flex "-Pscotchyy" "-oparser_ll.c" parser_ll.l
"parser_ll.l", line 82: unrecognized %option: bison-bridge
"parser_ll.l", line 86: unrecognized %option: reentrant
make[2]: *** [Makefile:2817: parser_ll.c] Error 1
make[2]: Leaving directory '/home/dlgd/code-saturne/code-saturne.build/scotch-v7.0.3-b43864123e820e3ca541bfecd3738aed385a4c47.build/src/libscotch'
make[1]: *** [Makefile:62: scotch] Error 2
make[1]: Leaving directory '/home/dlgd/code-saturne/code-saturne.build/scotch-v7.0.3-b43864123e820e3ca541bfecd3738aed385a4c47.build/src/libscotch'
make: *** [Makefile:97: libscotch] Error 2

Install log is in attachments.

Please help.

Best regards,
Beulliy
install_saturne.log (65.9 KB)

Hello,

What architecture and OS are your running on ? Is “flex” installed ?

Regards,

Yvan

After I “sudo apt install flex” everything installed successfully. Thank you!