User Tools

Site Tools


docs:trillian

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
docs:trillian [2015/06/15 11:33]
gibson
docs:trillian [2015/07/02 13:28]
gibson [Installation]
Line 1: Line 1:
 ====== Channelflow on trillian ====== ====== Channelflow on trillian ======
  
-Here are some extra instructions for installing and using channelflow on +Some extra instructions for installing and using channelflow on 
 [[http://​trillian-use.sr.unh.edu/​index.php/​Main_Page|trillian]],​ [[http://​trillian-use.sr.unh.edu/​index.php/​Main_Page|trillian]],​
 UNH's CRAY XE6m-200 supercomputer. UNH's CRAY XE6m-200 supercomputer.
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 =====
  
Line 79: Line 79:
 } }
 </​code>​ </​code>​
-This bit of code tells bash where your channelflow programs are, configures the Cray programming environment correctly, and then defines a ''​qsubmit''​ function+This bit of code tells bash where your channelflow programs are, configures the Cray programming environment correctly, and then defines a ''​qsubmit''​ function, which can be used as follows ​
  
 <​code>​ <​code>​
 cd ~/​simulations/​test-qsubmit cd ~/​simulations/​test-qsubmit
-randomfield+qsubmit qtest couette -R 500 u0.h5 
 +</​code>​ 
 + 
 +This will submit the command ''​couette -R 500 u0.h5''​ to the PBS queue with jobname "​qtest",​ in working directory ''​~/​simulations/​test-qsubmit''​. 
 + 
docs/trillian.txt · Last modified: 2015/07/02 13:28 by gibson