Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
user-meso:quickstart [2014/09/18 15:07]
ytang created
user-meso:quickstart [2015/03/17 02:39]
ytang [Compiling the Source]
Line 1: Line 1:
 ===== Quick Start Guide for USER-MESO ===== ===== Quick Start Guide for USER-MESO =====
 +If you have any question/​problem regarding the setup process, feel free to contact [[yuhang_tang@brown.edu|Yu-Hang]].
  
-==== Installation ​====+---- 
 +==== Download ​====
  
-=== Download ===+You can either download the source code as a tar ball or (preferably) use [[https://​subversion.apache.org/​|subversion]]:​
  
-=== Compiling the Source ===+**Tar ball:**
  
-=== Troubleshooting ===+<code bash> 
 +wget http://​www.cfm.brown.edu/​repo/​release/​USER-MESO.tgz 
 +tar xzf USER-MESO.tgz 
 +</​code>​
  
 +**Subversion:​**
 +
 +<code bash>
 +svn co http://​www.cfm.brown.edu/​repo/​release/​USER-MESO/​ USER-MESO
 +</​code>​
 +
 +----
 +==== Compilation ====
 +
 +=== Prerequisites ===
 +  * A MPI compiler, e.g. OpenMPI or MPICH.
 +  * CUDA Toolkit
 +
 +=== Compilation ===
 +
 +Short version:
 +
 +<code bash>
 +$ cd USER-MESO
 +$ make clean-all ​    # delete temporary files if any was left from last compilation
 +$ make yes-molecule ​ # dependency
 +$ make yes-user-meso # configure the USER-MESO package
 +$ make meso
 +</​code>​
 +
 +Long Version:
 +
 +First, make sure that mpic++ and nvcc are available by
 +<code bash>
 +$ which mpic++
 +$ which nvcc
 +</​code>​
 +You should be expecting output that looks like
 +<code bash>
 +$ which mpic++
 +/​usr/​lib64/​mpich/​bin/​mpic++
 +$ which nvcc
 +/​usr/​local/​cuda/​bin/​nvcc
 +</​code>​
 +If you are sure that MPI and CUDA are present, but still get messages like
 +<code bash>
 +/​usr/​bin/​which:​ no mpic++ in (/​usr/​local/​bin:/​bin:/​usr/​bin)
 +</​code>​
 +Then adjust **''​Makefile.meso''​** located in **''​USER-MESO/​MAKE''​** by setting the **''​CC''​** and **''​MPICXX''​** environment variables to be the absolute path to nvcc and mpic++, respectively.
 +
 +----
 +==== Troubleshooting ====
 +
 +----
 ==== Creating Input Script ==== ==== Creating Input Script ====

Navigation
QR Code
QR Code Quick Start Guide for USER-MESO (generated for current page)