adjustments to the python submitter
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s
This commit is contained in:
parent
82c7c00809
commit
58ad94d1ef
@ -58,7 +58,6 @@ jobs:
|
|||||||
echo "=== Debug: Starting upload/submit ==="
|
echo "=== Debug: Starting upload/submit ==="
|
||||||
echo "File: ${{ steps.files.outputs.file }}"
|
echo "File: ${{ steps.files.outputs.file }}"
|
||||||
echo "Member: ${{ steps.files.outputs.member }}"
|
echo "Member: ${{ steps.files.outputs.member }}"
|
||||||
cd /home/gmgauthier/Retro/mvs/src/
|
|
||||||
python3 mvs_job.py "${{ steps.files.outputs.file }}" "@05054.SRCLIB.C" "${{ steps.files.outputs.member }}" "COMPILE"
|
python3 mvs_job.py "${{ steps.files.outputs.file }}" "@05054.SRCLIB.C" "${{ steps.files.outputs.member }}" "COMPILE"
|
||||||
echo "=== Debug: Upload/submit complete ==="
|
echo "=== Debug: Upload/submit complete ==="
|
||||||
env:
|
env:
|
||||||
|
@ -6,8 +6,8 @@ import tempfile
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
SRCLIB = "src/"
|
SRCLIB = "src"
|
||||||
JCLLIB = "jcl/"
|
JCLLIB = "jcl"
|
||||||
MVSHOST = "oldcomputernerd.com"
|
MVSHOST = "oldcomputernerd.com"
|
||||||
RDRPORT = 3505
|
RDRPORT = 3505
|
||||||
|
|
||||||
@ -15,8 +15,9 @@ def upload_source(local_file, dataset_name, member_name, mvshost=MVSHOST):
|
|||||||
"""Upload source code to MVS PDS member"""
|
"""Upload source code to MVS PDS member"""
|
||||||
|
|
||||||
# Read the source file
|
# Read the source file
|
||||||
filepath = os.path.join(SRCLIB, local_file)
|
# full path will come from the job runner
|
||||||
with open(filepath, 'r') as f:
|
# filepath = os.path.join(SRCLIB, local_file)
|
||||||
|
with open(local_file, 'r') as f:
|
||||||
source_lines = f.readlines()
|
source_lines = f.readlines()
|
||||||
|
|
||||||
# PDS member: Use IEBUPDTE
|
# PDS member: Use IEBUPDTE
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
#define PRIMES 1000
|
#define PRIMES 1000
|
||||||
|
|
||||||
// Sieve of Eratosthenes
|
// Sieve of Eratosthenes
|
||||||
// Author: Greg Gauthier
|
|
||||||
// Date: 2016-01-20
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
int i,j,numbers[LIMIT];
|
int i,j,numbers[LIMIT];
|
||||||
|
Loading…
Reference in New Issue
Block a user