Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flex Extract
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Flexpart
Flex Extract
Commits
8652e7eb
Commit
8652e7eb
authored
6 years ago
by
Anne Philipp
Browse files
Options
Downloads
Patches
Plain Diff
renamed some functions
parent
5cb0eaa5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/python/install.py
+9
-9
9 additions, 9 deletions
source/python/install.py
with
9 additions
and
9 deletions
source/python/install.py
+
9
−
9
View file @
8652e7eb
...
...
@@ -33,15 +33,15 @@
#
# @Program Content:
# - main
# - get_install_cmdline_arg
ument
s
# - get_install_cmdline_args
# - install_via_gateway
# - mk_tarball
# - un_tarball
# - mk_env_vars
# - mk_compilejob
# - mk_job_template
# - del
ete
_convert_build
# - m
ake
_convert_build
# - del_convert_build
# - m
k
_convert_build
#
#*******************************************************************************
...
...
@@ -77,7 +77,7 @@ def main():
------
'''
args
=
get_install_cmdline_arg
ument
s
()
args
=
get_install_cmdline_args
()
c
=
ControlFile
(
args
.
controlfile
)
c
.
assign_args_to_control
(
args
)
check_install_conditions
(
c
)
...
...
@@ -86,7 +86,7 @@ def main():
return
def
get_install_cmdline_arg
ument
s
():
def
get_install_cmdline_args
():
'''
Decomposes the command line arguments and assigns them to variables.
Apply default values for non mentioned arguments.
...
...
@@ -212,8 +212,8 @@ def install_via_gateway(c):
c
.
install_target
+
'
in directory
'
+
os
.
path
.
abspath
(
c
.
flexpartdir
)
+
'
\n
'
)
del
ete
_convert_build
(
'
.
'
)
m
ake
_convert_build
(
'
.
'
,
c
.
makefile
)
del_convert_build
(
'
.
'
)
m
k
_convert_build
(
'
.
'
,
c
.
makefile
)
os
.
chdir
(
ecd
)
if
os
.
path
.
isfile
(
tar_file
):
...
...
@@ -613,7 +613,7 @@ def mk_job_template(ecuid, ecgid, gateway, destination, fp_root):
return
def
del
ete
_convert_build
(
src_path
):
def
del_convert_build
(
src_path
):
'''
Clean up the Fortran source directory and remove all
build files (e.g. \*.o, \*.mod and CONVERT2)
...
...
@@ -637,7 +637,7 @@ def delete_convert_build(src_path):
return
def
m
ake
_convert_build
(
src_path
,
makefile
):
def
m
k
_convert_build
(
src_path
,
makefile
):
'''
Compiles the Fortran code and generates the executable.
Parameters
...
...
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