source: CIVL/examples/omp/HydroC/compmic@ 1aaefd4

main test-branch
Last change on this file since 1aaefd4 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 616 bytes
RevLine 
[70c4392]1#!/bin/sh
2
3if [ `uname -n` = 'inti9000' ]; then
4 rm make.inc ; ln -s make_icc13_mpi make.inc
5else
6 rm make.inc ; ln -s make_icc_mpi make.inc
7fi
8make clean hydro 1> compileCPU.log 2>&1
9if [ $? -eq 0 ]; then
10 echo "Version CPU"
11 OMP_NUM_THREADS=12 OMP_PROC_BIND=true ./hydro -i input.nml
12else
13 exit 1
14fi
15
16if [ `uname -n` = 'inti9000' ]; then
17 rm make.inc ; ln -s make_mic_mpi make.inc
18 make clean hydro 1> compileMIC.log 2>&1
19 if [ $? -eq 0 ]; then
20 echo "Version MIC"
21 env OMP_PROC_BIND=true ssh mic0 Github/Hydro/HydroC/HydroC99_2DMpi/Src/hydro -i input.nml
22 else
23 exit 1
24 fi
25fi
26
27
28#EOF
Note: See TracBrowser for help on using the repository browser.