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

Dan Pou daniel.pou at hpe.com
Wed Jul 1 10:30:32 EDT 2020


It looks like 2.3.4 cleaned up some generated files, which is fine. It
is just helpful to have a useful error. Some minimal installs do not
have all development tools installed.
At first, I thought it was due to the byacc warning
parser.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr] src/pm/mpirun/src/hostfile/src_pm_mpirun_src_hostfile_libhostfile_a-parser.h.

-Dan

On Wed, Jul 01, 2020 at 02:15:48PM +0000, Subramoni, Hari wrote:
>Hi, Dan.
>
>Thanks for pointing this out to us. We appreciate it.
>
>We will explicitly add YACC/LEX as a dependency.
>
>Since these are temporary files which get regenerated when we do a build we had deleted it. If you think it is beneficial for these files to be included in the tarball, please let us know.
>
>Best,
>Hari.
>
>-----Original Message-----
>From: mvapich-discuss-bounces at cse.ohio-state.edu <mvapich-discuss-bounces at mailman.cse.ohio-state.edu> On Behalf Of Dan Pou
>Sent: Wednesday, July 1, 2020 9:19 AM
>To: mvapich-discuss at cse.ohio-state.edu <mvapich-discuss at mailman.cse.ohio-state.edu>
>Subject: [mvapich-discuss] Problems building MVAPICH2 2.3.4 w/o flex
>
>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
>
>_______________________________________________
>mvapich-discuss mailing list
>mvapich-discuss at cse.ohio-state.edu
>http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>_______________________________________________
>mvapich-discuss mailing list
>mvapich-discuss at cse.ohio-state.edu
>http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss


More information about the mvapich-discuss mailing list