Tinkergpu:WSLinstall

From tinkergpu
Jump to: navigation, search

The process is almost the same as a normal Linux machine. 1. preparation

#update apt-get 
sudo apt-get update
#install gfortran 
sudo apt-get install gfortran
#check gfortran 
which gfortran #/usr/bin/gfortran
#check version 
gfortran -v #7.5.0
#install texinfo 
sudo apt-get install texinfo
#check 
which makeinfo #/usr/bin/makeinfo# 

2. Compiling FFTW

# change into fftw folder
cd fftw
  1. read and gollow README file
#configure 
./configure --prefix=/your/prefix/location --enable-openmp --enable-threads
#make && make install 
make -j 8 && make install
#check the $FFTW/lib directory for the existence of the following 
libfftw3.a libfftw3.la libfftw3_omp.a libfftw3_omp.la libfftw3_threads.a libfftw3_threads.la# 

3. compiling Tinker cd ./source

#cop Makefile from tinker/make to tinker/source
#edit Makefile; FFTWDIR should be your prefix in FFTW configuration; use the gfortran block settings 
FFTWDIR = /mnt/c/Users/cheng/Softwares/FFTW/
#make && make install 
make -j 8 && make install
#check the existence of *.x files