Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linuxbin
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor 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
Aerospace and Mechanical Engineering
linuxbin
Commits
f983deba
Commit
f983deba
authored
6 years ago
by
Boman Romain
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into romain
parents
20ed8db0
e256f86e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cfg/frontal3/mumps.profile
+4
-0
4 additions, 0 deletions
cfg/frontal3/mumps.profile
comp.py
+5
-1
5 additions, 1 deletion
comp.py
prmClasses.py
+1
-1
1 addition, 1 deletion
prmClasses.py
with
10 additions
and
2 deletions
cfg/frontal3/mumps.profile
0 → 100644
+
4
−
0
View file @
f983deba
# mumps compile avec Pord et mklrt
add2env
LD_LIBRARY_PATH
"/projects/acad/hpcwe/softs/mumps/lib"
front
add2env
LIB
"/projects/acad/hpcwe/softs/mumps/lib"
front
add2env
INCLUDE
"/projects/acad/hpcwe/softs/mumps/include"
front
This diff is collapsed.
Click to expand it.
comp.py
+
5
−
1
View file @
f983deba
...
...
@@ -52,7 +52,11 @@ class CompJob(ParametricJob):
TextPRM
(
self
.
pars
,
'
MAIL_ADDR
'
,
'
e-mail address (reports)
'
,
os
.
getenv
(
'
USER
'
))
TextPRM
(
self
.
pars
,
'
SMTP_SERV
'
,
'
SMTP email server
'
,
'
smtp.ulg.ac.be
'
)
TextPRM
(
self
.
pars
,
'
ARC_NAME
'
,
'
archive name
'
,
'
~/dev.zip
'
)
TextPRM
(
self
.
pars
,
'
CMAKELIST
'
,
'
build options
'
,
"
%s.cmake
"
%
socket
.
gethostbyaddr
(
socket
.
gethostname
())[
0
].
split
(
'
.
'
)[
0
])
try
:
machineName
=
socket
.
gethostbyaddr
(
socket
.
gethostname
())[
0
].
split
(
'
.
'
)[
0
]
# lpx : marche pas dans des vbox
except
:
machineName
=
socket
.
gethostname
().
split
(
'
.
'
)[
0
]
# marche dans ma vbox
TextPRM
(
self
.
pars
,
'
CMAKELIST
'
,
'
build options
'
,
"
%s.cmake
"
%
machineName
)
YesNoPRM
(
self
.
pars
,
'
DEBUG_MODE
'
,
'
debug mode
'
,
False
)
TextPRM
(
self
.
pars
,
'
NICE_VALUE
'
,
'
nice value
'
,
"
0
"
)
...
...
This diff is collapsed.
Click to expand it.
prmClasses.py
+
1
−
1
View file @
f983deba
...
...
@@ -159,7 +159,7 @@ class MultiPRM(PRM):
def
writePRM
(
self
,
file
):
file
.
write
(
"
self.pars[
'
%s
'
].vals=[
"
%
(
self
.
key
))
for
v
in
self
.
vals
:
file
.
write
(
"'
%s
'
,
"
%
(
v
))
file
.
write
(
"'
%s
'
,
"
%
(
repr
(
v
)
))
file
.
write
(
"
]
\n
"
)
PRM
.
writePRM
(
self
,
file
)
...
...
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