Skip to content

Commit 86ebc0e

Browse files
committed
fixing quotes
1 parent 82f36f6 commit 86ebc0e

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

Diff for: README.md

+23-22
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ When setting up a new job submission, it's important to test your job outside
6262
of HTCondor before submitting into the Open Science Pool.
6363

6464
<pre class="term"><code>$ ./short.sh
65-
Start time: Wed Aug 21 09:21:35 CDT 2013
66-
Job is running on node: loginNN.osgconnect.net
67-
Job running as user: uid=54161(alice) gid=1000(users) groups=1000(users),0(root),1001(osg-connect),1002(osg-staff),1003(osg-connect-test),9948(staff),19012(osgconnect)
68-
Job is running in directory: /home/alice/quickstart
65+
Start time: Wed Aug 08 09:21:35 CDT 2023
66+
Job is running on node: ap50.ux.osg-htc.org
67+
Job running as user: uid=54161(alice), gid=5782(osg) groups=5782(osg),5513(osg.login-nodes),7158(osg.OSG-Staff)
68+
Job is running in directory: /home/alice/tutorial-quickstart
6969
Working hard...
7070
Science complete!
7171
</code></pre>
@@ -87,7 +87,7 @@ error = short.error
8787
output = short.output
8888

8989
# This is the default category for jobs
90-
+JobDurationCategory = Medium
90+
+JobDurationCategory = "Medium"
9191

9292
# The below are good base requirements for first testing jobs on OSG,
9393
# if you don't have a good idea of memory and disk usage.
@@ -114,21 +114,21 @@ Submitting job(s).
114114
The `condor_q` command tells the status of currently running jobs.
115115

116116
<pre class="term"><code> $ condor_q
117-
-- Schedd: loginNN.osgconnect.net : <192.170.227.22:9618?... @ 12/10/18 14:19:08
117+
-- Schedd: ap50.ux.osg-htc.org : <192.170.227.22:9618?... @ 08/10/23 14:19:08
118118
OWNER BATCH_NAME SUBMITTED DONE RUN IDLE TOTAL JOB_IDS
119-
alice ID: 1441271 12/10 14:18 _ 1 _ 1 1441271.0
119+
alice ID: 1441271 08/10 14:18 _ 1 _ 1 1441271.0
120120

121121
Total for query: 1 jobs; 0 completed, 0 removed, 0 idle, 1 running, 0 held, 0 suspended
122122
Total for alice: 1 jobs; 0 completed, 0 removed, 0 idle, 1 running, 0 held, 0 suspended
123123
Total for all users: 3001 jobs; 0 completed, 0 removed, 2189 idle, 754 running, 58 held, 0 suspended
124124
</code></pre>
125125

126-
You can also get status on a specific job cluster:
126+
You can also get the status of a specific job cluster:
127127

128128
<pre class="term"><code>$ condor_q 1441271
129-
-- Schedd: loginNN.osgconnect.net : <192.170.227.22:9618?... @ 12/10/18 14:19:08
129+
-- Schedd: ap50.ux.osg-htc.org : <192.170.227.22:9618?... @ 08/10/23 14:19:08
130130
OWNER BATCH_NAME SUBMITTED DONE RUN IDLE TOTAL JOB_IDS
131-
alice ID: 1441271 12/10 14:18 _ 1 _ 1 1441271.0
131+
alice ID: 1441271 08/10 14:18 _ 1 _ 1 1441271.0
132132

133133
Total for query: 1 jobs; 0 completed, 0 removed, 0 idle, 1 running, 0 held, 0 suspended
134134
Total for alice: 1 jobs; 0 completed, 0 removed, 0 idle, 1 running, 0 held, 0 suspended
@@ -155,9 +155,6 @@ $ condor_watch_q
155155

156156
*Note*: To close condor_watch_q, hold down `Ctrl` and press C.
157157

158-
159-
When your job has completed, it will disappear from the output of `condor_q`
160-
161158
### View job history
162159

163160
Once your job has finished, you can get information about its execution
@@ -167,7 +164,7 @@ returns, as shown below:
167164

168165
<pre class="term"><code>$ condor_history alice -limit 1
169166
ID OWNER SUBMITTED RUN_TIME ST COMPLETED CMD
170-
1441272.0 alice 12/10 14:18 0+00:00:29 C 12/10 14:19 /home/alice/tutorial-quickstart/short.sh
167+
1441272.0 alice 08/10 14:18 0+00:00:29 C 08/10 14:19 /home/alice/tutorial-quickstart/short.sh
171168
</code></pre>
172169

173170
*Note*: You can see much more information about your job's final status
@@ -186,7 +183,7 @@ submit file. If everything was successful, it should have returned:
186183
Read the output file. It should be something like this:
187184

188185
<pre class="term"><code>$ cat short.output
189-
Start time: Mon Dec 10 20:18:56 UTC 2018
186+
Start time: Mon Aug 10 20:18:56 UTC 2023
190187
Job is running on node: osg-84086-0-cmswn2030.fnal.gov
191188
Job running as user: uid=12740(osg) gid=9652(osg) groups=9652(osg)
192189
Job is running in directory: /srv
@@ -209,7 +206,8 @@ losing our original script, we make a copy of the file under the name `short_tra
209206

210207
<pre class="term"><code>$ cp short.sh short_transfer.sh</code></pre>
211208

212-
Now, edit the file to include the added lines below:
209+
Now, edit the file to include the added lines below or use `cat` to view the
210+
existing `short_transfer.sh` file:
213211

214212
<pre class="file"><code>#!/bin/bash
215213
# short_transfer.sh: a short discovery job
@@ -222,7 +220,8 @@ printf "Job number is" $2
222220
printf "Contents of $1 is "; cat $1
223221
cat $1 > output$2.txt
224222
echo
225-
echo "Working hard...als -l $PWD
223+
echo "Working hard...
224+
ls -l $PWD
226225
sleep 20
227226
echo "Science complete!"
228227
</code></pre>
@@ -241,10 +240,12 @@ Once again, before submitting our job we should test it locally to ensure it run
241240

242241
<pre class="term"><code>$ ./short_transfer.sh input.txt
243242
Start time: Tue Dec 11 10:19:12 CST 2018
244-
Job is running on node: loginNN.osgconnect.net
245-
Job running as user: uid=100279(alice) gid=1000(users) groups=1000(users),5532(connect),5782(osg),7021(osg.ConnectTrain)
243+
Job is running on node: ap50.ux.osg-htc.org
244+
Job running as user: uid=54161(alice), gid=5782(osg) groups=5782(osg),5513(osg.login-nodes),7158(osg.OSG-Staff)
246245
Job is running in directory: /home/alice/tutorial-quickstart
247-
The command line argument is: Contents of input.txt is "Hello World"Working hard...total 28
246+
The command line argument is: Contents of input.txt is "Hello World"
247+
Working hard
248+
total 28
248249
drwxrwxr-x 2 alice users 34 Oct 15 09:37 Images
249250
-rw-rw-r-- 1 alice users 13 Oct 15 09:37 input.txt
250251
drwxrwxr-x 2 alice users 114 Dec 11 09:50 log
@@ -272,7 +273,7 @@ log = job.log
272273
error = job.error
273274
output = job.output
274275

275-
+JobDurationCategory = Medium
276+
+JobDurationCategory = "Medium"
276277

277278
request_cpus = 1
278279
request_memory = 1 GB
@@ -320,7 +321,7 @@ log = log/job.$(Cluster).log
320321
error = log/job.$(Cluster).$(Process)error
321322
output = log/job.$(Cluster).$(Process).output
322323

323-
+JobDurationCategory = Medium
324+
+JobDurationCategory = "Medium"
324325

325326
request_cpus = 1
326327
request_memory = 1 GB

Diff for: tutorial01.submit

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ error = short.error
1111
output = short.output
1212

1313
# This is the default category for jobs
14-
+JobDurationCategory = Medium
14+
+JobDurationCategory = "Medium"
1515

1616
# The below are good base requirements for first testing jobs on OSG,
1717
# if you don't have a good idea of memory and disk usage.

Diff for: tutorial02.submit

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ log = job.log
1111
error = job.error
1212
output = job.output
1313

14-
+JobDurationCategory = Medium
14+
+JobDurationCategory = "Medium"
1515

1616
request_cpus = 1
1717
request_memory = 1 GB

Diff for: tutorial03.submit

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ log = log/job.$(Cluster).log
99
error = log/job.$(Cluster).$(Process)error
1010
output = log/job.$(Cluster).$(Process).output
1111

12-
+JobDurationCategory = Medium
12+
+JobDurationCategory = "Medium"
1313

1414
request_cpus = 1
1515
request_memory = 1 GB

0 commit comments

Comments
 (0)