CONDOR_CHIRP(1)
π CONDOR_CHIRP(1) π
okay so this is the condor_chirp page from the HTCondor Manual, and bestie, it's lowkey iconic. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
condor_chirp β access files or job ClassAd from an executing job
πΈ SYNOPSIS πΈ
condor_chirp <Chirp-Command>
π¦ DESCRIPTION π¦
So like, real talk? condor_chirp is not meant to be used as a command-line tool, no cap. It's most often invoked by an HTCondor job, while that job is executing. It reaches out and touches files or job ClassAd attributes on the access point. Files can be read, written, or removed. Job attributes can be read, and most attributes can be updated. periodt π
When it is invoked by an HTCondor job, the command-line arguments describe the operation to be performed. Every one of those arguments is described below in the Chirp Commands section. And whenever you see the words local and remote, know that they're described from the point of view of the executing job β so yes, the vibes are relative, iykyk π
If the input file name for put or write is a dash (-), condor_chirp uses standard input as the source. And if the output file name for fetch is a dash (-), condor_chirp writes to standard output instead of a local file. cute, right? π
Jobs that use condor_chirp must have the attribute WantIOProxy set to True in the job ClassAd. To do this, place
want_io_proxy = true
in the submit description file of the job. Don't skip this step, bestie, it's giving mandatory π
And also: condor_chirp only works for jobs run in the vanilla, parallel and java universes. no exceptions, fr fr.
π CHIRP COMMANDS π
fetch RemoteFileName LocalFileNameβ copies theRemoteFileNamefrom the access point over to the execute machine, naming itLocalFileName. πput [-mode mode] [-perm UnixPerm] LocalFileName RemoteFileNameβ copies theLocalFileNamefrom the execute machine over to the submit machine, naming itRemoteFileName.- the optional
-perm UnixPermargument describes the file access permissions in a Unix format;660is an example Unix format. - the optional
-mode modeargument is one or more of the following characters describing theRemoteFileNamefile:w, open for writing;a, force all writes to append;t, truncate before use;c, create the file, if it does not exist;x, fail ifcis given and the file already exists.
- the optional
remove RemoteFileNameβ removes theRemoteFileNamefile from the access point. bye girl πget_job_attr JobAttributeNameβ prints the named jobClassAdattribute to standard output.set_job_attr JobAttributeName AttributeValueβ sets the named jobClassAdattribute with the given attribute value.get_job_attr_delayed JobAttributeNameβ prints the named jobClassAdattribute to standard output, potentially reading the cached value from a recentset_job_attr_delayed. (cached queen energy β¨)set_job_attr_delayed JobAttributeName AttributeValueβ sets the named jobClassAdattribute with the given attribute value, but does not immediately synchronize the value with the submit side. It can take 15 minutes before the synchronization occurs. This has much less overhead than the non-delayed version. With this option, jobs do not needClassAdattributeWantIOProxyset. With this option, job attribute names are restricted to begin with the case sensitive substringChirp.ulog Messageβ appendsMessageto the job event log. πread [-offset offset] [-stride length skip] RemoteFileName Lengthβ readsLengthbytes fromRemoteFileName. Optionally, implement a stride by starting the read atoffsetand readinglengthbytes with a stride ofskipbytes.write [-offset offset] [-stride length skip] RemoteFileName LocalFileName [numbytes]β writes the contents ofLocalFileNametoRemoteFileName. Optionally, start writing to the remote file atoffsetand writelengthbytes with a stride ofskipbytes. If the optionalnumbytesfollowsLocalFileName, then the write will halt afternumbytesinput bytes have been written. Otherwise, the entire contents ofLocalFileNamewill be written.rmdir [-r ] RemotePathβ deletes the directory specified byRemotePath. If the optional-ris specified, recursively delete the entire directory. (careful, that's the "delete everything" button π)getdir [-l ] RemotePathβ lists the contents of the directory specified byRemotePath. If-lis specified, list all metadata as well.whoamiβ gets the user's current identity.whoareyou RemoteHostβ gets the identity ofRemoteHost. πlink [-s ] OldRemotePath NewRemotePathβ creates a hard link fromOldRemotePathtoNewRemotePath. If the optional-sis specified, create a symbolic link instead.readlink RemoteFileNameβ reads the contents of the file defined by the symbolic linkRemoteFileName.stat RemotePathβ gets metadata forRemotePath. Examines the target, if it is a symbolic link.lstat RemotePathβ gets metadata forRemotePath. Examines the file, if it is a symbolic link.statfs RemotePathβ gets file system metadata forRemotePath.access RemotePath Modeβ checks access permissions forRemotePath.Modeis one or more of the charactersr,w,x, orf, representing read, write, execute, and existence, respectively.chmod RemotePath UnixPermβ changes the permissions ofRemotePathtoUnixPerm.UnixPermdescribes the file access permissions in a Unix format;660is an example Unix format.chown RemotePath UID GIDβ changes the ownership ofRemotePathtoUIDandGID. Changes the target ofRemotePath, if it is a symbolic link.lchown RemotePath UID GIDβ changes the ownership ofRemotePathtoUIDandGID. Changes the link, ifRemotePathis a symbolic link.truncate RemoteFileName Lengthβ truncatesRemoteFileNametoLengthbytes.utime RemotePath AccessTime ModifyTimeβ changes the access toAccessTimeand modification time toModifyTimeofRemotePath.
π₯ EXAMPLES π₯
To copy a file from the access point to the execute machine while the user job is running, run
$ condor_chirp fetch remotefile localfile
To print to standard output the value of the Requirements expression from within a running job, run
$ condor_chirp get_job_attr Requirements
Note that the remote (submit-side) directory path is relative to the submit directory, and the local (execute-side) directory is relative to the current directory of the running program. important little detail bestie π«Ά
To append the word "foo" to a file called RemoteFile on the submit machine, run
$ echo foo | condor_chirp put -mode wa - RemoteFile
To append the message "Hello World" to the job event log, run
$ condor_chirp ulog "Hello World"
π EXIT STATUS π
condor_chirp will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure. so if you see a 1, that's the universe telling you something went wrong π
π AUTHOR π
HTCondor Team
β COPYRIGHT β
1990-2026, Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI, US. Licensed under the Apache License, Version 2.0.
and that's the whole thing, babes π
this was HTCondor Manual β CONDOR_CHIRP(1), dated Oct 16, 2026. go forth and chirp responsibly, mwah πβ¨
π¦ where this page comes from
- fedora 43: condor 25.14.1-1.fc43 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms