This commit is contained in:
guanjihuan 2024-05-08 01:33:20 +08:00
parent 0e8e7e1b75
commit 46e14fe0fe
5 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,8 @@
import time
import guan
print(guan.get_time())
time.sleep(60)
x = ['test_001']
guan.dump_data(x, filename='result_1')
print(guan.get_time())
guan.make_file('./complete_1.txt')

View File

@ -0,0 +1,4 @@
#!/bin/sh
#PBS -N task_1
#PBS -l nodes=1:ppn=1
python task_1.py

View File

@ -0,0 +1,4 @@
import guan
y = guan.load_data(filename='result_1')
guan.dump_data(y, filename='result_2')
print(guan.get_time())

View File

@ -0,0 +1,4 @@
#!/bin/sh
#PBS -N task_2
#PBS -l nodes=1:ppn=1
python task_2.py