Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Auger-less SWIF class #413

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

WIP: Auger-less SWIF class #413

wants to merge 1 commit into from

Conversation

baltzell
Copy link
Contributor

No description provided.

@baltzell
Copy link
Contributor Author

baltzell commented Aug 27, 2024

Here's a "minimal" example JSON for a 1-job SWIF workflow:

x.json

{
  "name": "rga-dr-newDCCl-5595",
  "site": "jlab/enp",
  "max_dispatched": 10000,
  "jobs": [
    {
      "constraint": "el9",
      "name": "rga-dr-newDCCl-5595-p0-d-00001",
      "phase": 0,
      "account": "hallb-pro",
      "partition": "production",
      "shell": "/bin/tcsh",
      "cpu_cores": 1,
      "ram_bytes": 4000000000,
      "disk_bytes": 4000000000,
      "time_secs": 21600,
      "command": [
        "unalias -a ; set echo; mkdir -p /farm_out/clas12/rga-dr-newDCCl-5595 ; touch /farm_out/clas12/rga-dr-newDCCl-5595 ;env | egrep -e SWIF -e SLURM ;echo $PWD ; pwd ;expr $PWD : ^/scratch/slurm && setenv JAVA_HOME \"/scigroup/cvmfs/hallb/clas12/soft/linux-64/jdk/17.0.2\" && setenv PATH \"${JAVA_HOME}/bin:${PATH}\" && setenv CCDB_CONNECTION \"mysql://[email protected]/clas12\" && setenv RCDB_CONNECTION \"mysql://[email protected]/rcdb\" && setenv MALLOC_ARENA_MAX \"2\" && ls -l && mkdir -p /volatile/clas12/user/caot/experiment/updateDCClustering_noCutHBConvTracking/rga_fall2018/decoded/005595  && (  set o=clas_005595.evio.00000.hipo ; set i=clas_005595.evio.00000 ; /work/clas12/users/caot/updateDCClustering_test/coatjava/coatjava/bin/decoder -c 2 -s -1.0000 -t 1.0000 -o $o $i && ls $o && if (`stat -c%s $o` < 100) rm -f $o && /work/clas12/users/caot/updateDCClustering_test/coatjava/coatjava/bin/hipo-utils -test $o || rm -f $o ; ls $o )"
      ],
      "tags": [
        {
          "name": "run",
          "value": "005595"
        },
        {
          "name": "file",
          "value": "00000"
        }
      ],
      "inputs": [
        {
          "local": "clas_005595.evio.00000",
          "remote": "mss:/mss/clas12/rg-a/data/clas_005595/clas_005595.evio.00000"
        }
      ],
      "outputs": [
        {
          "local": "clas_005595.evio.00000.hipo",
          "remote": "file:/volatile/clas12/user/caot/experiment/updateDCClustering_noCutHBConvTracking/rga_fall2018/decoded/005595//clas_005595.evio.00000.hipo"
        }
      ],
      "stdout": "/farm_out/clas12/rga-dr-newDCCl-5595/rga-dr-newDCCl-5595-p0-d-00001_r005595_f00000.out",
      "stderr": "/farm_out/clas12/rga-dr-newDCCl-5595/rga-dr-newDCCl-5595-p0-d-00001_r005595_f00000.err"
    }
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant