Error in make during install for parallel MEME

326 views
Skip to first unread message

Connor Driscoll

unread,
Jul 3, 2017, 8:41:15 PM7/3/17
to MEME Suite Q&A
Hi, I'm running into an error after running make during install. This only occurs if I try to configure parallel MEME using MPICH, otherwise I can make it through the make step. The mpirun command is in the proper location the Makefile is looking for. Here is the error output:

Making all in parallel
make[4]: Entering directory `/home/connor/Programs/MEME/meme_4.12.0/src/parallel'
DHAVE_CONFIG_H -I. -I../..    -I.. -DPARALLEL  -I../../src/libxml2/include -DMPI_CMD="/usr/lib64/mpich/bin/mpirun -np" -DMEME_MAIN -std=gnu89 -Wall -Wno-unused -DUNIX -D__USE_FIXED_PROTOTYPES__   -O3 -MT ../meme-banner.o -MD -MP -MF ../.deps/meme-banner.Tpo -c -o ../meme-banner.o `test -f '../banner.c' || echo './'`../banner.c
/bin/sh: DHAVE_CONFIG_H: command not found
make[4]: [../meme-banner.o] Error 127 (ignored)
mv -f ../.deps/meme-banner.Tpo ../.deps/meme-banner.Po
mv: cannot stat ‘../.deps/meme-banner.Tpo’: No such file or directory
make[4]: *** [../meme-banner.o] Error 1
make[4]: Leaving directory `/home/connor/Programs/MEME/meme_4.12.0/src/parallel'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/connor/Programs/MEME/meme_4.12.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/connor/Programs/MEME/meme_4.12.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/connor/Programs/MEME/meme_4.12.0'
make: *** [all] Error 2

Connor Driscoll

unread,
Jul 6, 2017, 11:26:47 AM7/6/17
to MEME Suite Q&A
We figured out the issue. We had been installing MPICH through yum, but as a result mpicc was not being generated, which MEME requires to run in parallel. Installing MPICH from source did the trick.

CharlesEGrant

unread,
Jul 11, 2017, 4:05:14 PM7/11/17
to MEME Suite Q&A
HI Connor, 

We're glad you were able to fix the problem. To be precise, the MEME Suite is distributed as source code. The source code for MEME contains optional code that uses the MPI library, but compiling that optional coce requires mpicc, which is the compiler driver for building programs that use MPICH. Once you've built MEME, mpicc is no longer required, just the MPI runtime libraries.
Reply all
Reply to author
Forward
0 new messages