Installation: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 19: Line 19:
This procedure is tested on Ubuntu 20.04 LTS but other compatible distributions should work as well. First, install the following system packages:
This procedure is tested on Ubuntu 20.04 LTS but other compatible distributions should work as well. First, install the following system packages:
<pre>
<pre>
$ sudo apt-get install git cmake gcc g++ gfortran openmpi-bin  
$ sudo apt-get install git cmake gcc g++ gfortran libblas-dev liblapack-dev openmpi-bin  
</pre>
</pre>
   
   
Line 30: Line 30:
$ ./build-utils/00.init-links.sh
$ ./build-utils/00.init-links.sh
$ ./01.pull-code.sh
$ ./01.pull-code.sh
$ cmake -DCMAKE_INSTALL_PREFIX=/path/to/sander-pmf/single .
$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/bin/sander-pmf/single .
$ make
$ make
$ make install
$ make install
Line 46: Line 46:
$ export CXX=mpic++
$ export CXX=mpic++
$ export FC=mpif90
$ export FC=mpif90
$ cmake -DCMAKE_INSTALL_PREFIX=/path/to/sander-pmf/para .
$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/bin/sander-pmf/para .
$ make
$ make
$ make install
$ make install
</pre>
</pre>