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:33]
ytang
user-meso:quickstart [2015/03/17 02:39]
ytang [Compiling the Source]
Line 21: Line 21:
  
 ---- ----
-==== Compiling the Source ​====+==== Compilation ​====
  
 === Prerequisites === === Prerequisites ===
Line 41: Line 41:
 Long Version: Long Version:
  
-First, make sure that mpic++ and nvcc are in the system path by+First, make sure that mpic++ and nvcc are available ​by
 <code bash> <code bash>
 $ which mpic++ $ which mpic++
Line 53: Line 53:
 /​usr/​local/​cuda/​bin/​nvcc /​usr/​local/​cuda/​bin/​nvcc
 </​code>​ </​code>​
-If you got something ​like+If you are sure that MPI and CUDA are present, but still get messages ​like
 <code bash> <code bash>
 /​usr/​bin/​which:​ no mpic++ in (/​usr/​local/​bin:/​bin:/​usr/​bin) /​usr/​bin/​which:​ no mpic++ in (/​usr/​local/​bin:/​bin:/​usr/​bin)
 </​code>​ </​code>​
-Then you need to adjust **''​Makefile.meso''​** located in **''​USER-MESO/​MAKE''​** ​accordingly:​ +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.
-  - replace of mpic++ with the full path that points ​to the MPI compiler +
-  - replace ​nvcc with the full path that point +
- +
-<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>​+
  
 ---- ----

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