Skip to content

Commit

Permalink
update SLAC SDF instructions to align with S3DF
Browse files Browse the repository at this point in the history
S3DF defines the `SCRATCH` environment variable to be that user's scratch path located in /sdf/scratch so we can piggy-back on it to access the scratch area we should be using for our programs.
  • Loading branch information
tomeichlersmith authored Feb 8, 2024
1 parent 9508833 commit ae2fbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- Clone the repo: `git clone --recursive git@github.com:LDMX-Software/ldmx-sw.git`
- **Note**: You need to [setup an SSH-key with your GitHub account](https://docs.github.com/en/authentication/connecting-to-github-with-ssh) on the computer you are using.
- Setup the environment (in bash): `source ldmx-sw/scripts/ldmx-env.sh`
- **Note**: If you are working with ldmx-sw at SLAC's SDF, you will need to set the `TMPDIR` environment variable so that program running the container has more than ~5GB of space to write intermediate files. The default temporary space (`/tmp`) is often full of other files already. A decent replacement is `TMPDIR=/scratch/$USER` which gives the program plenty of room for the files it needs to manipulate.
- **Note**: If you are working with ldmx-sw at SLAC's SDF, you will need to set the `TMPDIR` environment variable so that program running the container has more than ~5GB of space to write intermediate files. The default temporary space (`/tmp`) is often full of other files already. A decent replacement is `TMPDIR=${SCRATCH}` which gives the program plenty of room for the files it needs to manipulate.
- Make a build directory: `cd ldmx-sw; mkdir build; cd build;`
- Configure the build: `ldmx cmake ..`
- Build and Install: `ldmx make install -j2`
Expand Down

0 comments on commit ae2fbde

Please sign in to comment.