This is an old revision of the document!


Quick Start Guide for USER-MESO

If you have any question/problem regarding the setup process, feel free to contact Yu-Hang.


Download

You can either download the source code as a tar ball or (preferably) use subversion:

Tar ball:

wget http://www.cfm.brown.edu/repo/release/USER-MESO.tgz
tar xzf USER-MESO.tgz

Subversion:

svn co http://www.cfm.brown.edu/repo/release/USER-MESO/ USER-MESO

Compiling the Source

Prerequisites

  • A MPI compiler, e.g. OpenMPI or MPICH.
  • CUDA Toolkit

Compilation

Short version:

$ 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

Long Version:

First, make sure that mpic++ and nvcc are in the system path by

$ which mpic++
$ which nvcc

You should be expecting output that looks like

$ which mpic++
/usr/lib64/mpich/bin/mpic++
$ which nvcc
/usr/local/cuda/bin/nvcc

If you got something like

/usr/bin/which: no mpic++ in (/usr/local/bin:/bin:/usr/bin)

Then you need to adjust Makefile.meso located in USER-MESO/MAKE accordingly:

  1. replace of mpic++ with the full path that points to the MPI compiler
  2. replace nvcc with the full path that point
$ 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

Troubleshooting


Creating Input Script


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