Software:tinkercpu: Difference between revisions

From biowiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:


<code> cd tinker/source
<code> cd tinker/source
        cp /tinker/make/Makefile tinker/source
</code>
</code>

Revision as of 03:00, 10 May 2022

Tinker CPU

For Tinker CPU code, download from GitHub: https://github.com/TinkerTools/tinker (git clone recommended)

Then follow the compilation instructions:

Notes about compiling tinker 8 with OpenMP

1. Set up gcc/gfortran or intel ifort v12 or above compiler (set this up in .bashrc or .cshrc). If use intel, for csh add this line is .cshrc and source it

source /opt/intel/composer_xe_2013.2.146/bin/compilervars.csh intel64


Or .bashrc if you use bash:

source /opt/intel/composer_xe_2013.2.146/bin/compilervars.sh intel64

Intel compiled programs perform better than GNU-compiled ones on multiple intel CPU cores. 

2. Compile fftw by following 0README in tinker/fftw/. Use gcc and gfortran or icc and ifort.

3. Compile executables under tinker/source/

You may use the compile.make, library.make and link.make in tinker/linux or tinker/macosx. Copy these 3 files into tinker/source and extecute the 3 on that folder seuqentially. You may need to change the options in the .make files if you have trouble.

You may also use the Makefile provided in tinker/make/

cd tinker/source

       cp /tinker/make/Makefile tinker/source