Skip to content

Commit 29a2888

Browse files
Add WCOSS2 support for tests
No mpiexec script to submit jobs had been added to run the test suite on WCOSS2. Now one has been added, and other necessary updates to recognize Cactus and Dogwood have been made. Fixes ufs-community#690
1 parent c721768 commit 29a2888

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

cmake/LibMPI.cmake

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ function (platform_name RETURN_VARIABLE)
4747

4848
# wcoss2
4949
elseif (SITENAME MATCHES "^along01" OR
50-
SITENAME MATCHES "^alogin02")
50+
SITENAME MATCHES "^alogin02" OR
51+
SITENAME MATCHES "^clogin" OR
52+
SITENAME MATCHES "^dlogin")
5153

5254
set (${RETURN_VARIABLE} "wcoss2" PARENT_SCOPE)
5355

cmake/mpiexec.wcoss2

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
#
3+
# Arguments:
4+
#
5+
# $1 - Number of MPI Tasks
6+
# $2+ - Executable and its arguments
7+
#
8+
9+
ACCOUNT=GFS-DEV
10+
QUEUE=dev
11+
12+
NP=$1
13+
shift
14+
15+
qsub -A $ACCOUNT -q $QUEUE -l select=1:ncpus=$NP:mem=1GB -l place=vscatter -l walltime=00:10:00 $@

0 commit comments

Comments
 (0)