Compiling and Installing PAML
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the PMAL installation package:
tar xf paml4.9j.tgz
- Run the following command to switch to the directory generated after decompression:
cd paml4.9j
- Run the following commands to delete the Windows executable file (.exe file) from the paml4.9j/bin/ folder:
cd /path/to/PAML/paml4.9j/bin
rm *.exe
- Run the following commands to perform compilation:
cd /path/to/PAML/paml4.9j/src
make -f Makefile
ls -lF
rm *.o
- Run the following commands to copy the executable file in the src directory to the bin directory:
cp /path/to/PAML/paml4.9j/src/baseml basemlg codeml pamp evolver yn00 chi2 /path/to/PAML/paml4.9j/bin
cd ..
ls -lF bin
If the following three files exist in the bin directory, the compilation is successful:
bin/baseml bin/codeml bin/evolver
Parent topic: PAML 4.9j Porting Guide (CentOS 7.6)