Manually installing openmpi seemed to have fixed the problem. For some reason, it wasn't recognizing the apt-get installed openmpi, and using the directory flag gave an error that seems to be related to it not being installed correct. Maybe it gives that error every time you give an incorrect mpidir flag? It just seemed odd, since the directory was there and the error it got was running a command where obviously the 'gcc -' part had disappeared.
I downloaded meme_4.11.2
I want to use at least 6th order, because I want to look how groups of 3 amino acids are arranged. I already know how common the 3-words are. I want to know how they are connected.
I now have MEME installed with parallel. But the new problem is that using 6th order background model, with multiple processors, MEME uses so much memory, it gets killed
'mpirun noticed that process rank1 with PID 0 on node mark exited on signal 9 (killed)
So far, it seems to have enough memory to give 3 processors the 24 gig 6th order background model, without it running out of memory. I guess 3 is better than using 1.
Do you want to look into the error I worked around? I am using linux mint 18.1 and I can imagine it would be nice if users with Mint (and Ubuntu/Debian maybe) can just use apt-get to install openmpi and get MEME working.
As for my problem, I think I found the right tool in MEME. I have 3-words that all start with glycine and I want to know if they form motifs that are 9, 12, 15-word. Without a background, it will recognise all my sequences as a motif, because they all have G every third AA.
All I seem to be missing is the ability to run on all 8 of my processors using the 24 gig background. But maybe that just requires 192 gig of memory, by definition?
Otherwise, ill revert back to 1 processor, if memory is the bottle neck.
One thing I am missing, though, is an option to only find motifs that occur n times in the same sequence.