Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
user-meso:quickstart [2014/09/18 15:13]
ytang
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]]:​ You can either download the source code as a tar ball or (preferably) use [[https://​subversion.apache.org/​|subversion]]:​
Line 17: Line 17:
  
 <code bash> <code bash>
-svn co http://​www.cfm.brown.edu/​repo/​release/​USER-MESO/​+svn co http://​www.cfm.brown.edu/​repo/​release/​USER-MESO/ ​USER-MESO
 </​code>​ </​code>​
  
 +----
 +==== Compilation ====
  
 +=== Prerequisites ===
 +  * A MPI compiler, e.g. OpenMPI or MPICH.
 +  * CUDA Toolkit
  
 +=== Compilation ===
  
-=== Compiling ​the Source ===+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 ===+---- 
 +==== Troubleshooting ​====
  
 +----
 ==== Creating Input Script ==== ==== Creating Input Script ====

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