Also use this procedure when you do not have the root (administrator) account of the Linux (or UNIX) system.
% tar xfvz mafft-x.xxx-with-extensions-src.tgz mafft-x.xxx-with-extensions/ mafft-x.xxx-with-extensions/binaries/ mafft-x.xxx-with-extensions/test/ mafft-x.xxx-with-extensions/test/sample.dpparttree ...
% cd mafft-x.xxx-with-extensions/core/ % vi Makefile (any other text editor is ok.) From: PREFIX = /usr/local To: PREFIX = /home/your_home/somewhere (must be absolute path)
From: BINDIR = $(PREFIX)/bin To: BINDIR = /home/your_home/bin (or elsewhere in your command-search path)
% make clean % make % make install
Make sure that mpicc and mpirun, from the same library, work. % cd ../../ % cd mafft-x.xxx-with-extensions/MPI/ % vi Makefile (any other text editor is ok.) From: PREFIX = /usr/local To: PREFIX = /home/your_home/somewhere (must be absolute path)Ask administrator of your PC cluster where mpicc is.
% make clean % make % make install
If you had set the MAFFT_BINARIES variable at the previous installation, unset the variable.