Skip to main content Skip to navigation

How to compile

  • In order to compile the code on the COW, load the intel compiler by the following command.

 module load intel-fc-9.1.040-x86_64

  • Compile the code using the compile option -r8 -O3 as following

 ifort -r8 SHARED_DATA.f90 MASS_CALC.f90 PROFILES.f90 FLOW_FIELD.f90 COFF_CALC.f90 BOUNDARY_CONDITIONS.f90 SOLVERS.f90 SETUP.f90 COMPUTE_RIGHT.f90 COMPUTE_LEFT.f90 FFT.f90 POISSON_SOLVER.f90 LES_CALC.f90 UPDATE_FIELD.f90 ran1.f90 fourier.f JET_FLOW.f90 MAIN.f90 -O3

  • Once the code is compiled, it can be submitted for running on COW through a PBS script. More information regarding generating a PBS script for COW can be found on the following link

http://www2.warwick.ac.uk/fac/sci/csc/local/desktop/cow/

  • Sample restart file can be found from the following link

http://www2.warwick.ac.uk/fac/sci/eng/staff/ymc/research/codes/rk3/