Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bc_uab_ansys
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bo-Chun Chen
bc_uab_ansys
Commits
55c25016
Unverified
Commit
55c25016
authored
6 years ago
by
Ravi Tripathi
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1 from krishmoodbidri/master
Modified to suit SAS environment
parents
67799775
d4bc40a5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
form.yml
+31
-47
31 additions, 47 deletions
form.yml
manifest.yml
+5
-5
5 additions, 5 deletions
manifest.yml
submit.yml.erb
+6
-8
6 additions, 8 deletions
submit.yml.erb
template/script.sh.erb
+4
-15
4 additions, 15 deletions
template/script.sh.erb
with
46 additions
and
75 deletions
form.yml
+
31
−
47
View file @
55c25016
---
---
cluster
:
"
owens"
cluster
:
"
{{
cluster_name
}}"
form
:
-
version
-
bc_account
-
bc_num_hours
-
bc_num_slots
-
num_cores
-
node_type
-
bc_vnc_resolution
-
bc_email_on_started
attributes
:
attributes
:
num_cores
:
bc_num_hours
:
widget
:
"
number_field"
value
:
1
label
:
"
Number
of
cores"
bc_num_slots
:
label
:
Number of CPU
value
:
1
value
:
1
help
:
|
min
:
1
Number of cores on node type (4 GB per core unless requesting whole
max
:
24
node). Leave blank if requesting full node.
min
:
0
max
:
48
step
:
1
step
:
1
id
:
'
num_cores'
bc_num_slots
:
"
1"
bc_num_mems
:
bc_vnc_resolution
:
widget
:
"
number_field"
required
:
true
label
:
Memory per CPU (GB)
bc_account
:
value
:
4
label
:
"
Project"
min
:
1
help
:
"
You
can
leave
this
blank
if
**not**
in
multiple
projects."
max
:
128
node_type
:
step
:
1
bc_partition
:
widget
:
select
widget
:
select
label
:
"
Node
type"
label
:
Partition
help
:
|
- **any** - (*1-28 cores*) Use any available Owens node. This reduces the
wait time as there are no node requirements.
- **hugemem** - (*48 cores*) Use an Owens node that has 1.5TB of
available RAM as well as 48 cores. There are 16 of these nodes on
Owens. Requesting hugemem nodes allocates entire nodes.
- **vis** - (*1-28 cores*) Use an Owens node that has an [NVIDIA Tesla P100
GPU](http://www.nvidia.com/object/tesla-p100.html) with an X server
running in the background. This utilizes the GPU for hardware
accelerated 3D visualization. There are 160 of these nodes on Owens.
options
:
options
:
-
[
"
any"
,
"
"
]
-
[
"
low"
,
"
low"
]
-
[
"
hugemem"
,
"
:hugemem"
]
-
[
"
vis"
,
"
:vis:gpus=1"
]
version
:
version
:
widget
:
select
widget
:
select
label
:
"
MATLAB
version"
label
:
"
SAS
version"
help
:
"
This
defines
the
version
of
MATLAB
you
want
to
load."
help
:
"
This
defines
the
version
of
SAS
you
want
to
load."
options
:
options
:
-
[
"
R2018b"
,
"
matlab/r2018b"
]
-
[
"
v9.4"
,
"
sas/v9.4"
]
-
[
"
R2018a"
,
"
matlab/r2018a"
]
form
:
-
[
"
R2017a"
,
"
matlab/r2017a"
]
-
version
-
[
"
R2016b"
,
"
matlab/r2016b"
]
-
bc_num_hours
-
[
"
R2015b"
,
"
matlab/r2015b"
]
-
bc_partition
-
bc_num_slots
-
bc_num_mems
-
bc_email_on_started
This diff is collapsed.
Click to expand it.
manifest.yml
+
5
−
5
View file @
55c25016
---
---
name
:
MATLAB
name
:
SAS
category
:
Interactive Apps
category
:
Interactive Apps
subcategory
:
GUIs
subcategory
:
GUIs
role
:
batch_connect
role
:
batch_connect
description
:
|
description
:
|
This app will launch a [
MATLAB
] GUI on the [
Owens
cluster]. You will be able
This app will launch a [
SAS
] GUI on the [
Cheaha
cluster]. You will be able
to interact with the
MATLAB
GUI through a VNC session.
to interact with the
SAS
GUI through a VNC session.
[
MATLAB
]: https://www.
mathworks.com/products/matlab
.html
[
SAS
]: https://www.
sas.com/en_us/home
.html
[
Owens
cluster]: https://
www.osc.edu/resources/technical_support/supercomputers/owens
[
Cheaha
cluster]: https://
docs.uabgrid.uab.edu/wiki/Cheaha_GettingStarted
This diff is collapsed.
Click to expand it.
submit.yml.erb
+
6
−
8
View file @
55c25016
<%-
ppn
=
num_cores
.
blank?
?
28
:
num_cores
.
to_i
if
node_type
==
':hugemem'
ppn
=
48
end
%>
---
---
batch_connect:
batch_connect:
template: vnc
template: vnc
script:
script:
native:
native:
resources:
- "-N 1"
nodes: "
<%=
bc_num_slots
.
blank?
?
"1"
:
bc_num_slots
.
to_i
%>
:ppn=
<%=
ppn
%><%=
node_type
%>
"
- "-n
<%=
bc_num_slots
.
blank?
?
1
:
bc_num_slots
.
to_i
%>
"
- "--mem-per-cpu=
<%=
bc_num_mems
.
blank?
?
4
:
bc_num_mems
.
to_i
%>
G"
- "--partition=
<%=
bc_partition
%>
"
- "--time=
<%=
bc_num_hours
.
blank?
?
1
:
bc_num_hours
.
to_i
%>
:00:00"
This diff is collapsed.
Click to expand it.
template/script.sh.erb
+
4
−
15
View file @
55c25016
#!/usr/bin/env bash
#!/usr/bin/env bash
<%-
gpu
=
context
.
node_type
.
include?
(
"vis"
)
-%>
# Clean the environment
# Clean the environment
module purge
module purge
...
@@ -26,20 +25,10 @@ cd "${HOME}"
...
@@ -26,20 +25,10 @@ cd "${HOME}"
)
&
)
&
#
#
# Start
MATLAB
# Start
SAS
#
#
# Load the required environment
# Load the required environment
module load
<%=
context
.
version
%>
module load sas
# Launch SAS
# Launch MATLAB
sas
<%-
if
gpu
-%>
module load intel/16.0.3 virtualgl
module list
set -x
vglrun matlab -desktop -nosoftwareopengl
<%-
else
-%>
module list
set -x
matlab -desktop
<%-
end
-%>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment