MOLSIM is an integrated MC/molecular dynamics/Brownian dynamics simulation package created by Per Linse in Lund. Version 6.4.7. of Molsim is beeing further developed and extended using this git.
There are two possibilities of how to obtain the code. You can either simply download the zip of the code, or clone the whole repository.
Download the zip from here and save it in the directory of your choice. Afterwards, navigate to that directory and extract the source code with
unzip <name of the zip file>
You might want to rename the directory to some more reasonable name.
Just run
git clone https://github.com/joakimstenhammar/molsim.gitIf you set up your ssh key at GitHub you can run
git clone git@github.com:joakimstenhammar/molsim.gitNavigate into the Molsim directroy and run the configure script. This will check some dependencies. Molsim requires FFTW 3.3.4. In can be install automatically within the configure script (Note: This might take some time). The configure script will also ask you for a version name. This version name will be appended to the executables of molsim (molsim_ser.ver instead of molsim_ser). Leave it blank for no special version name.
cd Molsim
./configure.shThe configure script tries to locate the FFTW libary. If you want to customize the path of the libary, modify the Src/make.fftwpath file. Additionally it will select which compiler to use. To costumize the compiler which is to be used change the Src/make.arch file.
Now make Molsim:
make allFor more details confer the MOLSIM manual.
Confer the MOLSIM manual for the standard commands.
- Cygwin
- To install
FFTWin cygwin you can either install it with the configure script (slow), or install the packagelibfftw3-devel. Either way you have to runupdatedbafterwards to update the database of your file system.
- To install