Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
37e896c7
Commit
37e896c7
authored
2 years ago
by
Martin Schroschk
Browse files
Options
Downloads
Patches
Plain Diff
Add note on checking the allocation
parent
d7f5adf4
No related branches found
Branches containing commit
No related tags found
2 merge requests
!679
Automated merge from preview to main
,
!659
Check ws allocation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/data_lifecycle/workspaces.md
+7
-1
7 additions, 1 deletion
doc.zih.tu-dresden.de/docs/data_lifecycle/workspaces.md
with
7 additions
and
1 deletion
doc.zih.tu-dresden.de/docs/data_lifecycle/workspaces.md
+
7
−
1
View file @
37e896c7
...
@@ -232,7 +232,7 @@ A batch job needs a directory for temporary data. This can be deleted afterwards
...
@@ -232,7 +232,7 @@ A batch job needs a directory for temporary data. This can be deleted afterwards
export GAUSS_SCRDIR=$(ws_allocate -F ssd $COMPUTE_DIR 7)
export GAUSS_SCRDIR=$(ws_allocate -F ssd $COMPUTE_DIR 7)
echo $GAUSS_SCRDIR
echo $GAUSS_SCRDIR
# Check allocation
# Check allocation
.
[ -z "${GAUSS_SCRDIR}" ] && echo "Error: Cannot allocate workspace ${COMPUTE_DIR}" && exit 1
[ -z "${GAUSS_SCRDIR}" ] && echo "Error: Cannot allocate workspace ${COMPUTE_DIR}" && exit 1
cd ${GAUSS_SCRDIR}
cd ${GAUSS_SCRDIR}
...
@@ -245,6 +245,12 @@ A batch job needs a directory for temporary data. This can be deleted afterwards
...
@@ -245,6 +245,12 @@ A batch job needs a directory for temporary data. This can be deleted afterwards
Likewise, other jobs can use temporary workspaces.
Likewise, other jobs can use temporary workspaces.
!!! attention "Check Workspace Allocation"
We highly recommand that you check the allocation of the workspace within your job file. If the
`ws_allocate` command fails, the variable `GAUSS_SCRDIR` is empty and you will `cd` to the wrong
directory and finaly, you might delete the wrong files and directories.
### Data for a Campaign
### Data for a Campaign
For a series of jobs or calculations that work on the same data, you should allocate a workspace
For a series of jobs or calculations that work on the same data, you should allocate a workspace
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment