Skip to content
Snippets Groups Projects
Commit 36a79afa authored by Anne Philipp's avatar Anne Philipp
Browse files

added header info and corrected controlfile path definition for ec server

parent 20ae3356
Branches
Tags
No related merge requests found
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
set SPHINXPROJ=flex_extract
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
:end
popd
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
#******************************************************************************* '''
# @Author: Anne Philipp (University of Vienna) *******************************************************************************
# @Author: Anne Philipp (University of Vienna)
# @Date: August 2018
# @Date: August 2018
# @Change History:
# @Change History:
# @License:
# (C) Copyright 2014-2018. @License:
# (C) Copyright 2014-2018.
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
# @Description:
# Contains constant value parameter for flex_extract. @Description:
# Contains constant value parameter for flex_extract.
#*******************************************************************************
*******************************************************************************
'''
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# MODULES # MODULES
...@@ -77,8 +79,8 @@ PATH_JOBSCRIPTS = os.path.join(PATH_RUN_DIR, 'jobscripts') ...@@ -77,8 +79,8 @@ PATH_JOBSCRIPTS = os.path.join(PATH_RUN_DIR, 'jobscripts')
PATH_FORTRAN_SRC = os.path.join(PATH_SOURCES, 'fortran') PATH_FORTRAN_SRC = os.path.join(PATH_SOURCES, 'fortran')
PATH_TEST_DIR = os.path.join(PATH_SOURCES, 'pythontest') PATH_TEST_DIR = os.path.join(PATH_SOURCES, 'pythontest')
PATH_INPUT_DIR = os.path.join(PATH_RUN_DIR, INPUT_DIRNAME_DEFAULT) PATH_INPUT_DIR = os.path.join(PATH_RUN_DIR, INPUT_DIRNAME_DEFAULT)
if os.getenv('CONTROL'):# and '/' in os.getenv('CONTROL'): if os.getenv('CONTROL'):
# this is only needed if remote version with job script is used! # this is only needed if gateway version with job script is used!
# because job is directly submitted from SCRATCH and because the # because job is directly submitted from SCRATCH and because the
# CONTROL file is stored there, the normal path is not valid. # CONTROL file is stored there, the normal path is not valid.
PATH_CONTROLFILES = '.' PATH_CONTROLFILES = '.'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment