Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WCOSS2 support for tests #693

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmake/LibMPI.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ function (platform_name RETURN_VARIABLE)

# wcoss2
elseif (SITENAME MATCHES "^along01" OR
SITENAME MATCHES "^alogin02")
SITENAME MATCHES "^alogin02" OR
SITENAME MATCHES "^clogin" OR
SITENAME MATCHES "^dlogin")

set (${RETURN_VARIABLE} "wcoss2" PARENT_SCOPE)

Expand Down
15 changes: 15 additions & 0 deletions cmake/mpiexec.wcoss2
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
#
# Arguments:
#
# $1 - Number of MPI Tasks
# $2+ - Executable and its arguments
#

ACCOUNT=GFS-DEV
QUEUE=dev

NP=$1
shift

qsub -A $ACCOUNT -q $QUEUE -l select=1:ncpus=$NP:mem=1GB -l place=vscatter -l walltime=00:10:00 $@