[mvapich-discuss] Problems building MVAPICH2 2.3.4 w/o flex

Dan Pou daniel.pou at hpe.com
Wed Jul 1 09:18:49 EDT 2020


Resending, because of a mail configuration error.

The 2.3.4 release fails to build if you don't have flex (or suitable lex command) installed.
The build does not flag lex as missing, just errors out with a missing file.
The ylwrap LEX command is just : in a build without flex, it called flex after I installed it.

It looks like the file
mvapich2-2.3.3/src/pm/mpirun/src/hostfile/scanner.c
was shipped in the 2.3.3 release, but not in 2.3.4.

   YACC     src/pm/mpirun/src/hostfile/src_pm_mpirun_src_hostfile_libhostfile_a-parser.c
mvapich2-2.3.4/src/pm/mpirun/src/hostfile/parser.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
src/pm/mpirun/src/hostfile/src_pm_mpirun_src_hostfile_libhostfile_a-parser.h is unchanged
   CC       src/pm/mpirun/src/hostfile/src_pm_mpirun_src_hostfile_libhostfile_a-parser.o
   LEX      src/pm/mpirun/src/hostfile/scanner.c
   CC       src/pm/mpirun/src/hostfile/scanner.o
gcc: error: src/pm/mpirun/src/hostfile/scanner.c: No such file or directory

Thanks,
-Dan



More information about the mvapich-discuss mailing list