Skip to content

Commit

Permalink
fixing issue with TMPDIR not being defined
Browse files Browse the repository at this point in the history
this now reproduces up to the same issue with overlay, which does not work
on my computer. But it might work on someone elses!

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Oct 21, 2021
1 parent 2d4b5f0 commit 70a30d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ $ salloc -N 1
$ spindle --no-mpi cat /proc/self/maps
```

Notice that ssh works - which spindle should be installed to use.
Before we run tests, let's get the hosts c1 and c2 added (it will ask you to confirm yes for each)

```bash
$ ssh c1
Expand All @@ -88,6 +88,13 @@ cd /spindle/testsuite
./runTests
```

If you need more debug output:

```bash
# 1, 2, 3
export SPINDLE_DEBUG=2
```

Optionally, you can better configure the cluster:

```bash
Expand Down
3 changes: 3 additions & 0 deletions docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ set -e
# Start ssh in all containers
systemctl enable sshd

# Ensure TMPDIR envar is defined for all users, spindle needs it
echo "export TMPDIR=/tmp" >> /etc/profile.d/tmpdir.sh

ssh-keygen -A
/usr/sbin/sshd -D &

Expand Down

0 comments on commit 70a30d2

Please sign in to comment.