Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
PPC-BSC
Software
Deep Health Compss
Commits
475a45b3
Commit
475a45b3
authored
Nov 19, 2021
by
vmasip
Browse files
Compss configured and tested for k8s server
parent
7ee183ec
Changes
6
Hide whitespace changes
Inline
Side-by-side
compss/project.xml
View file @
475a45b3
...
...
@@ -2,14 +2,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Project>
<MasterNode/>
<ComputeNode
Name=
"10.1.
19
.3
0
"
>
<ComputeNode
Name=
"10.1.
54
.3
8
"
>
<InstallDir>
/opt/COMPSs/
</InstallDir>
<WorkingDir>
/home/root/COMPSsWorker/
</WorkingDir>
<User>
root
</User>
<Application>
</Application>
</ComputeNode>
<ComputeNode
Name=
"10.1.
19.29
"
>
<ComputeNode
Name=
"10.1.
48.58
"
>
<InstallDir>
/opt/COMPSs/
</InstallDir>
<WorkingDir>
/home/root/COMPSsWorker/
</WorkingDir>
<User>
root
</User>
...
...
@@ -17,7 +17,7 @@
<Pythonpath>
/usr/lib/python3.8
</Pythonpath>
</Application>
</ComputeNode>
<ComputeNode
Name=
"10.1.2.
21
"
>
<ComputeNode
Name=
"10.1.2.
39
"
>
<InstallDir>
/opt/COMPSs/
</InstallDir>
<WorkingDir>
/home/root/COMPSsWorker/
</WorkingDir>
<User>
root
</User>
...
...
@@ -25,7 +25,7 @@
<Pythonpath>
/usr/lib/python3.8
</Pythonpath>
</Application>
</ComputeNode>
<ComputeNode
Name=
"10.1.54.
20
"
>
<ComputeNode
Name=
"10.1.54.
39
"
>
<InstallDir>
/opt/COMPSs/
</InstallDir>
<WorkingDir>
/home/root/COMPSsWorker/
</WorkingDir>
<User>
root
</User>
...
...
@@ -33,7 +33,7 @@
<Pythonpath>
/usr/lib/python3.8
</Pythonpath>
</Application>
</ComputeNode>
<ComputeNode
Name=
"10.1.
48.23
"
>
<ComputeNode
Name=
"10.1.
19.70
"
>
<InstallDir>
/opt/COMPSs/
</InstallDir>
<WorkingDir>
/home/root/COMPSsWorker/
</WorkingDir>
<User>
root
</User>
...
...
compss/resources.xml
View file @
475a45b3
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ResourcesList>
<MasterNode/>
<ComputeNode
Name=
"10.1.19.30"
>
<ComputeNode
Name=
"10.1.54.38"
>
<Processor
Name=
"MainProcessor"
>
<ComputingUnits>
2
</ComputingUnits>
</Processor>
...
...
@@ -17,7 +16,7 @@
</Adaptor>
</Adaptors>
</ComputeNode>
<ComputeNode
Name=
"10.1.
19.29
"
>
<ComputeNode
Name=
"10.1.
48.58
"
>
<Processor
Name=
"MainProcessor"
>
<ComputingUnits>
2
</ComputingUnits>
</Processor>
...
...
@@ -33,7 +32,7 @@
</Adaptor>
</Adaptors>
</ComputeNode>
<ComputeNode
Name=
"10.1.2.
21
"
>
<ComputeNode
Name=
"10.1.2.
39
"
>
<Processor
Name=
"MainProcessor"
>
<ComputingUnits>
2
</ComputingUnits>
</Processor>
...
...
@@ -49,7 +48,7 @@
</Adaptor>
</Adaptors>
</ComputeNode>
<ComputeNode
Name=
"10.1.54.
20
"
>
<ComputeNode
Name=
"10.1.54.
39
"
>
<Processor
Name=
"MainProcessor"
>
<ComputingUnits>
2
</ComputingUnits>
</Processor>
...
...
@@ -65,7 +64,7 @@
</Adaptor>
</Adaptors>
</ComputeNode>
<ComputeNode
Name=
"10.1.
48.23
"
>
<ComputeNode
Name=
"10.1.
19.70
"
>
<Processor
Name=
"MainProcessor"
>
<ComputingUnits>
2
</ComputingUnits>
</Processor>
...
...
compss/runcompss_test.sh
View file @
475a45b3
runcompss
--resources
=
/var/local/compss_conf/resources.xml
--project
=
/var/local/compss_conf/project.xml
--master_name
=
10.1.19.30
\ No newline at end of file
runcompss
--resources
=
/var/local/compss_conf/resources.xml
--project
=
/var/local/compss_conf/project.xml
--master_name
=
10.1.54-38 /tutorial_apps-stable/python/simple/src/simple.py 5
\ No newline at end of file
docker/Dockerfile
→
docker/Dockerfile
.test
View file @
475a45b3
FROM
compss
/
compss
:
latest
ADD
https
://
github
.
com
/
bsc
-
wdc
/
tutorial_apps
/
archive
/
refs
/
heads
/
stable
.
zip
/
tmp
/
RUN
unzip /tmp/stable.zip
RUN
unzip
/
tmp
/
stable
.
zip
&&
apt
update
-
y
&&
apt
install
iputils
-
ping
netcat
-
y
kubernetes/compss_deephealth.yaml
View file @
475a45b3
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
compss-deployment
namespace
:
compss-space
name
:
compss-deploy
labels
:
app
s
:
compss
app
:
compss
-deploy
spec
:
replicas
:
4
selector
:
matchLabels
:
app
:
compss
replicas
:
5
app
:
compss-deploy
template
:
metadata
:
labels
:
app
:
compss
app
:
compss
-deploy
spec
:
volumes
:
-
name
:
compss-vol
hostPath
:
path
:
/var/local/compss_conf
type
:
DirectoryOrCreate
containers
:
-
name
:
compss-cont
image
:
my-compss-image:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
22
volumeMounts
:
-
mountPath
:
/var/local/compss_conf
name
:
compss-vol
-
name
:
worker
image
:
vmganela/compss
ports
:
-
containerPort
:
43001
-
containerPort
:
22
\ No newline at end of file
kubernetes/compss_deephealth_test.yaml
0 → 100644
View file @
475a45b3
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
compss-deployment
namespace
:
compss-space
labels
:
apps
:
compss
spec
:
selector
:
matchLabels
:
app
:
compss
replicas
:
5
template
:
metadata
:
labels
:
app
:
compss
spec
:
volumes
:
-
name
:
compss-vol
hostPath
:
path
:
/var/local/compss_conf
type
:
DirectoryOrCreate
containers
:
-
name
:
compss-cont
image
:
registry.gitlab.bsc.es/ppc-bsc/software/deep-health-compss/compss-test:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
22
volumeMounts
:
-
mountPath
:
/var/local/compss_conf
name
:
compss-vol
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment