This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:trillian [2015/06/16 07:29] gibson [Channelflow on trillian] |
docs:trillian [2015/07/02 13:28] (current) gibson |
||
---|---|---|---|
Line 31: | Line 31: | ||
mkdir ~/channelflow/build | mkdir ~/channelflow/build | ||
cd ~/channelflow/build | cd ~/channelflow/build | ||
- | cmake -DCMAKE_CXX_COMPILER=/opt/gcc/4.7.2/bin/g++ -DWITH_FFTW=/opt/fftw/3.3.0.2/x86_64/lib -DWITH_HDF5=~gibson/packages/hdf5-1.8.15/lib -DWITH_EIGEN3=~gibson/packages/eigen-3.2.4 -DCMAKE_INSTALL_PREFIX=~/channelflow ~/svnrepos/channelflow/trunk/ | + | cmake -DCMAKE_C_COMPILER=/opt/gcc/4.7.2/bin/gcc -DCMAKE_CXX_COMPILER=/opt/gcc/4.7.2/bin/g++ -DWITH_FFTW=/opt/fftw/3.3.0.2/x86_64/lib -DWITH_HDF5=~gibson/packages/hdf5-1.8.15/lib -DWITH_EIGEN3=~gibson/packages/eigen-3.2.4 -DCMAKE_INSTALL_PREFIX=~/channelflow ~/svnrepos/channelflow/trunk/ |
make | make | ||
make test | make test | ||
Line 45: | Line 45: | ||
</code> | </code> | ||
+ | Note: Sometimes CMake can get confused if changes in the build system conflict with cached values of build system variables. If the above sequence doesn't work for you, try removing ''CMakeCache.txt'' and ''CMakeFiles/'' from your build directory and rerunning the ''cmake ...'' command above. | ||
===== Submitting jobs ===== | ===== Submitting jobs ===== |